Classifier goes in the top of your XML file, next to artifactId and groupId, not down in the war plugin configuration. At least, that's where I've put it when I've used it on some Jar files.
Give that a try. Wayne On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > The <classifier> feature appears not to be supported by the WAR plugin. Has > anyone got this working? > > I always see an installed artifact of the form: [finalname]-[version].war > I'm expecting to see: [finalname]-[version][classifier].war > > My pom.xml contains the following: > <plugins> > <plugin> > <artifactId>maven-war-plugin</artifactId> > <groupId>org.apache.maven.plugins</groupId> > <configuration> > <classifier>foobar</classifier> > </configuration> > </plugin> > </plugins> > > If I run maven with "--debug" I see no reference to "foobar" in the output. > > All help appreciated as use of classifier is essential to build for dev, > stage and live etc. > Regards, > Shaun. > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
