Yeah I tried to specify a new project containing a pom.xml like the one
specified here:

http://maven.apache.org/plugins/maven-invoker-plugin/examples/prepare-build-env.html


But the a.parent project never gets triggered though. The master project/pom
file (basically just a folder containing a single pom.xml file):

    <build>
    <plugins>
      <plugin>
        <artifactId>maven-invoker-plugin</artifactId>
        <version>1.5</version>
        <configuration>
          <setupIncludes>
            <setupInclude>../a.parent/pom.xml</setupInclude>
            <setupInclude>../b.parent/pom.xml</setupInclude>
          </setupIncludes>
          <pomIncludes>
            <pomInclude>*/pom.xml</pomInclude>
          </pomIncludes>
        </configuration>
        <executions>
          <execution>
            <id>integration-test</id>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

I build the master project inside the folder using mvn clean install. I have
also tried to change :

              <goal>run</goal>
to
              <goal>install</goal>


The build succeeds but the a.parent and b.parent projects never gets
build/triggered.

--
View this message in context: 
http://maven.40175.n5.nabble.com/Modify-build-order-tp4369751p4369811.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to