Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » CSPEX versionDesignator(Matching versions of maven dependencies)
CSPEX versionDesignator [message #508949] Wed, 20 January 2010 20:01 Go to next message
Oliver Normann is currently offline Oliver NormannFriend
Messages: 8
Registered: January 2010
Location: Berlin
Junior Member
Hello,

i'm trying to prebind jars from a maven repository using a CSPEX in my osgi-bundle.
So for example i defined this in my CSPEX:
<cs:dependencies>
<cs:dependency name="org.codehaus.groovy/groovy-all" componentType="maven" versionDesignator="1.6.2" versionType="Triplet" />
</cs:dependencies>

When i run the materialization the Buckminster console shows the following:

org.codehaus.groovy/groovy-all:maven/1.6.2#Triplet: Trying provider maven2(http://repo1.maven.org/maven2)
org.codehaus.groovy/groovy-all:maven/1.6.2#Triplet: Match 1.6.2#Triplet was rejected: 1.6.3#Triplet is a better match
org.codehaus.groovy/groovy-all:maven/1.6.2#Triplet: Match 1.6.3#Triplet was rejected: 1.6.4#Triplet is a better match
org.codehaus.groovy/groovy-all:maven/1.6.2#Triplet: Match 1.6.4#Triplet was rejected: 1.7-beta-1#Triplet is a better match
...
org.codehaus.groovy/groovy-all:maven/1.6.2#Triplet: Match 1.7-rc-2#Triplet was rejected: 1.7.0#Triplet is a better match
org.codehaus.groovy/groovy-all:maven/1.6.2#Triplet: Found match 1.7.0#Triplet
org.codehaus.groovy/groovy-all:maven/1.6.2#Triplet: Using provider maven2(http://repo1.maven.org/maven2)
Downloading http://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all /1.7.0/groovy-all-1.7.0.pom.md5
...

Could u please give me a hint how to get exactly version 1.6.2 and *not* the better match?

Thx

Oliver Normann
Re: CSPEX versionDesignator [message #508957 is a reply to message #508949] Wed, 20 January 2010 20:58 Go to previous message
Oliver Normann is currently offline Oliver NormannFriend
Messages: 8
Registered: January 2010
Location: Berlin
Junior Member
It took a while but with:

versionDesignator="[1.6.2,1.6.3)"

it worked.
Previous Topic:Simplifying RCP builds: Command to import features without cquery + rmap
Next Topic:How to move the product into a update site category
Goto Forum:
  


Current Time: Tue Apr 23 12:15:32 GMT 2024

Powered by FUDForum. Page generated in 0.02890 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top