Package org.apache.maven.archiva.repository

Examples of org.apache.maven.archiva.repository.ManagedRepositoryContent.deleteVersion()


            ref.setGroupId( groupId );
            ref.setArtifactId( artifactId );
            ref.setVersion( version );
           
            // delete from file system
            repoContent.deleteVersion( ref );
           
            ArtifactVersionsConstraint constraint = new ArtifactVersionsConstraint( repoId, groupId, artifactId, false );
            List<ArchivaArtifact> artifacts = null;
           
            try
View Full Code Here


            {
                throw new ContentNotFoundException( groupId + ":" + artifactId + ":" + version );
            }

            // delete from file system
            repository.deleteVersion( ref );

            File metadataFile = getMetadata( targetPath.getAbsolutePath() );
            ArchivaRepositoryMetadata metadata = getMetadata( metadataFile );

            updateMetadata( metadata, metadataFile, lastUpdatedTimestamp );
View Full Code Here

            ref.setGroupId( groupId );
            ref.setArtifactId( artifactId );
            ref.setVersion( version );
           
            // delete from file system
            repoContent.deleteVersion( ref );
           
            ArtifactVersionsConstraint constraint = new ArtifactVersionsConstraint( repoId, groupId, artifactId, false );
            List<ArchivaArtifact> artifacts = null;
           
            try
View Full Code Here

            {
                throw new ContentNotFoundException( groupId + ":" + artifactId + ":" + version );
            }

            // delete from file system
            repository.deleteVersion( ref );

            File metadataFile = getMetadata( targetPath.getAbsolutePath() );
            ArchivaRepositoryMetadata metadata = getMetadata( metadataFile );

            updateMetadata( metadata, metadataFile, lastUpdatedTimestamp );
View Full Code Here

            ref.setGroupId( groupId );
            ref.setArtifactId( artifactId );
            ref.setVersion( version );
                  
            // delete from file system
            repoContent.deleteVersion( ref );
           
            ArtifactVersionsConstraint constraint = new ArtifactVersionsConstraint( repoId, groupId, artifactId, false );
            List<ArchivaArtifact> artifacts = null;
           
            try
View Full Code Here

            ref.setGroupId( groupId );
            ref.setArtifactId( artifactId );
            ref.setVersion( version );
           
            // delete from file system
            repoContent.deleteVersion( ref );
           
            ArtifactVersionsConstraint constraint = new ArtifactVersionsConstraint( repoId, groupId, artifactId, false );
            List<ArchivaArtifact> artifacts = null;
           
            try
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.