Cannot include Javadoc JAR dependencies by specifying 'jar:javadoc'
-------------------------------------------------------------------
Key: MASSEMBLY-552
URL: http://jira.codehaus.org/browse/MASSEMBLY-552
Project: Maven 2.x Assembly Plugin
Issue Type: Bug
Affects Versions: 2.2-beta-4
Environment: Ubuntu 10.10 (though also reproduces on Windows 7 and
Mac.) Java 1.6.0_24
Reporter: Dave Combs
Priority: Minor
Issue MASSEMBLY-146 mentions a solution to a problem of including a Javadoc JAR
file in a dependency by saying one can replace the 'jar' classifier with *
(e.g. com.kaazing.gateway.core:com.kaazing.gateway.client.java.core:jar:javadoc
must have 'jar' replaced with '*', or the JAR is not loaded into the assembly.
There is also a discussion about this in a StackOverflow blog entry
(http://stackoverflow.com/questions/1534289/maven-include-javadoc-jar-in-assembly),
where I found the '*' solution.
It seems broken to require that users have to know about the '*' trick in order
to get Javadoc JAR files included, so I wanted to file this issue specifically
to address that (MASSEMBLY-146 seems somewhat more general.) Other data
included in JARs do not seem to have this problem.
--
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