[ 
https://jira.codehaus.org/browse/MJAVADOC-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=333297#comment-333297
 ] 

ryenus commented on MJAVADOC-376:
---------------------------------

Right, such change would break backward compatibility, making it a simple thing 
but hard to make :-(

For my project I initial wrote it for java 7 and use new language features like 
diamond operator, multi-catch, try with resource, then I had to backport it to 
java 6 because not everyone can immediately upgrade to java 7. Therefore the 
source code must be changed by removing all those java 7 only stuff. Oh, 
there's all some some NIO classes new in java 7, like the Path class etc I had 
to remove as well.
                
> please add property 'maven.javadoc.classifier'
> ----------------------------------------------
>
>                 Key: MJAVADOC-376
>                 URL: https://jira.codehaus.org/browse/MJAVADOC-376
>             Project: Maven Javadoc Plugin
>          Issue Type: Improvement
>            Reporter: ryenus
>            Assignee: Olivier Lamy
>             Fix For: 2.9.2
>
>
> We need an easier way to customize the name of the generated javadoc jar file.
> * For maven-jar-plugin, there's a {{classifier}} attribute.
> * For maven-source-plugin, it's even better, there's a 
> {{maven.source.classifier}} property
> But for maven-javadoc-plugin, there's no chance to customize, the classifier 
> is hardcoded to "javadoc", making it very hard to customize the file name of 
> the generated javadoc jar, which is needed when a classifier is needed to 
> differentiate an artifact for multiple jdk vesions.
> By adding support for the {{maven.javadoc.classifier}} property, it would be 
> much more straightforward and consistent.
> Thanks

--
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