Sounds like a bug. If you could raise it in JIRA that'd be great.
On Fri, 17 Sep 2004 11:03:22 +0200, J�ran Stark <[EMAIL PROTECTED]> wrote: > Hi, > When I run war:war (maven-war-plugin-1.6) the first time it generates a > manifest file with a single Class-Path entry (correctly including my > dependencies), but running war:war a second time (with no clean-up done) > it generates multiple Class-Path entries. > > This problem does not occure when I build the EJB's > (maven-ejb-plugin-1.4). When I compared theese two I noticed that the > war-plugin does an update while the ejb-plugin does not. By removing the > update attribute the war-plugin works fine, for me anyway ;-) > > Since the project includes other developers and users I would like to > avoid making (local) changes in the plugin. A solution would be to do a > clean-up in a pre-goal to war:war. > > Has anyone else encouterd this problem or have any ideas? > > Cheers > Joran > > [manifest after first run] > > Manifest-Version: 1.0 > Ant-Version: Apache Ant 1.5.3 > Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.) > Class-Path: jakarta-oro-jena-2.0.jar icu4j.jar antlr.jar > Built-By: Joran > > Name: foo.bar > Specification-Title: foo-web > Specification-Version: 1.0 > Specification-Vendor: Apache Software Foundation > Implementation-Title: foo.bar > Implementation-Version: 1.0 > Implementation-Vendor: Apache Software Foundation > > [manifest after second run] > > Manifest-Version: 1.0 > Ant-Version: Apache Ant 1.5.3 > Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.) > Class-Path: jakarta-oro-jena-2.0.jar icu4j.jar antlr.jar > Class-Path: jakarta-oro-jena-2.0.jar icu4j.jar antlr.jar > Class-Path: jakarta-oro-jena-2.0.jar icu4j.jar antlr.jar > Built-By: Joran > > Name: foo.bar > Specification-Title: foo-web > Specification-Version: 1.0 > Specification-Vendor: Apache Software Foundation > Implementation-Title: foo.bar > Implementation-Version: 1.0 > Implementation-Vendor: Apache Software Foundation > > [a snippet from project.xml] > > <dependency> > <groupId>jena</groupId> > <artifactId>icu4j</artifactId> > <jar>icu4j.jar</jar> > <properties> > > <war.manifest.classpath>true</war.manifest.classpath> > </properties> > </dependency> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://www.multitask.com.au/people/dion/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
