Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] bin.include'ed JARs show up twice in dependency:list


I just observed the following oddity upon a mvn dependency:list:

> [INFO] --- maven-dependency-plugin:2.8:list (default-cli) @ org.example ---
> [INFO] 
> [INFO] The following files have been resolved:
> [INFO]    org.example:org.example:jar:lib/maven-core-3.0.4.jar:1.0.0.qualifier:system
> [INFO]    org.example:org.example.source:jar:lib/maven-core-3.0.4.jar:1.0.0.qualifier:system

The project in question uses the tycho-source-plugin and the following,
rather ordinary

> source.. = src/
> output.. = target/classes/
> bin.includes = META-INF/,\
>                lib/maven-core-3.0.4.jar,\
>                .

Now, having the same lib twice on the classpath looks odd but harmless.
Alas, I've just encountered a situation where it proves problematic: The
proguard-maven-plugin refuses to work if it sees the same JAR twice on
its classpath (part of some Proguard internal sanity checking).

So, the question is: Where does the org.example.source version of
lib/maven-core-3.0.4.jar come from and how do I get rid of it?

Best wishes,


Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940

Back to the top