I am tring to build an ear file using Maven. I have subprojects to build
2 war files and an ear file. The ear file has dependencies on the 2 war
files. When I execute using reactor, maven executes the subprojects in
the order it finds them(alphabetically my ear subproject comes first)
instead of based upon the dependency chain. Beacuse the subprojects have
not yet been installed in the repository, the build fails.
Here is my maven.xml
<?xml version="1.0"?>
<project default="ipm:build-all" xmlns:j="jelly:core" xmlns:maven="jelly:maven">
<goal name="ipm:build-all">
<maven:reactor basedir="${basedir}" includes="*/project.xml"
goals="ipm-dist" banner="Building" ignoreFailures="false"/>
</goal>
</project>
Can someone explain to me how reactor determines the build order ?
ps- I am not familiar with werkz, I know there's a dependency there, but I
have no idea whta it is
Thanks
Louis M. Burroughs III