i did some more tests using a webbrowser....

Using a "good" artifact: 
http://my.artifactory.host:8080/artifactory/repo/[groupId]/[artifactId]/

the Browser displayed (what i expect):
...
0.0.1-SNAPSHOT   libs-snapshots-local   
0.0.1                    libs-releases-local   
...

Using a "good" artifact to lookup maven-metadata.xml: 
http://my.artifactory.host:8080/artifactory/repo/[groupId]/[artifactId]/maven-metadata.xml

the Browser displayed (what i expect):
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>[groupId]</groupId>
  <artifactId>[artifactId]</artifactId>
  <version>0.0.1</version>
  <versioning>
    <latest>x.x.x-SNAPSHOT</latest>
    <release>y.y.y</release>

    <versions>
      <version>0.0.1</version>
       ....
      <version>0.0.1-SNAPSHOT</version>
       ....
    </versions>
    <lastUpdated>20100826095505</lastUpdated>
  </versioning>
</metadata>

ALL FINE :-) 
maven-metadata has both FINAL and SNAPSHOT versions listed ... 
==============================================================================

Using a "BAD" artifact: 
http://my.artifactory.host:8080/artifactory/repo/[bad.groupId]/[bad.artifactId]/

the Browser displayed (what i expect):
...
0.0.1-SNAPSHOT   libs-snapshots-local   
0.0.1                    libs-releases-local   
...

Using a "BAD" artifact to lookup maven-metadata.xml: 
http://my.artifactory.host:8080/artifactory/repo/[bad.groupId]/[bad.artifactId]/maven-metadata.xml

the Browser displayed (!!!!!):
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>[bad.groupId]</groupId>
  <artifactId>[bad.artifactId]</artifactId>
  <version>0.0.1</version>
  <versioning>
    <latest>0.0.1</latest>
    <release>0.0.1</release>

    <versions>
      <version>0.0.1</version>
       ....
    </versions>
    <lastUpdated>20100826095505</lastUpdated>
  </versioning>
</metadata>

==> NO SNAPSHOT version declared in maven-metadata.xml !!!!, but if you see
there are deployed And downloadable artifacts in artifactory:
http://my.artifactory.host:8080/artifactory/repo/[bad.groupId]/[bad.artifactId]/0.0.1-SNAPSHOT/[bad.artifactId]-0.0.1-SNAPSHOT.jar
 
WORKS!!!! and
http://my.artifactory.host:8080/artifactory/repo/[bad.groupId]/[bad.artifactId]/0.0.1-SNAPSHOT/maven-metadata.xml
FAIL!!!! -> HTTP Status 404 - Maven metadata not found for
'[bad.groupId]/[bad.artifactId]/0.0.1-SNAPSHOT/maven-metadata.xml'.
==============================================================================

Anny ideas to "fix/correct" the missing/corrupted maven-metadata.xml ????


regards Oliver
-- 
View this message in context: 
http://forums.jfrog.org/convert-formerly-unique-snapshot-repository-to-a-non-unique-snapshot-repository-tp5461423p5465419.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to