What do You need the sources and the download JARs for? Guess You like to be attached to the library in You IDE project, right?

For Eclipse I see 2 workarounds:

1. This is evil, but it worked for me in a little test project: Deploy the JARs (main artifact, sources and javadoc) to the repository. Then declare the same dependency twice in Your POM, one with 'system' scope and one with 'provided' scope - the 'system' scoped dependency node should be declared first.

2. Create a user library for the JAR in Eclipse and configure the maven-eclipse-plugin: - use the 'classpathContainers' parameter to add the library to the project classpath. - use the 'excludes' parameter to remove the 'system' scoped library from the project classpath instead.


On 01/02/11 14:34, Hauschild, Klaus (EXT) wrote:
Is there no other solution?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to