Hello I'm trying to build an ear with maven 1.1-beta2 the structure is like this:
I have two levels of repertories: the root at top level with the main project.xml and 3 subdirectories with a project.xml inherited from the main project.xml. a jar directory where we can find the java sources. a war directory that depend on the jar build earlier an ear directory that depend on the war build when I build the subproject in the order: 1) jar (jar:install) 2) war (war:install) 3) ear (ear:install) there is no problem, but at top level I try to use the reactor to attain the 3 goals in the same order, I have an exception: " a cycle was detected". The reactor build the jar and the war successfully but failed in building the ear. at top level my maven.xml is: <?xml version="1.0" encoding="UTF-8"?> <project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven"> <goal name="multiproject:build"> <attainGoal name="multiproject:jar-install" /> <attainGoal name="multiproject:war-install" /> <attainGoal name="multiproject:ear-install" /> </goal> <goal name="multiproject:ear"> <maven:reactor basedir="." banner="Creating EAR files" includes="${maven.multiproject.ear.includes}" excludes="${maven.multiproject.ear.excludes}" postProcessing="true" goals="ear" ignoreFailures="${maven.multiproject.ignoreFailures}" /> </goal> <goal name="multiproject:ear-install"> <maven:reactor basedir="." banner="Installing EAR files" includes="${maven.multiproject.ear.includes}" excludes="${maven.multiproject.ear.excludes}" postProcessing="true" goals="ear:install" ignoreFailures="${maven.multiproject.ignoreFailures}" /> </goal> <goal name="multiproject:war-install"> <maven:reactor basedir="." banner="Installing WAR files" includes="${maven.multiproject.war.includes}" excludes="${maven.multiproject.war.excludes}" postProcessing="true" goals="war:install" ignoreFailures="${maven.multiproject.ignoreFailures}" /> </goal> <goal name="multiproject:jar-install"> <maven:reactor basedir="." banner="Installing JAR files" includes="${maven.multiproject.jar.includes}" excludes="${maven.multiproject.jar.excludes}" postProcessing="true" goals="jar:install" ignoreFailures="${maven.multiproject.ignoreFailures}" /> </goal> </project> Any help would be...very...helpful Florian