Is there a way to make a "touch" of the files from the main war to make them overwrite any other file on the other wars ?
This would allow to assign overwrite priority between war files. Regards, Ismael ----- Mensaje original ---- De: Brian E. Fox <[EMAIL PROTECTED]> Para: Maven Users List <[email protected]> Enviado: jueves, 11 de enero, 2007 20:02:52 Asunto: RE: maven-war-plugin overwriting options There is no control. See this issue: http://jira.codehaus.org/browse/MWAR-66 Even worse, the plugin compares the timestamps of the files individually without regard to which overlay they come from. That means today a file from A might win, but it someone edits a file from B, then B will start to win. It makes the newer versions of the war plugin unuseable for me. It's on my long list to tackle but haven't gotten to it yet. -----Original Message----- From: ismael [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 11:56 AM To: [email protected] Subject: maven-war-plugin overwriting options 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 ______________________________________________ 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ______________________________________________ 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]
