Hi,
i'm trying to run an execution of the exec plugin in a pom.
the build is the default profile:
* <plugin>*
* <groupId>org.codehaus.mojo</groupId>*
* <artifactId>exec-maven-plugin</artifactId>*
* <executions>*
* <execution>*
* <id>open-tarball</id>*
* <phase>validate</phase>*
* <goals>*
* <goal>exec</goal>*
* </goals>*
* </execution>*
* </executions>*
* <configuration>*
* <executable>tar</executable>*
* <arguments>*
* <argument>-zxvf</argument>*
* <argument>src/main/tar/${tar-ver}.tar.gz</argument>*
* <argument>-C</argument>*
* <argument>src/main/tar/</argument>*
* </arguments>*
* </configuration>*
* </plugin>*
i also have an execution in the pom parent:
*<profile>*
* <id>rpm-local</id>*
* <build>*
* <plugins>*
* <plugin>*
* <groupId>org.codehaus.mojo</groupId>*
* <artifactId>exec-maven-plugin</artifactId>*
* <executions>*
* <execution>*
* <id>build-local-yum-repo</id>*
* <phase>deploy</phase>*
* <goals>*
* <goal>exec</goal>*
* </goals>*
* </execution>*
* </executions>*
* <configuration>*
* <executable>ssh</executable>*
* <arguments>*
* <argument>${localYumRepo}</argument>*
* <argument>cd /rpm-home/;make</argument>*
* </arguments>*
* </configuration>*
* </plugin>*
* </plugins>*
* </build>*
* </profile>*
the pom overrides the execution on the parent pom, although its in a
different profile and have a diff ID.
anyone knows how to overcome this?
thanks,
--
Eyal Edri