[ http://jira.codehaus.org/browse/MNG-2084?page=comments#action_58952 ]
Binyan commented on MNG-2084: ----------------------------- OK, the problem then lies in the fact that the docs at http://maven.apache.org/maven-model/maven.html state the following for the <finalName> element: finalName - The filename (including an extension, but with no path information) that the produced artifact will be called. The default value is artifactId-version.extension (where extension is derived from type). I'll see about submitting a patch to fix this this weekend. > Jar plugin does not respect the authority of the <finalName> element > -------------------------------------------------------------------- > > Key: MNG-2084 > URL: http://jira.codehaus.org/browse/MNG-2084 > Project: Maven 2 > Type: Bug > Versions: 2.0.2 > Reporter: Binyan > Assignee: Brett Porter > > > I have a simple jar plugin with the following build element > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > </plugins> > <finalName>foo.jas</finalName> > </build> > However, when building I get a final artifact with the name 'foo.jas.jar' -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
