« Return to Thread: uberwar plugin

Re: uberwar plugin

by Matt Wringe :: Rate this Message:

Reply to Author | View in Thread

What exactly is the problem?

On Thu, 2009-06-11 at 03:29 -0700, Rémy wrote:

> Hi,
>
> I use the uberwar plugin. I also use the
> http://maven.apache.org/plugins/maven-release-plugin/ Maven release plugin .
> When I run the prepare goal, It also update the first version dependency.
>
> <dependencies>
> <dependency>
> <groupId>fr.xxx</groupId>
> <artifactId>aaaaaaaa</artifactId>
> <type>war</type>
> <version>6.0.1-SNAPSHOT</version>
> </dependency>
> <dependency>
> <groupId>fr.xxx</groupId>
> <artifactId>bbbbbbbbb</artifactId>
> <type>war</type>
> <version>3.0.1-SNAPSHOT</version>
> </dependency>
> </dependencies>
>
> In the POM, I've got a reference to a parent POM, which contains the
> dependencies versions. If I remove versions in the child POM it don't work.

It sounds like you should be using dependencymanagement in your project
to specify the versions your whole project should be using.

> Thanks for your help.
>
> Don't work :
>
> <groupId>fr.xxx</groupId>
> <artifactId>ccccccccc</artifactId>
> <name>ccccccccccc</name>
> <packaging>uberwar</packaging>
> <version>2.0.1-SNAPSHOT</version>
> <parent>
> <groupId>fr.xxx</groupId>
> <artifactId>parent</artifactId>
> <version>4.2.1-SNAPSHOT</version>
> </parent>
> <build>
> <plugins>
> <plugin>
> <groupId>org.codehaus.cargo</groupId>
> <artifactId>cargo-maven2-plugin</artifactId>
> <extensions>true</extensions>
> <configuration>
> <descriptor>merge.xml</descriptor>
> </configuration>
> </plugin>
> </plugins>
> </build>
> <dependencies>
> <dependency>
> <groupId>fr.xxx</groupId>
> <artifactId>aaaaaaaa</artifactId>
> <type>war</type>
> </dependency>
> <dependency>
> <groupId>fr.xxx</groupId>
> <artifactId>bbbbbbbbbb</artifactId>
> <type>war</type>
> </dependency>
> </dependencies>
> </project>
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: uberwar plugin