Gaël Lalire created MDEP-488:
--------------------------------
Summary: Build-classpath for maven repository layout
Key: MDEP-488
URL: https://issues.apache.org/jira/browse/MDEP-488
Project: Maven Dependency Plugin
Issue Type: Improvement
Components: build-classpath
Affects Versions: 2.10
Reporter: Gaël Lalire
Build-classpath cannot create a classpath for a maven repository layout in
multimodules projects.
Indeed project.artifacts returns artifacts whose file may be from the local
repository or from your project target directories.
For last one the replace mechanism failed.
We could execute the build-classpath with invoker plugin as a workaround but it
is not clean.
I propose to make it possible with following configuration {code}
<outputFile>${project.build.directory}/unix-classpath.txt</outputFile>
<pathSeparator>:</pathSeparator>
<fileSeparator>/</fileSeparator>
<prefix>repository</prefix>
<useRepositoryLayout>true</useRepositoryLayout>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)