[ http://jira.codehaus.org/browse/MDEP-17?page=all ]
Brett Porter updated MDEP-17:
-----------------------------
Fix Version: (was: 1.0)
> dependency-maven-plugin enhancement - directory per artifact
> ------------------------------------------------------------
>
> Key: MDEP-17
> URL: http://jira.codehaus.org/browse/MDEP-17
> Project: Maven 2.x Dependency Plugin
> Type: Improvement
> Reporter: Shash Chatterjee
> Assignee: Brian Fox
> Fix For: 1.1
>
>
> I need to expand the artifacts and then do some post-processing (merging) of
> files. Currently, the dependency plugin expands all JARs into the same
> output dir, so that files with duplicate names overwrite each other. It
> would be usefule to have an option to append the artifact name to the output
> dir.
> I can work around this by creating my own Mojo from
> AbstractFromDependenciesMojo and changing how destDir is calculated, but it
> would be nice if it was supported directly.
> In my impl., I simply used:
> File destDir = new File(this.outputDirectory.getPath() +
> File.separator + artifact.getArtifactId());
> But, in the generic case, DependencyUtil.getFormattedOutputDirectory(...)
> could probably be enhanced with support from a configuration value.
--
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