Export classpath entries to specific directory
----------------------------------------------
Key: MECLIPSE-355
URL: http://jira.codehaus.org/browse/MECLIPSE-355
Project: Maven 2.x Eclipse Plugin
Issue Type: Improvement
Components: PDE support
Environment: All
Reporter: Felix Knecht
Using pde=true flag to generate .classpath all dependencies not scoped
'provided' are added to the classpath and copied to the projects root directory
as well as added in the MANIFEST.MF Bundle-ClassPath.
The plugin should give to possibility to set a path where these dependencies
shall be copied to and also add this relative path to the MANIFEST.MF
E.g. in pom.xml
...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<pde>true</pde>
<dependencyExportPath>lib</dependencyExportPath>
</configuration>
</plugin>
</plugins>
</build>
...
<dependencies>
<dependency>
<groupdId>foo</groupId>
<artifactId>bar</groupId>
<version>1.0</version>
</dependency>
</dependencies>
Should be reflected in a .classpath entry
<classpathentry kind="lib" path="lib/bar-1.0.jar"/>
and in a MANIFEST.MF entry
Bundle-ClassPath: lib/bar-1.0.jar
And the dependencies shall be copied to {project.root}/lib instead of
{project.root}.
--
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