mirror of https://github.com/apache/archiva.git
fix deletion of snapshot artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1351877 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
037ace3b39
commit
74077123a7
|
@ -98,6 +98,7 @@ import java.util.Collection;
|
|||
import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.TimeZone;
|
||||
|
||||
/**
|
||||
|
@ -653,6 +654,8 @@ public class DefaultRepositoriesService
|
|||
|
||||
// TODO more control on artifact fields
|
||||
|
||||
boolean snapshotVersion = VersionUtil.isSnapshot( artifact.getVersion() );
|
||||
|
||||
RepositorySession repositorySession = repositorySessionFactory.createSession();
|
||||
try
|
||||
{
|
||||
|
@ -670,6 +673,13 @@ public class DefaultRepositoriesService
|
|||
|
||||
ManagedRepositoryContent repository = repositoryFactory.getManagedRepositoryContent( repositoryId );
|
||||
|
||||
ArtifactReference artifactReference = new ArtifactReference();
|
||||
artifactReference.setArtifactId( artifact.getArtifactId() );
|
||||
artifactReference.setGroupId( artifact.getGroupId() );
|
||||
artifactReference.setVersion( artifact.getVersion() );
|
||||
artifactReference.setClassifier( artifact.getClassifier() );
|
||||
artifactReference.setType( artifact.getPackaging() );
|
||||
|
||||
MetadataRepository metadataRepository = repositorySession.getRepository();
|
||||
|
||||
String path = repository.toMetadataPath( ref );
|
||||
|
@ -681,12 +691,7 @@ public class DefaultRepositoriesService
|
|||
throw new ArchivaRestServiceException( "You must configure a type/packaging when using classifier",
|
||||
400, null );
|
||||
}
|
||||
ArtifactReference artifactReference = new ArtifactReference();
|
||||
artifactReference.setArtifactId( artifact.getArtifactId() );
|
||||
artifactReference.setGroupId( artifact.getGroupId() );
|
||||
artifactReference.setVersion( artifact.getVersion() );
|
||||
artifactReference.setClassifier( artifact.getClassifier() );
|
||||
artifactReference.setType( artifact.getPackaging() );
|
||||
|
||||
repository.deleteArtifact( artifactReference );
|
||||
|
||||
}
|
||||
|
@ -705,8 +710,10 @@ public class DefaultRepositoriesService
|
|||
|
||||
// TODO: this should be in the storage mechanism so that it is all tied together
|
||||
// delete from file system
|
||||
repository.deleteVersion( ref );
|
||||
|
||||
if ( !snapshotVersion )
|
||||
{
|
||||
repository.deleteVersion( ref );
|
||||
}
|
||||
File metadataFile = getMetadata( targetPath.getAbsolutePath() );
|
||||
ArchivaRepositoryMetadata metadata = getMetadata( metadataFile );
|
||||
|
||||
|
@ -716,6 +723,16 @@ public class DefaultRepositoriesService
|
|||
metadataRepository.getArtifacts( repositoryId, artifact.getGroupId(), artifact.getArtifactId(),
|
||||
artifact.getVersion() );
|
||||
|
||||
if ( snapshotVersion )
|
||||
{
|
||||
Set<ArtifactReference> related = repository.getRelatedArtifacts( artifactReference );
|
||||
log.debug( "related: {}", related );
|
||||
for ( ArtifactReference artifactRef : related )
|
||||
{
|
||||
repository.deleteArtifact( artifactRef );
|
||||
}
|
||||
}
|
||||
|
||||
for ( ArtifactMetadata artifactMetadata : artifacts )
|
||||
{
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ import org.apache.archiva.rest.api.model.VersionsList;
|
|||
import org.apache.archiva.rest.api.services.BrowseService;
|
||||
import org.apache.archiva.rest.api.services.ManagedRepositoriesService;
|
||||
import org.apache.archiva.rest.api.services.RepositoriesService;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.cxf.jaxrs.client.ServerWebApplicationException;
|
||||
import org.fest.assertions.Assertions;
|
||||
import org.junit.Test;
|
||||
|
@ -352,4 +353,110 @@ public class RepositoriesServiceTest
|
|||
return getTestManagedRepository( "TEST", "test-repo" );
|
||||
}
|
||||
|
||||
|
||||
static final String SNAPSHOT_REPO_ID = "snapshot-repo";
|
||||
|
||||
@Test
|
||||
public void deleteSnapshot()
|
||||
throws Exception
|
||||
{
|
||||
File targetRepo = initSnapshotRepo();
|
||||
try
|
||||
{
|
||||
BrowseService browseService = getBrowseService( authorizationHeader, false );
|
||||
List<Artifact> artifacts =
|
||||
browseService.getArtifactDownloadInfos( "org.apache.archiva.redback.components", "spring-quartz",
|
||||
"2.0-SNAPSHOT", SNAPSHOT_REPO_ID );
|
||||
|
||||
log.info( "artifacts: {}", artifacts );
|
||||
|
||||
Assertions.assertThat( artifacts ).isNotNull().isNotEmpty().hasSize( 10 );
|
||||
|
||||
RepositoriesService repositoriesService = getRepositoriesService( authorizationHeader );
|
||||
|
||||
File artifactFile = new File( targetRepo,
|
||||
"org/apache/archiva/redback/components/spring-quartz/2.0-SNAPSHOT/spring-quartz-2.0-20120618.214127-1.jar" );
|
||||
|
||||
File artifactFilemd5 = new File( targetRepo,
|
||||
"org/apache/archiva/redback/components/spring-quartz/2.0-SNAPSHOT/spring-quartz-2.0-20120618.214127-1.jar.md5" );
|
||||
|
||||
File artifactFilepom = new File( targetRepo,
|
||||
"org/apache/archiva/redback/components/spring-quartz/2.0-SNAPSHOT/spring-quartz-2.0-20120618.214127-1.pom" );
|
||||
|
||||
Assertions.assertThat( artifactFile ).exists();
|
||||
Assertions.assertThat( artifactFilemd5 ).exists();
|
||||
Assertions.assertThat( artifactFilepom ).exists();
|
||||
|
||||
// we delete only one snapshot
|
||||
Artifact artifact =
|
||||
new Artifact( "org.apache.archiva.redback.components", "spring-quartz", "2.0-20120618.214127-1" );
|
||||
artifact.setPackaging( "jar" );
|
||||
artifact.setRepositoryId( SNAPSHOT_REPO_ID );
|
||||
artifact.setContext( SNAPSHOT_REPO_ID );
|
||||
repositoriesService.deleteArtifact( artifact );
|
||||
|
||||
artifacts =
|
||||
browseService.getArtifactDownloadInfos( "org.apache.archiva.redback.components", "spring-quartz",
|
||||
"2.0-SNAPSHOT", SNAPSHOT_REPO_ID );
|
||||
|
||||
log.info( "artifacts: {}", artifacts );
|
||||
|
||||
Assertions.assertThat( artifacts ).isNotNull().isNotEmpty().hasSize( 8 );
|
||||
|
||||
Assertions.assertThat( artifactFile ).doesNotExist();
|
||||
Assertions.assertThat( artifactFilemd5 ).doesNotExist();
|
||||
Assertions.assertThat( artifactFilepom ).doesNotExist();
|
||||
}
|
||||
catch ( Exception e )
|
||||
{
|
||||
log.error( e.getMessage(), e );
|
||||
throw e;
|
||||
}
|
||||
finally
|
||||
{
|
||||
cleanSnapshotRepo();
|
||||
}
|
||||
}
|
||||
|
||||
protected File initSnapshotRepo()
|
||||
throws Exception
|
||||
{
|
||||
File targetRepo = new File( getBasedir(), "target/repo-with-snapshots" );
|
||||
if ( targetRepo.exists() )
|
||||
{
|
||||
FileUtils.deleteDirectory( targetRepo );
|
||||
}
|
||||
assertFalse( targetRepo.exists() );
|
||||
|
||||
FileUtils.copyDirectoryToDirectory( new File( getBasedir(), "src/test/repo-with-snapshots" ),
|
||||
targetRepo.getParentFile() );
|
||||
|
||||
if ( getManagedRepositoriesService( authorizationHeader ).getManagedRepository( SNAPSHOT_REPO_ID ) != null )
|
||||
{
|
||||
getManagedRepositoriesService( authorizationHeader ).deleteManagedRepository( SNAPSHOT_REPO_ID, true );
|
||||
assertNull( getManagedRepositoriesService( authorizationHeader ).getManagedRepository( SNAPSHOT_REPO_ID ) );
|
||||
}
|
||||
ManagedRepository managedRepository = getTestManagedRepository();
|
||||
managedRepository.setId( SNAPSHOT_REPO_ID );
|
||||
managedRepository.setLocation( targetRepo.getCanonicalPath() );
|
||||
managedRepository.setCronExpression( "* * * * * ?" );
|
||||
getManagedRepositoriesService( authorizationHeader ).addManagedRepository( managedRepository );
|
||||
assertNotNull( getManagedRepositoriesService( authorizationHeader ).getManagedRepository( SNAPSHOT_REPO_ID ) );
|
||||
|
||||
return targetRepo;
|
||||
}
|
||||
|
||||
protected void cleanSnapshotRepo()
|
||||
throws Exception
|
||||
{
|
||||
|
||||
if ( getManagedRepositoriesService( authorizationHeader ).getManagedRepository( SNAPSHOT_REPO_ID ) != null )
|
||||
{
|
||||
getManagedRepositoriesService( authorizationHeader ).deleteManagedRepository( SNAPSHOT_REPO_ID, true );
|
||||
assertNull( getManagedRepositoriesService( authorizationHeader ).getManagedRepository( SNAPSHOT_REPO_ID ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata modelVersion="1.1.0">
|
||||
<groupId>org.apache.archiva.redback.components</groupId>
|
||||
<artifactId>spring-quartz</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<versioning>
|
||||
<snapshot>
|
||||
<timestamp>20120618.214200</timestamp>
|
||||
<buildNumber>5</buildNumber>
|
||||
</snapshot>
|
||||
<lastUpdated>20120618214200</lastUpdated>
|
||||
<snapshotVersions>
|
||||
<snapshotVersion>
|
||||
<extension>jar</extension>
|
||||
<value>2.0-20120618.214200-5</value>
|
||||
<updated>20120618214200</updated>
|
||||
</snapshotVersion>
|
||||
<snapshotVersion>
|
||||
<extension>pom</extension>
|
||||
<value>2.0-20120618.214200-5</value>
|
||||
<updated>20120618214200</updated>
|
||||
</snapshotVersion>
|
||||
</snapshotVersions>
|
||||
</versioning>
|
||||
</metadata>
|
|
@ -0,0 +1 @@
|
|||
31caca863219e4fba3d68102cccc9ce6
|
|
@ -0,0 +1 @@
|
|||
efa1a9f70cd11abef2037c21afbb3ef9722ecf00
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
081d1ac85a85903168b17fbbdff2e85b
|
|
@ -0,0 +1 @@
|
|||
0fc5bdd5bc6014331f6898d8cbb28bdda47e78e9
|
|
@ -0,0 +1,96 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Licensed to the Apache Software Foundation (ASF) under one
|
||||
~ or more contributor license agreements. See the NOTICE file
|
||||
~ distributed with this work for additional information
|
||||
~ regarding copyright ownership. The ASF licenses this file
|
||||
~ to you under the Apache License, Version 2.0 (the
|
||||
~ "License"); you may not use this file except in compliance
|
||||
~ with the License. You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<groupId>org.apache.archiva.redback.components</groupId>
|
||||
<artifactId>redback-components</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<relativePath>../redback-components-parent/pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>spring-quartz</artifactId>
|
||||
<name>Spring Quartz Component</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
|
||||
<url>http://archiva.apache.org/redback/components/${project.artifactId}</url>
|
||||
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>apache.website</id>
|
||||
<url>scp://people.apache.org/www/archiva.apache.org/redback/components/${project.artifactId}</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<scm>
|
||||
<connection>scm:svn:http://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/spring-quartz/</connection>
|
||||
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/spring-quartz/</developerConnection>
|
||||
<url>http://svn.apache.org/viewvc/archiva/redback/redback-components/trunk/spring-quartz/</url>
|
||||
</scm>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.inject</groupId>
|
||||
<artifactId>javax.inject</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.annotation</groupId>
|
||||
<artifactId>jsr250-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.quartz-scheduler</groupId>
|
||||
<artifactId>quartz</artifactId>
|
||||
<version>2.1.3</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>c3p0</groupId>
|
||||
<artifactId>c3p0</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<forkedProcessTimeoutInSeconds>60</forkedProcessTimeoutInSeconds>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1 @@
|
|||
b2e12dde927022272b4c316a583da786
|
|
@ -0,0 +1 @@
|
|||
544ac35c8d3e0bf2ef7de9f4b39560603bd18a34
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
85a99ff86610ccab7ab4575fe168efc8
|
|
@ -0,0 +1 @@
|
|||
3b9d0dc2f0c3464a1b3d6b493857b7615aad13bc
|
|
@ -0,0 +1,96 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Licensed to the Apache Software Foundation (ASF) under one
|
||||
~ or more contributor license agreements. See the NOTICE file
|
||||
~ distributed with this work for additional information
|
||||
~ regarding copyright ownership. The ASF licenses this file
|
||||
~ to you under the Apache License, Version 2.0 (the
|
||||
~ "License"); you may not use this file except in compliance
|
||||
~ with the License. You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<groupId>org.apache.archiva.redback.components</groupId>
|
||||
<artifactId>redback-components</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<relativePath>../redback-components-parent/pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>spring-quartz</artifactId>
|
||||
<name>Spring Quartz Component</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
|
||||
<url>http://archiva.apache.org/redback/components/${project.artifactId}</url>
|
||||
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>apache.website</id>
|
||||
<url>scp://people.apache.org/www/archiva.apache.org/redback/components/${project.artifactId}</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<scm>
|
||||
<connection>scm:svn:http://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/spring-quartz/</connection>
|
||||
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/spring-quartz/</developerConnection>
|
||||
<url>http://svn.apache.org/viewvc/archiva/redback/redback-components/trunk/spring-quartz/</url>
|
||||
</scm>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.inject</groupId>
|
||||
<artifactId>javax.inject</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.annotation</groupId>
|
||||
<artifactId>jsr250-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.quartz-scheduler</groupId>
|
||||
<artifactId>quartz</artifactId>
|
||||
<version>2.1.3</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>c3p0</groupId>
|
||||
<artifactId>c3p0</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<forkedProcessTimeoutInSeconds>60</forkedProcessTimeoutInSeconds>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1 @@
|
|||
b2e12dde927022272b4c316a583da786
|
|
@ -0,0 +1 @@
|
|||
544ac35c8d3e0bf2ef7de9f4b39560603bd18a34
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
f55cc0e03e2e28ff7d481511052f94f7
|
|
@ -0,0 +1 @@
|
|||
ad10f9b50a5e366cee3705956117d4a8aced295b
|
|
@ -0,0 +1,96 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Licensed to the Apache Software Foundation (ASF) under one
|
||||
~ or more contributor license agreements. See the NOTICE file
|
||||
~ distributed with this work for additional information
|
||||
~ regarding copyright ownership. The ASF licenses this file
|
||||
~ to you under the Apache License, Version 2.0 (the
|
||||
~ "License"); you may not use this file except in compliance
|
||||
~ with the License. You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<groupId>org.apache.archiva.redback.components</groupId>
|
||||
<artifactId>redback-components</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<relativePath>../redback-components-parent/pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>spring-quartz</artifactId>
|
||||
<name>Spring Quartz Component</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
|
||||
<url>http://archiva.apache.org/redback/components/${project.artifactId}</url>
|
||||
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>apache.website</id>
|
||||
<url>scp://people.apache.org/www/archiva.apache.org/redback/components/${project.artifactId}</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<scm>
|
||||
<connection>scm:svn:http://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/spring-quartz/</connection>
|
||||
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/spring-quartz/</developerConnection>
|
||||
<url>http://svn.apache.org/viewvc/archiva/redback/redback-components/trunk/spring-quartz/</url>
|
||||
</scm>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.inject</groupId>
|
||||
<artifactId>javax.inject</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.annotation</groupId>
|
||||
<artifactId>jsr250-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.quartz-scheduler</groupId>
|
||||
<artifactId>quartz</artifactId>
|
||||
<version>2.1.3</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>c3p0</groupId>
|
||||
<artifactId>c3p0</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<forkedProcessTimeoutInSeconds>60</forkedProcessTimeoutInSeconds>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1 @@
|
|||
b2e12dde927022272b4c316a583da786
|
|
@ -0,0 +1 @@
|
|||
544ac35c8d3e0bf2ef7de9f4b39560603bd18a34
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
9fe56f9dddae45019db5bca09f57b407
|
|
@ -0,0 +1 @@
|
|||
8cbbb1cf25f1cd0e87ad38e58777c9ba115887b3
|
|
@ -0,0 +1,96 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Licensed to the Apache Software Foundation (ASF) under one
|
||||
~ or more contributor license agreements. See the NOTICE file
|
||||
~ distributed with this work for additional information
|
||||
~ regarding copyright ownership. The ASF licenses this file
|
||||
~ to you under the Apache License, Version 2.0 (the
|
||||
~ "License"); you may not use this file except in compliance
|
||||
~ with the License. You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<groupId>org.apache.archiva.redback.components</groupId>
|
||||
<artifactId>redback-components</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<relativePath>../redback-components-parent/pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>spring-quartz</artifactId>
|
||||
<name>Spring Quartz Component</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
|
||||
<url>http://archiva.apache.org/redback/components/${project.artifactId}</url>
|
||||
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>apache.website</id>
|
||||
<url>scp://people.apache.org/www/archiva.apache.org/redback/components/${project.artifactId}</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<scm>
|
||||
<connection>scm:svn:http://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/spring-quartz/</connection>
|
||||
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/spring-quartz/</developerConnection>
|
||||
<url>http://svn.apache.org/viewvc/archiva/redback/redback-components/trunk/spring-quartz/</url>
|
||||
</scm>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.inject</groupId>
|
||||
<artifactId>javax.inject</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.annotation</groupId>
|
||||
<artifactId>jsr250-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.quartz-scheduler</groupId>
|
||||
<artifactId>quartz</artifactId>
|
||||
<version>2.1.3</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>c3p0</groupId>
|
||||
<artifactId>c3p0</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<forkedProcessTimeoutInSeconds>60</forkedProcessTimeoutInSeconds>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1 @@
|
|||
b2e12dde927022272b4c316a583da786
|
|
@ -0,0 +1 @@
|
|||
544ac35c8d3e0bf2ef7de9f4b39560603bd18a34
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
5a902fd05e63ca8ff0514387f8798427
|
|
@ -0,0 +1 @@
|
|||
20bfd12ec5b81763e41ef504a25db86975c2521c
|
|
@ -0,0 +1,96 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Licensed to the Apache Software Foundation (ASF) under one
|
||||
~ or more contributor license agreements. See the NOTICE file
|
||||
~ distributed with this work for additional information
|
||||
~ regarding copyright ownership. The ASF licenses this file
|
||||
~ to you under the Apache License, Version 2.0 (the
|
||||
~ "License"); you may not use this file except in compliance
|
||||
~ with the License. You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<groupId>org.apache.archiva.redback.components</groupId>
|
||||
<artifactId>redback-components</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<relativePath>../redback-components-parent/pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>spring-quartz</artifactId>
|
||||
<name>Spring Quartz Component</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
|
||||
<url>http://archiva.apache.org/redback/components/${project.artifactId}</url>
|
||||
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>apache.website</id>
|
||||
<url>scp://people.apache.org/www/archiva.apache.org/redback/components/${project.artifactId}</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<scm>
|
||||
<connection>scm:svn:http://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/spring-quartz/</connection>
|
||||
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/spring-quartz/</developerConnection>
|
||||
<url>http://svn.apache.org/viewvc/archiva/redback/redback-components/trunk/spring-quartz/</url>
|
||||
</scm>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.inject</groupId>
|
||||
<artifactId>javax.inject</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.annotation</groupId>
|
||||
<artifactId>jsr250-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.quartz-scheduler</groupId>
|
||||
<artifactId>quartz</artifactId>
|
||||
<version>2.1.3</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>c3p0</groupId>
|
||||
<artifactId>c3p0</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<forkedProcessTimeoutInSeconds>60</forkedProcessTimeoutInSeconds>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1 @@
|
|||
b2e12dde927022272b4c316a583da786
|
|
@ -0,0 +1 @@
|
|||
544ac35c8d3e0bf2ef7de9f4b39560603bd18a34
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>org.apache.archiva.redback.components</groupId>
|
||||
<artifactId>spring-quartz</artifactId>
|
||||
<versioning>
|
||||
<versions>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</versions>
|
||||
<lastUpdated>20120618214200</lastUpdated>
|
||||
</versioning>
|
||||
</metadata>
|
|
@ -0,0 +1 @@
|
|||
bdfe427b0959b3978ab26c76a002ac5d
|
|
@ -0,0 +1 @@
|
|||
732c5d8c5a60ae8141cadd6033d9b86000a60e5b
|
Loading…
Reference in New Issue