Hi,
i'm testing a setup with Maven and a combination of Java/Non Java Projects
(using RPM plugin etc.)...
I'm using a parent to bind some calls to exec plugin to particular phases:
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>initialize</id>
<phase>initialize</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>cmake</executable>
<arguments>
<argument>....</argument>
<argument>.</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>make</executable>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
Using the rpm-plugin in modules is working like a charm...so far so good....
but now i reached a little problem, cause i have a piling project which does
not need any calls to the above exec parts...but based on my configuration
they are of course called as defined....
Is there a way to prevent calling the exec's in a sub-module which inherits
the parent pom information....
Kind regards
Karl Heinz Marbaise
--
View this message in context:
http://old.nabble.com/Maven-Exec---Inheritance---Multi-Module-Build-tp26779913p26779913.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]