maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Commented] (MJAVADOC-431) allow javadoc jar to contain Maven descriptor
Date Thu, 01 Oct 2015 19:07:27 GMT


Michael Osipov commented on MJAVADOC-431:

I guess the reason is that the class JAR is intended to be the main artifact while the rest
are side artifacts. If the main contains that information, no nee to duplicate it.
What is your usecase actually?

> allow javadoc jar to contain Maven descriptor
> ---------------------------------------------
>                 Key: MJAVADOC-431
>                 URL:
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.10.3
>            Reporter: Peter lynch
>             Fix For: 2.10.4
> The javadoc:jar mojo explicitly prevents the Maven descriptor from being added to the
produced javadoc.jar file.
> 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

View raw message