mirror of https://github.com/apache/archiva.git
[MRM-1282] add some notes about snapshot handling in light of the new getArtifacts method
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892806 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eea9187d45
commit
efd9d33b06
|
@ -232,6 +232,7 @@ public class DeleteArtifactAction
|
||||||
|
|
||||||
for ( ArtifactMetadata artifact : artifacts )
|
for ( ArtifactMetadata artifact : artifacts )
|
||||||
{
|
{
|
||||||
|
// TODO: mismatch between artifact (snapshot) version and project (base) version here
|
||||||
if ( artifact.getVersion().equals( version ) )
|
if ( artifact.getVersion().equals( version ) )
|
||||||
{
|
{
|
||||||
metadataRepository.deleteArtifact( artifact.getRepositoryId(), artifact.getNamespace(),
|
metadataRepository.deleteArtifact( artifact.getRepositoryId(), artifact.getNamespace(),
|
||||||
|
|
|
@ -175,6 +175,7 @@ public class AdministrationServiceImpl
|
||||||
|
|
||||||
for ( ArtifactMetadata artifact : artifacts )
|
for ( ArtifactMetadata artifact : artifacts )
|
||||||
{
|
{
|
||||||
|
// TODO: mismatch between artifact (snapshot) version and project (base) version here
|
||||||
if ( artifact.getVersion().equals( version ) )
|
if ( artifact.getVersion().equals( version ) )
|
||||||
{
|
{
|
||||||
metadataRepository.deleteArtifact( artifact.getRepositoryId(), artifact.getNamespace(),
|
metadataRepository.deleteArtifact( artifact.getRepositoryId(), artifact.getNamespace(),
|
||||||
|
|
Loading…
Reference in New Issue