[ 
https://jira.codehaus.org/browse/MJAR-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy reassigned MJAR-170:
---------------------------------

    Assignee: Olivier Lamy
    
> please add property 'maven.jar.classifier'
> ------------------------------------------
>
>                 Key: MJAR-170
>                 URL: https://jira.codehaus.org/browse/MJAR-170
>             Project: Maven JAR Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.4
>            Reporter: ryenus
>            Assignee: Olivier Lamy
>
> For maven-source-plugin, adding a classifier to the source jar file name is 
> as simple as:
> # setup property 
> <maven.source.classifier>jdk6-sources</maven.source.classifier>
> # setup the right version of Maven source plugin, e.g. version 2.2.1
> And that's enough.
> But to add a classifier to the binary jar file name, we must use the very 
> verbose way of configuring the maven-jar-plugin, as below:
> {code:xml}
> <plugin>
>       <artifactId>maven-jar-plugin</artifactId>
>       <executions>
>               <execution>
>                       <phase>package</phase>
>                       <goals>
>                               <goal>jar</goal>
>                       </goals>
>                       <configuration>
>                               <classifier>jdk6</classifier>
>                       </configuration>
>               </execution>
>       </executions>
> </plugin>
> {code}
> By adding support for the {{maven.jar.classifier}} property, it would be much 
> more straightforward and consistent.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to