Hi,
the first thing to check in your build is to make a clean build which
means empty local repository and make a
mvn clean package
to see if all dependencies etc. are correctly done otherwise you will
search for phantoms...
Furthermore if it is related to use maven-assembly-plugin which
references artifacts in descriptors you must be sure those artifacts
must be correctly referenced in the pom file as well...otherwise this
can result in such problems...
I assume you will get a failure in the above clean build test...
Kind regards
Karl Heinz Marbaise
On 3/26/15 10:47 AM, Wippermann, Peter wrote:
Hi everybody,
I have a complex multi module build with 171 modules in total and a nesting
depth of up to 4. Too speed up the build, I wanted to use the parallel build
feature of Maven 3.0.5 with 4 threads:
https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3
The build starts like normal and the reactor build order is correctly
identified (and is identical to the single threaded one).
e
The situation is repeatable and always the same: 2 aggregators have been built
successfully and 3 aggregator projects have failed.
I debugged Maven 3.0.5 to the point, that I think this is a bug, but wanted to
assure with you here first.
I suspect the initialisation of the Directed Acyclic Graph (DAG) in the
org.apache.maven.project.ProjectSorter Class to be faulty. I debugged it for
one of my multi module projects. There I can see that for all dependencies,
build plugins, build extensions and the parent, edges are added to the DAG. But
not so for the modules!?
Since the modules are not considered, these aggregator projects are built very
early and cause the assembly plugin to fail afterwards.
Any ideas? Is this a bug?
Best regards,
Peter Wippermann
Senior Consultant
IBM Global Business Services
Application Innovation Services - Insurance
--------------------------------------------------------------------------------
Tel: 0511-645 x58384
0151-15 16 1870
E-Mail: [email protected]
IBM Deutschland; Stockholmer Allee 30a; 44269 Dortmund
--------------------------------------------------------------------------------
IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter -
Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter
Scholz, Gregor Pillen, Ivo Koerner - Sitz der Gesellschaft: Ehningen /
Registergericht: Amtsgericht Stuttgart, HRB 14562 / WEEE-Reg.-Nr. DE 99369940
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]