[
http://jira.codehaus.org/browse/CONTINUUM-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_109748
]
Siarhei Dudzin commented on CONTINUUM-1519:
-------------------------------------------
We use default schedule, same happens if I just use "build all projects" in a
group, it just builds from top to bottom (thus list order defines the build
order).
We have the following dependencies (all flat structure):
A (parent), has modules listed in the following order: B, C, D, E
B (ear), has dependencies on: C (war), D(ejb)
C (war) has dependencies on D (type ejb, scope provided), E (type jar)
D (ejb) has dependencies on E (jar)
E (jar) has no other dependencies
As you can see there are not circular dependencies (otherwise maven would not
build I imagine).
The parent project has modules listed like this:
<module>../E</module>
<module>../D</module>
<module>../C</module>
<module>../B</module>
Each sub project has a relative path to the parent pom:
<relativePath>../A/pom.xml</relativePath>
I have the same project working in beta 2 only because it sorted the modules in
the right order (still if I add an extra module to the group it does not
reorder them but adds at the end thus forcing me to delete the projects from
continuum and re-add them). I have not figured another way to build flat
projects in continuum.
> Continuum does not respect build order for flat projects
> --------------------------------------------------------
>
> Key: CONTINUUM-1519
> URL: http://jira.codehaus.org/browse/CONTINUUM-1519
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.1-beta-3
> Environment: Windows XP/2003 Server, Maven 2.0.7
> Reporter: Siarhei Dudzin
> Priority: Blocker
>
> When adding maven 2 projects with flat project layout continuum sorts the
> projects build sequence by alphabet thus braking builds. Previous version did
> respect reactor build sequence and '--non-recursive' option allowed to build
> flat projects independently but still in the right order. This is a very
> blocking issue for us because we are forced atm to use flat project structure.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira