Hello,
I have following situation:
- Remote repository which deploy snapshots and releases
- I would like override remote repository artifact with local

After I deploy my snapshot artifact to libs-snapshot-local (unique)
and I go to simple browser I see for metadata.xml following line:
maven-metadata.xml    | libs-snapshot-local  fornax-libs-cache

and here are result when i click links from left to right

.../artifactory/libs-snapshot/org/fornax/cartridges/fornax-cartridges-sculptor-smartclient-bt/2.0.0-SNAPSHOT:maven-metadata.xml
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>org.fornax.cartridges</groupId>
  <artifactId>fornax-cartridges-sculptor-smartclient-bt</artifactId>
  <version>2.0.0-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>20101103.074954</timestamp>
      <buildNumber>4</buildNumber>
    </snapshot>
    <lastUpdated>20110119164645</lastUpdated>
  </versioning>
</metadata>

.../artifactory/libs-snapshot-local/org/fornax/cartridges/fornax-cartridges-sculptor-smartclient-bt/2.0.0-SNAPSHOT:maven-metadata.xml
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>org.fornax.cartridges</groupId>
  <artifactId>fornax-cartridges-sculptor-smartclient-bt</artifactId>
  <version>2.0.0-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>20110119.165000</timestamp>
      <buildNumber>1</buildNumber>
    </snapshot>
    <lastUpdated>20110119164645</lastUpdated>
  </versioning>
</metadata>

.../artifactory/fornax-libs-cache/org/fornax/cartridges/fornax-cartridges-sculptor-smartclient-bt/2.0.0-SNAPSHOT:maven-metadata.xml
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>org.fornax.cartridges</groupId>
  <artifactId>fornax-cartridges-sculptor-smartclient-bt</artifactId>
  <version>2.0.0-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>20101103.074954</timestamp>
      <buildNumber>4</buildNumber>
    </snapshot>
    <lastUpdated>20101103074954</lastUpdated>
  </versioning>
</metadata>

Isn't this wrong?
First file have wrong timestamp from second repository. It should be
from first. Interesting mixup.

Am I doing something wrong?

TNX

Pavel

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to