When we combine more than one war file as dependencies. Is there a way to
specify overwrite priority ?
We have three wars a.war, b.war and c.war and we are building a fourth war
(target.war) that will combine the three wars.
In case we get a collision between this wars, we want a.war to overwrite other
file changes (in b.war or c.war). How should we proceed ?
We have tested changing the order between a, b and c with no luck
pom.xml for final project is:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>client</groupId>
<artifactId>web</artifactId>
<packaging>war</packaging>
<version>1.2.3</version>
<name>web application for client</name>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>a</artifactId>
<version>1.0.0</version>
<type>war</type>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>b</artifactId>
<version>1.0.0</version>
<type>war</type>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>c</artifactId>
<version>1.0.0</version>
<type>war</type>
</dependency>
</dependencies>
<build>
<finalName>target</finalName>
<!-- Quitamos el directorio de ejemplos (samples)-->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0</version>
<configuration>
<dependentWarExcludes>
css/**,js/**
</dependentWarExcludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]