Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] way to identify which package dependency is being used by tycho to select a bundle?

Hi people,

I'm using Tycho eclipse-repository in my project and there is something annoying me. And I would like to understand. I don't have any POM or manifest referencing junit 3. I've used eclipse search tool to search all reference to junit...

But Tycho are selecting two versions of the same junit bundle and adding to my repository :(

[DEBUG] adding entry plugins/org.junit_3.8.2.v3_8_2_v20100427-1100.jar
[DEBUG] adding entry plugins/org.junit_4.8.2.v4_8_2_v20110321-1705.jar


I've activated the debug mode, but it is not help me because the two only reference to junit 3 that I can see is related to the build-helper-maven-plugin and maven-install-plugin:
[INFO] --- build-helper-maven-plugin:1.5:attach-artifact (attach-artifacts) @ org.jbehave.osgi.equinox.target ---
[DEBUG] org.codehaus.mojo:build-helper-maven-plugin:jar:1.5:
[DEBUG]    org.apache.maven:maven-model:jar:2.0.2:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.0.2:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.2:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.2:compile
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile [DEBUG] junit:junit:jar:3.8.2:test (scope managed from compile) (version managed from 3.8.1) [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.3.1 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.3.1
[DEBUG]   Imported: < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.3.1 [DEBUG] Included: org.apache.maven.plugins:maven-install-plugin:jar:2.3.1
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.5



Is there any way to identify which package dependency is being used by Tycho to select a bundle?

thanks for any tip

cheers

Cristiano


Back to the top