[
https://issues.jboss.org/browse/SRAMP-507?page=com.atlassian.jira.plugin....
]
Eric Wittmann updated SRAMP-507:
--------------------------------
Description:
Include a property mvn.snapshot.timestamp (in case the name contains the timestamp)
When deploying a snapshot artifact, maven will include a timestamp in the filename. The
maven repository facade *and* the s-ramp wagon should be updated to store this timestamp
info in a new s-ramp property (see above). In addition, the s-ramp wagon should no longer
*ever* attempt to update an artifact. Here is what it should do:
h4. Release artifacts
* If this artifact (GAV) already exists in s-ramp, fail
* If this artifact doesn't yet exist, add it
h4. Snapshot artifacts
* If this artifact (GAV + timestamp) already exists in s-ramp, fail
* If this artifact doesn't yet exist, add it along with its timestamp information
was:
Include a property mvn.snapshot.timestamp (in case the name contains the timestamp)
Create a new artifact every time a different timestamp of the same artifact is uploaded.
It would be exactly as maven is doing. Right now we update the content of the artifact
instead of creating a new one.
Modify way the snapshot artifacts are stored in s-ramp
------------------------------------------------------
Key: SRAMP-507
URL:
https://issues.jboss.org/browse/SRAMP-507
Project: S-RAMP
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: David virgil naranjo
Assignee: David virgil naranjo
Fix For: 0.5.0
Include a property mvn.snapshot.timestamp (in case the name contains the timestamp)
When deploying a snapshot artifact, maven will include a timestamp in the filename. The
maven repository facade *and* the s-ramp wagon should be updated to store this timestamp
info in a new s-ramp property (see above). In addition, the s-ramp wagon should no longer
*ever* attempt to update an artifact. Here is what it should do:
h4. Release artifacts
* If this artifact (GAV) already exists in s-ramp, fail
* If this artifact doesn't yet exist, add it
h4. Snapshot artifacts
* If this artifact (GAV + timestamp) already exists in s-ramp, fail
* If this artifact doesn't yet exist, add it along with its timestamp information
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)