maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Ekushev (JIRA)" <>
Subject [jira] (MASSEMBLY-663) Allow to include transitive dependency attachments
Date Thu, 05 Sep 2013 14:15:52 GMT


Alexander Ekushev updated MASSEMBLY-663:

> Allow to include transitive dependency attachments
> --------------------------------------------------
>                 Key: MASSEMBLY-663
>                 URL:
>             Project: Maven Assembly Plugin
>          Issue Type: Improvement
>          Components: dependencySet
>    Affects Versions: 2.4
>            Reporter: Alexander Ekushev
>            Priority: Minor
>         Attachments:
> Say I want to create an assembly that contains jars, sources and javadocs for the module
and all its dependencies.
> Currently it works for jar dependencies only, but I cannot retrieve sources and javadocs
unless I mention them in the pom.
> In the attached example module b depends on module a and I has to specify its dependencies
3 times: as a jar, sources and javadoc.
> The result I am trying to assembly is:
> {noformat} 
> b-1.0
>     javadoc
>         a-1.0-javadoc.jar
>         b-1.0-javadoc.jar
>     lib
>         a-1.0.jar
>         b-1.0.jar
>     src
>         a-1.0-sources.jar
>         b-1.0-sources.jar
> {noformat}
> It would be convenient if I could mention the dependency only once. There can be variants
to make this happen:
> * Add a flag (e.g. "useTransitiveProjectAttachments") to include all transitive project
> * Add a classifier to add to dependencies (similar to "attachmentClassifier" in moduleSet/binaries)
> Please close this issue, if assembly-plugin is not suited for this purposes. Required
functionality can be achieved by using 
> dependency:copy-dependencies goal to download all dependencies - but it lacks the outputFileNameMapping
feature of the assembly plugin.

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:

View raw message