[ https://issues.apache.org/jira/browse/MDEP-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gaël Lalire updated MDEP-488: ----------------------------- Attachment: classpathPatch.diff The patch breaks checkstyle and tests but it should works > 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 > Attachments: classpathPatch.diff > > > 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)