Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » materializing maven SNAPSHOT versions
materializing maven SNAPSHOT versions [message #385383] Mon, 18 May 2009 14:41 Go to next message
Alex Chatziparaskewas is currently offline Alex ChatziparaskewasFriend
Messages: 52
Registered: July 2009
Member
Hi

I am struggeling in materializing a SNAPSHOT version from a maven
repository. The searchPath directive:

<provider xsi:type="mp:MavenProvider" readerType="maven2"
componentTypes="maven,osgi.bundle" mutable="false" source="false">
<uri
format="http://s3.amazonaws.com/maven.springframework.org/osgi"/>
<mp:mappings>
<mp:entry name="org.springframework.osgi.catalina.osgi"
groupId="org.springframework.osgi" artifactId="catalina.osgi"/>
</mp:mappings>
</provider>

There are two SNAPSHOT versions in the repository: 5.5.23 and 6.0.16. If I
do not specify any version, buckminster successfully resolves
6.0.16-SNAPSHOT. However, I have so far been unable persuading buckminster
in picking the 5.5.23 snapshot version for my purposes. Any help would be
greatly appriciated.

Thanks & Regards
Alex

PS: Use the following URL to browse the maven repository:
http://s3.amazonaws.com/maven.springframework.org/osgi
Re: materializing maven SNAPSHOT versions [message #385384 is a reply to message #385383] Mon, 18 May 2009 20:43 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Alex,
A SNAPSHOT is transformed into a build-number + timestamp before it's used in comparisons Consequently, asking directly
for, say 5.5.23-SNAPSHOT would not work. According to:

http://s3.amazonaws.com/maven.springframework.org/osgi/org/s pringframework/osgi/catalina.osgi/5.5.23-SNAPSHOT/maven-meta data.xml

it will be translated into 5.5.23-20081003.025534-17. If you however try [5.5.23,5.5.24) then the SNAPSHOT should be
included in the range and since no release exists of this component, it will be the highest (and only) version found in
that range.

Regards,
Thomas Hallgren


Alex Chatziparaskewas wrote:
> Hi
>
> I am struggeling in materializing a SNAPSHOT version from a maven
> repository. The searchPath directive:
>
> <provider xsi:type="mp:MavenProvider" readerType="maven2"
> componentTypes="maven,osgi.bundle" mutable="false" source="false">
> <uri
> format="http://s3.amazonaws.com/maven.springframework.org/osgi"/>
> <mp:mappings>
> <mp:entry name="org.springframework.osgi.catalina.osgi"
> groupId="org.springframework.osgi" artifactId="catalina.osgi"/>
> </mp:mappings>
> </provider>
>
> There are two SNAPSHOT versions in the repository: 5.5.23 and 6.0.16. If
> I do not specify any version, buckminster successfully resolves
> 6.0.16-SNAPSHOT. However, I have so far been unable persuading
> buckminster in picking the 5.5.23 snapshot version for my purposes. Any
> help would be greatly appriciated.
>
> Thanks & Regards
> Alex
>
> PS: Use the following URL to browse the maven repository:
> http://s3.amazonaws.com/maven.springframework.org/osgi
>
>
>
Re: materializing maven SNAPSHOT versions [message #385463 is a reply to message #385384] Tue, 19 May 2009 05:55 Go to previous messageGo to next message
Alex Chatziparaskewas is currently offline Alex ChatziparaskewasFriend
Messages: 52
Registered: July 2009
Member
Hi Thomas

The problem is though, that this plugin is referenced by a feature, where
I have to use the 'exact' version number. So I have tried setting it to
0.0.0 in the feature and specified the dependency [5.5.23,5.5.24) in the
cspex, but no success. Buckminster refuses to resolve it.

Regards
Alex

Thomas Hallgren wrote:

> Hi Alex,
> A SNAPSHOT is transformed into a build-number + timestamp before it's used
in comparisons Consequently, asking directly
> for, say 5.5.23-SNAPSHOT would not work. According to:

>
http://s3.amazonaws.com/maven.springframework.org/osgi/org/s pringframework/osgi/catalina.osgi/5.5.23-SNAPSHOT/maven-meta data.xml

> it will be translated into 5.5.23-20081003.025534-17. If you however try
[5.5.23,5.5.24) then the SNAPSHOT should be
> included in the range and since no release exists of this component, it will
be the highest (and only) version found in
> that range.

> Regards,
> Thomas Hallgren


> Alex Chatziparaskewas wrote:
>> Hi
>>
>> I am struggeling in materializing a SNAPSHOT version from a maven
>> repository. The searchPath directive:
>>
>> <provider xsi:type="mp:MavenProvider" readerType="maven2"
>> componentTypes="maven,osgi.bundle" mutable="false" source="false">
>> <uri
>> format="http://s3.amazonaws.com/maven.springframework.org/osgi"/>
>> <mp:mappings>
>> <mp:entry name="org.springframework.osgi.catalina.osgi"
>> groupId="org.springframework.osgi" artifactId="catalina.osgi"/>
>> </mp:mappings>
>> </provider>
>>
>> There are two SNAPSHOT versions in the repository: 5.5.23 and 6.0.16. If
>> I do not specify any version, buckminster successfully resolves
>> 6.0.16-SNAPSHOT. However, I have so far been unable persuading
>> buckminster in picking the 5.5.23 snapshot version for my purposes. Any
>> help would be greatly appriciated.
>>
>> Thanks & Regards
>> Alex
>>
>> PS: Use the following URL to browse the maven repository:
>> http://s3.amazonaws.com/maven.springframework.org/osgi
>>
>>
>>
Re: materializing maven SNAPSHOT versions [message #385464 is a reply to message #385463] Tue, 19 May 2009 07:05 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Alex,
Are you able to resolve the exact version, i.e. 5.5.23-20081003.025534-17 ?
Can you provide a debug trace of the resolution?

- thomas


Alex Chatziparaskewas wrote:
> Hi Thomas
>
> The problem is though, that this plugin is referenced by a feature,
> where I have to use the 'exact' version number. So I have tried setting
> it to 0.0.0 in the feature and specified the dependency [5.5.23,5.5.24)
> in the cspex, but no success. Buckminster refuses to resolve it.
> Regards
> Alex
>
> Thomas Hallgren wrote:
>
>> Hi Alex,
>> A SNAPSHOT is transformed into a build-number + timestamp before it's
>> used
> in comparisons Consequently, asking directly
>> for, say 5.5.23-SNAPSHOT would not work. According to:
>
>>
> http://s3.amazonaws.com/maven.springframework.org/osgi/org/s pringframework/osgi/catalina.osgi/5.5.23-SNAPSHOT/maven-meta data.xml
>
>
>> it will be translated into 5.5.23-20081003.025534-17. If you however try
> [5.5.23,5.5.24) then the SNAPSHOT should be
>> included in the range and since no release exists of this component,
>> it will
> be the highest (and only) version found in
>> that range.
>
>> Regards,
>> Thomas Hallgren
>
>
>> Alex Chatziparaskewas wrote:
>>> Hi
>>>
>>> I am struggeling in materializing a SNAPSHOT version from a maven
>>> repository. The searchPath directive:
>>>
>>> <provider xsi:type="mp:MavenProvider" readerType="maven2"
>>> componentTypes="maven,osgi.bundle" mutable="false" source="false">
>>> <uri
>>> format="http://s3.amazonaws.com/maven.springframework.org/osgi"/>
>>> <mp:mappings>
>>> <mp:entry
>>> name="org.springframework.osgi.catalina.osgi"
>>> groupId="org.springframework.osgi" artifactId="catalina.osgi"/>
>>> </mp:mappings>
>>> </provider>
>>>
>>> There are two SNAPSHOT versions in the repository: 5.5.23 and 6.0.16.
>>> If I do not specify any version, buckminster successfully resolves
>>> 6.0.16-SNAPSHOT. However, I have so far been unable persuading
>>> buckminster in picking the 5.5.23 snapshot version for my purposes.
>>> Any help would be greatly appriciated.
>>>
>>> Thanks & Regards
>>> Alex
>>>
>>> PS: Use the following URL to browse the maven repository:
>>> http://s3.amazonaws.com/maven.springframework.org/osgi
>>>
>>>
>>>
>
>
Previous Topic:Materialized directory structure
Next Topic:Issue with Buckminster build after upgrade to Eclipse RC1 Platform
Goto Forum:
  


Current Time: Fri Apr 26 00:43:48 GMT 2024

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

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

Back to the top