I have a multi module maven project with a submodule which contains a jboss-esb artifact.
In the parent project, I've set an assembly configuration that should include the esb archive built in the submodule, but maven raised the following error:
Error creating assembly: Artifact: my-group:my-artifact:jboss-esb:my-version (included by module) does not have an artifact with a file. Please ensure the package phase is run before the assembly is generated.
But I see in the console output logs that the esb archive had been built before the assemby job.