Just so I'm clear, you mean that you uploaded 3 or 4 different snapshot
versions? Eg. 0.1-SNAPSHOT, 0.2-SNAPSHOT, 0.3-SNAPSHOT, etc.. ?

If you use non-snapshot versions, does it work fine?

If so, I think you may be experiencing the same issue I'm seeing with
Artifactory.


On Fri, May 13, 2011 at 1:24 AM, Markus Schlichting <
[email protected]> wrote:

>  Hi Eric,
> yes, during my attepts to get it working, I published/uploaded multiple
> snapshot versions, so I tried it with one, two, three and four versions
> without noticing any difference.
>
> cheers
>  Markus
>
> Am 13.05.2011 09:26, schrieb Eric Berry:
>
> Hi Markus, out of curiosity did you happen to have 2 snapshots in your
> repository while it wasn't working?
>
> On Thu, May 12, 2011 at 11:57 PM, Markus Schlichting <
> [email protected]> wrote:
>
>>  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
>>
>>
>>
>>  --
>>   [image: Canoo Engineering AG - your provider for business web
>> solutions] <http://www.canoo.com/>
>>   Markus Schlichting
>>
>> Canoo Engineering AG
>> Kirschgartenstrasse 5
>> CH-4051 Basel
>>  Tel:  +41 61 228 94 44 <%2B41%2061%20228%2094%2044>
>> Fax: +41 61 228 94 49 <%2B41%2061%20228%2094%2049>
>>  [email protected]
>> http://www.canoo.com
>>
>
>
>
> --
> Learn from the past. Live in the present. Plan for the future.
> Blog: http://eric-berry.blogspot.com
> jEdit <http://www.jedit.org> - Programmer's Text Editor
> Bazaar <http://bazaar.canonical.com> - Version Control for Humans
>
>
>
> --
>  [image: Canoo Engineering AG - your provider for business web solutions]
> <http://www.canoo.com/>
>  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
>



-- 
Learn from the past. Live in the present. Plan for the future.
Blog: http://eric-berry.blogspot.com
jEdit <http://www.jedit.org> - Programmer's Text Editor
Bazaar <http://bazaar.canonical.com> - Version Control for Humans

<<image/png>>

<<canoo_signature.png>>

Reply via email to