maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MJAVADOC-431) Allow Javadoc Jar to contain Maven descriptor
Date Fri, 01 Jan 2016 00:25:39 GMT

    [ https://issues.apache.org/jira/browse/MJAVADOC-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15076198#comment-15076198
] 

Michael Osipov edited comment on MJAVADOC-431 at 1/1/16 12:25 AM:
------------------------------------------------------------------

[~peterlynch], the entire solution has one drawback. The {{pom.properties}} does not contain
the type of the file and the classifier. Relying on the filename is a bad thing. If you need
this to be feature-complete for Javadoc JAR and Source JAR, you need that information too.
See MSHARED-487.


was (Author: michael-o):
[~peterlynch], the entire solution has one drawback. The {{pom.properties}} does not contain
the type of the file and the classifier. Relying on the filename is a bad thing. If you need
this to be feature-complete for Javadoc JAR and Source JAR, you need that information too.

> Allow Javadoc Jar to contain Maven descriptor
> ---------------------------------------------
>
>                 Key: MJAVADOC-431
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-431
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.10.3
>            Reporter: Peter lynch
>            Assignee: Michael Osipov
>             Fix For: 2.10.4
>
>
> The javadoc:jar mojo explicitly prevents the Maven descriptor from being added to the
produced javadoc.jar file.
> https://github.com/apache/maven-plugins/blob/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java#L299-299
> I could not find an explanation or technical reason why this is done.
> Adding the maven descriptor to the javadoc jar can help expose valuable information about
the build that produced it and should be at the discretion of the build process.
> Expected:
> - allow the archiver used to create the javadoc jar to respect the plexus archiver configuration
if it is configured to include the Maven descriptor.
> - preserve the default behaviour of not including the Maven descriptor, for (unknown)
backwards compatibility reasons only



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message