Hi Marcus, 

I think your repo Manager should do the Mapping, at least artifactory does it 
for us. I have no experience with Nexus. 
Regards,


--
Rene Groeschke

Email:  [email protected]
twitter: @breskeby
Blog:    http://www.breskeby.com

Am 13.05.2011 um 08:57 schrieb Markus Schlichting 
<[email protected]>:

> Hi Rene,
> 
> I feel ashamed right now. It tried it again and its working. Strange - maybe 
> it's about the snapshot timeout and it starts to handle even new snapshots 
> properly after 24h ....
> 
> What wasn't working:
> 
> Gradle just can't download the latest (SNAPSHOT) version. It is trying by the 
> URL 
> http://nexus.canoo.local/content/groups/public/com/canoo/project/ULCApplication/0.2-SNAPSHOT/ULCApplication-0.2-SNAPSHOT.pom
> 
> but got an 
> "The server has not found anything matching the request URI"
> (what i still get using plain http, eg via my browser). 
> 
> Do you know who is "responsible" to convert the -SNAPSHOT into tha actual 
> version? is it handeled by the server (like the REST API ) or is the client 
> fetching the maven-metadata.xml and parsing the snapshot version from it?
> 
> cheers
>  Markus
> 
> Am 12.05.2011 17:56, schrieb Rene Groeschke:
>> 
>> Hi Markus,
>> What Problem do you have? Cant you Access the repo in General or don't you 
>> get the latest Updates? In Case #2 you may Set the snapshot timout of your 
>> maveRepo to 0, otherwise    The Default timeout is 24h i think.
>> 
>> --
>> Rene Groeschke
>> 
>> Email:  [email protected]
>> twitter: @breskeby
>> Blog:    http://www.breskeby.com
>> 
>> Am 12.05.2011 um 17:39 schrieb Markus Schlichting 
>> <[email protected]>:
>> 
>>> Hi,
>>> is anyone around using the "LATEST" or "SNAPSHOT" Feature of Maven to 
>>> retrieve the latest version of the required artifacts from a Sonatype Nexus 
>>> Server?
>>> 
>>> Using 
>>> 
>>> dependencies {
>>>     compile "com.canoo.project:ULCApplication:0.2-SNAPSHOT"
>>> }
>>> 
>>> with 
>>> 
>>> repositories {
>>>         mavenRepo urls: "http://nexus.canoo.local/content/groups/public
>>>     }
>>> 
>>> doesn't work out.
>>> 
>>> 
>>> Accessing nexus via the REST API metioned in 
>>> https://issues.sonatype.org/browse/NEXUS-1374 and 
>>> https://docs.sonatype.com/display/SPRTNXOSS/Nexus+FAQ#NexusFAQ-Q.HowcanIretrieveasnapshotifIdon%27tknowtheexactfilename%3F
>>> 
>>> does work.
>>> 
>>> Has anyone a hint how I can get this to work with gradle?
>>> 
>>> thank you in advance,
>>> cheers
>>>  Markus
>> 
> 
> 
> -- 
> <canoo_signature.png>
> Markus Schlichting
> 
> Canoo Engineering AG
> Kirschgartenstrasse 5
> CH-4051 Basel
> Tel:  +41 61 228 94 44
> Fax: +41 61 228 94 49
> [email protected]
> http://www.canoo.com

Reply via email to