diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/pom.xml deleted file mode 100644 index 8de1a1610..000000000 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/pom.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - 4.0.0 - - org.apache.archiva - archiva-consumers - 1.4-SNAPSHOT - - archiva-dependency-tree-consumer - Archiva Consumers :: Dependency Tree Consumer - - - org.apache.archiva - archiva-consumer-api - - - org.codehaus.redback.components - plexus-spring - test - - - dom4j - dom4j - - - org.apache.maven.shared - maven-dependency-tree - 1.1 - - - org.codehaus.plexus - plexus-container-default - - - - - org.apache.maven.wagon - wagon-http-lightweight - ${wagon.version} - runtime - - - xmlunit - xmlunit - test - - - org.slf4j - slf4j-simple - test - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - ${maven.home} - - - - - - diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/main/java/org/apache/archiva/consumers/dependencytree/DependencyTreeGeneratorConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/main/java/org/apache/archiva/consumers/dependencytree/DependencyTreeGeneratorConsumer.java deleted file mode 100644 index 973e71f67..000000000 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/main/java/org/apache/archiva/consumers/dependencytree/DependencyTreeGeneratorConsumer.java +++ /dev/null @@ -1,353 +0,0 @@ -package org.apache.archiva.consumers.dependencytree; - -/* - * 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. - */ - -import java.io.File; -import java.io.FileWriter; -import java.io.IOException; -import java.lang.reflect.Field; -import java.net.MalformedURLException; -import java.util.Collections; -import java.util.Date; -import java.util.HashMap; -import java.util.List; - -import org.apache.commons.io.IOUtils; -import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration; -import org.apache.maven.archiva.consumers.AbstractMonitoredConsumer; -import org.apache.maven.archiva.consumers.ConsumerException; -import org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer; -import org.apache.maven.artifact.Artifact; -import org.apache.maven.artifact.factory.ArtifactFactory; -import org.apache.maven.artifact.metadata.ArtifactMetadataSource; -import org.apache.maven.artifact.repository.ArtifactRepository; -import org.apache.maven.artifact.repository.ArtifactRepositoryFactory; -import org.apache.maven.artifact.repository.layout.DefaultRepositoryLayout; -import org.apache.maven.artifact.resolver.ArtifactCollector; -import org.apache.maven.artifact.resolver.filter.ArtifactFilter; -import org.apache.maven.project.DefaultMavenProjectBuilder; -import org.apache.maven.project.MavenProject; -import org.apache.maven.project.MavenProjectBuilder; -import org.apache.maven.project.ProjectBuildingException; -import org.apache.maven.shared.dependency.tree.DependencyNode; -import org.apache.maven.shared.dependency.tree.DependencyTreeBuilder; -import org.apache.maven.shared.dependency.tree.DependencyTreeBuilderException; -import org.apache.maven.shared.dependency.tree.filter.AncestorOrSelfDependencyNodeFilter; -import org.apache.maven.shared.dependency.tree.filter.DependencyNodeFilter; -import org.apache.maven.shared.dependency.tree.filter.StateDependencyNodeFilter; -import org.apache.maven.shared.dependency.tree.traversal.BuildingDependencyNodeVisitor; -import org.apache.maven.shared.dependency.tree.traversal.CollectingDependencyNodeVisitor; -import org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor; -import org.apache.maven.shared.dependency.tree.traversal.FilteringDependencyNodeVisitor; -import org.dom4j.Document; -import org.dom4j.DocumentHelper; -import org.dom4j.Element; -import org.dom4j.io.OutputFormat; -import org.dom4j.io.XMLWriter; - -/** - * @plexus.component role="org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer" - * role-hint="dependency-tree-generator" instantiation-strategy="per-lookup" - */ -public class DependencyTreeGeneratorConsumer - extends AbstractMonitoredConsumer - implements KnownRepositoryContentConsumer -{ - /** @plexus.configuration */ - private File generatedRepositoryLocation; - - /** @plexus.configuration */ - private File localRepository; - - /** @plexus.requirement */ - private DependencyTreeBuilder dependencyTreeBuilder; - - /** @plexus.requirement */ - private ArtifactFactory artifactFactory; - - /** @plexus.requirement role-hint="maven" */ - private ArtifactMetadataSource artifactMetadataSource; - - /** @plexus.requirement */ - private ArtifactCollector artifactCollector; - - /** @plexus.requirement */ - private MavenProjectBuilder projectBuilder; - - /** @plexus.requirement */ - private ArtifactRepositoryFactory artifactRepositoryFactory; - - private String repositoryLocation; - - private final DefaultRepositoryLayout layout = new DefaultRepositoryLayout(); - - private ArtifactRepository localArtifactRepository; - - private Field rawProjectCacheField; - - private Field processedProjectCacheField; - - private List includes = Collections.singletonList( "**/*.pom" ); - - public String getDescription() - { - return "Generate dependency tree metadata for tracking changes across algorithms"; - } - - public String getId() - { - return "dependency-tree-generator"; - } - - public boolean isPermanent() - { - return false; - } - - public void setGeneratedRepositoryLocation( File generatedRepositoryLocation ) - { - this.generatedRepositoryLocation = generatedRepositoryLocation; - } - - public void beginScan( ManagedRepositoryConfiguration repository, Date whenGathered ) - throws ConsumerException - { - repositoryLocation = repository.getLocation(); - - if ( generatedRepositoryLocation == null ) - { - generatedRepositoryLocation = new File( repositoryLocation ); - } - - if ( localRepository == null ) - { - // This is a bit crappy, it would be better to operate entirely within - // the base repository, but would need to adjust maven-artifact - localRepository = new File( System.getProperty( "user.home" ), ".m2/repository" ); - try - { - localArtifactRepository = - artifactRepositoryFactory.createArtifactRepository( "local", - localRepository.toURL().toExternalForm(), - layout, null, null ); - } - catch ( MalformedURLException e ) - { - throw new ConsumerException( e.getMessage(), e ); - } - } - } - - public void beginScan( ManagedRepositoryConfiguration repository, Date whenGathered, boolean executeOnEntireRepo ) - throws ConsumerException - { - beginScan( repository, whenGathered ); - } - - public void completeScan() - { - } - - public void completeScan( boolean executeOnEntireRepo ) - { - completeScan(); - } - - public List getExcludes() - { - return null; - } - - public List getIncludes() - { - return includes; - } - - public void processFile( String path ) - throws ConsumerException - { - MavenProject project; - try - { - project = projectBuilder.build( new File( repositoryLocation, path ), localArtifactRepository, null, false ); - - // manually flush out the cache for memory concerns and more accurate building - flushProjectCache( projectBuilder ); - } - catch ( ProjectBuildingException e ) - { - throw new ConsumerException( e.getMessage(), e ); - } - - DependencyNode rootNode; - try - { - // TODO: do this for different values of new ScopeArtifactFilter( scope ) - ArtifactFilter artifactFilter = null; - - rootNode = - dependencyTreeBuilder.buildDependencyTree( project, localArtifactRepository, artifactFactory, - artifactMetadataSource, artifactFilter, artifactCollector ); - } - catch ( DependencyTreeBuilderException e ) - { - throw new ConsumerException( e.getMessage(), e ); - } - - Document document = DocumentHelper.createDocument(); - DependencyNodeVisitor visitor = new XmlSerializingDependencyNodeVisitor( document ); - - // TODO: remove the need for this when the serializer can calculate last nodes from visitor calls only - visitor = new BuildingDependencyNodeVisitor( visitor ); - - CollectingDependencyNodeVisitor collectingVisitor = new CollectingDependencyNodeVisitor(); - DependencyNodeVisitor firstPassVisitor = - new FilteringDependencyNodeVisitor( collectingVisitor, StateDependencyNodeFilter.INCLUDED ); - rootNode.accept( firstPassVisitor ); - - DependencyNodeFilter secondPassFilter = new AncestorOrSelfDependencyNodeFilter( collectingVisitor.getNodes() ); - visitor = new FilteringDependencyNodeVisitor( visitor, secondPassFilter ); - - rootNode.accept( visitor ); - - FileWriter writer = null; - try - { - Artifact artifact = - artifactFactory.createProjectArtifact( project.getGroupId(), project.getArtifactId(), - project.getVersion() ); - - String p = layout.pathOf( artifact ); - if ( !p.equals( path ) ) - { - throw new ConsumerException( "Bad path: " + p + "; should be: " + path ); - } - - File generatedFile = new File( generatedRepositoryLocation, p + ".xml" ); - generatedFile.getParentFile().mkdirs(); - writer = new FileWriter( generatedFile ); - OutputFormat format = OutputFormat.createPrettyPrint(); - XMLWriter w = new XMLWriter( writer, format ); - w.write( document ); - } - catch ( IOException e ) - { - throw new ConsumerException( e.getMessage(), e ); - } - finally - { - IOUtils.closeQuietly( writer ); - } - } - - public void processFile( String path, boolean executeOnEntireRepo ) - throws ConsumerException - { - processFile( path ); - } - - private void flushProjectCache( MavenProjectBuilder projectBuilder ) - { - try - { - if ( rawProjectCacheField == null ) - { - rawProjectCacheField = DefaultMavenProjectBuilder.class.getDeclaredField( "rawProjectCache" ); - rawProjectCacheField.setAccessible( true ); - } - - if ( processedProjectCacheField == null ) - { - processedProjectCacheField = - DefaultMavenProjectBuilder.class.getDeclaredField( "processedProjectCache" ); - processedProjectCacheField.setAccessible( true ); - } - - rawProjectCacheField.set( projectBuilder, new HashMap() ); - - processedProjectCacheField.set( projectBuilder, new HashMap() ); - } - catch ( Exception e ) - { - throw new RuntimeException( e ); - } - } - - private static class XmlSerializingDependencyNodeVisitor - implements DependencyNodeVisitor - { - private Element xmlNode; - - public XmlSerializingDependencyNodeVisitor( Document document ) - { - xmlNode = document.addElement( "tree" ); - } - - // DependencyNodeVisitor methods ------------------------------------------ - - /* - * @see org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor#visit(org.apache.maven.shared.dependency.tree.DependencyNode) - */ - public boolean visit( DependencyNode node ) - { - Element dependency = xmlNode.addElement( "dependency" ); - - Artifact artifact = node.getArtifact(); - dependency.addElement( "groupId" ).setText( artifact.getGroupId() ); - dependency.addElement( "artifactId" ).setText( artifact.getArtifactId() ); - dependency.addElement( "type" ).setText( artifact.getType() ); - dependency.addElement( "version" ).setText( artifact.getVersion() ); - if ( artifact.getScope() != null ) - { - dependency.addElement( "scope" ).setText( artifact.getScope() ); - } - if ( artifact.getClassifier() != null ) - { - dependency.addElement( "classifier" ).setText( artifact.getClassifier() ); - } - - xmlNode = dependency.addElement( "dependencies" ); - - return true; - } - - /* - * @see org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor#endVisit(org.apache.maven.shared.dependency.tree.DependencyNode) - */ - public boolean endVisit( DependencyNode node ) - { - Element e = xmlNode.getParent(); - - if ( !xmlNode.hasContent() ) - { - e.remove( xmlNode ); - } - - xmlNode = e.getParent(); - - return true; - } - } - - public void setIncludes( List includes ) - { - this.includes = includes; - } -} diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/java/org/apache/archiva/consumers/dependencytree/DependencyTreeGeneratorConsumerTest.java b/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/java/org/apache/archiva/consumers/dependencytree/DependencyTreeGeneratorConsumerTest.java deleted file mode 100644 index a79ec1df7..000000000 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/java/org/apache/archiva/consumers/dependencytree/DependencyTreeGeneratorConsumerTest.java +++ /dev/null @@ -1,123 +0,0 @@ -package org.apache.archiva.consumers.dependencytree; - -/* - * 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. - */ - -import java.io.File; -import java.io.IOException; - -import javax.xml.parsers.ParserConfigurationException; - -import org.apache.commons.io.FileUtils; -import org.apache.commons.io.IOUtils; -import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration; -import org.apache.maven.archiva.consumers.ConsumerException; -import org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer; -import org.codehaus.plexus.spring.PlexusContainerAdapter; -import org.codehaus.plexus.spring.PlexusInSpringTestCase; -import org.custommonkey.xmlunit.XMLAssert; -import org.xml.sax.SAXException; - -public class DependencyTreeGeneratorConsumerTest - extends PlexusInSpringTestCase -{ - private DependencyTreeGeneratorConsumer consumer; - - private ManagedRepositoryConfiguration repository; - - private File repositoryLocation; - - private File generatedRepositoryLocation; - - public void setUp() - throws Exception - { - super.setUp(); - - consumer = - (DependencyTreeGeneratorConsumer) lookup( KnownRepositoryContentConsumer.class, "dependency-tree-generator" ); - - repositoryLocation = getTestFile( "target/test-" + getName() + "/test-repo" ); - FileUtils.deleteDirectory( repositoryLocation ); - FileUtils.copyDirectory( getTestFile( "target/test-classes/test-repo" ), repositoryLocation ); - - generatedRepositoryLocation = getTestFile( "target/test-" + getName() + "/generated-test-repo" ); - FileUtils.deleteDirectory( generatedRepositoryLocation ); - - consumer.setGeneratedRepositoryLocation( generatedRepositoryLocation ); - - repository = new ManagedRepositoryConfiguration(); - repository.setId( "dependency-tree" ); - repository.setLocation( repositoryLocation.getAbsolutePath() ); - } - - public void testGenerateBasicTree() - throws IOException, ConsumerException, ParserConfigurationException, SAXException - { - consumer.beginScan( repository, null ); - - String path = "org/apache/maven/maven-core/2.0/maven-core-2.0.pom"; - consumer.processFile( path ); - - File generatedFile = new File( generatedRepositoryLocation, path + ".xml" ); - XMLAssert.assertXMLEqual( IOUtils.toString( getClass().getResourceAsStream( "/test-data/maven-core-2.0-tree.xml" ) ), - FileUtils.readFileToString( generatedFile ) ); - - consumer.completeScan(); - } - - public void testInvalidCoordinate() - throws IOException, ConsumerException - { - consumer.beginScan( repository, null ); - - String path = "openejb/jaxb-xjc/2.0EA3/jaxb-xjc-2.0EA3.pom"; - try - { - consumer.processFile( path ); - - fail( "Should not have successfully processed the file" ); - } - catch ( ConsumerException e ) - { - File generatedFile = new File( generatedRepositoryLocation, path + ".xml" ); - assertFalse( generatedFile.exists() ); - } - - consumer.completeScan(); - } - - public void testProfiles() - throws IOException, ConsumerException, ParserConfigurationException, SAXException - { - PlexusContainerAdapter container = new PlexusContainerAdapter(); - container.setApplicationContext( getApplicationContext() ); - - consumer.beginScan( repository, null ); - - String path = "org/apache/maven/surefire/surefire-testng/2.0/surefire-testng-2.0.pom"; - consumer.processFile( path ); - - File generatedFile = new File( generatedRepositoryLocation, path + ".xml" ); - XMLAssert.assertXMLEqual( IOUtils.toString( getClass().getResourceAsStream( "/test-data/surefire-testng-2.0-tree.xml" ) ), - FileUtils.readFileToString( generatedFile ) ); - - consumer.completeScan(); - } -} diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-data/maven-core-2.0-tree.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-data/maven-core-2.0-tree.xml deleted file mode 100644 index 3c55b90d1..000000000 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-data/maven-core-2.0-tree.xml +++ /dev/null @@ -1,200 +0,0 @@ - - - - - org.apache.maven - maven-core - jar - 2.0 - - - junit - junit - jar - 3.8.1 - test - - - org.apache.maven - maven-settings - jar - 2.0 - compile - - - org.apache.maven.wagon - wagon-file - jar - 1.0-alpha-5 - runtime - - - org.apache.maven - maven-plugin-parameter-documenter - jar - 2.0 - compile - - - org.apache.maven.wagon - wagon-http-lightweight - jar - 1.0-alpha-5 - runtime - - - org.apache.maven.reporting - maven-reporting-api - jar - 2.0 - compile - - - doxia - doxia-sink-api - jar - 1.0-alpha-4 - compile - - - - - org.apache.maven - maven-profile - jar - 2.0 - compile - - - org.apache.maven - maven-model - jar - 2.0 - compile - - - org.apache.maven - maven-artifact - jar - 2.0 - compile - - - org.apache.maven.wagon - wagon-provider-api - jar - 1.0-alpha-5 - compile - - - org.codehaus.plexus - plexus-container-default - jar - 1.0-alpha-8 - compile - - - classworlds - classworlds - jar - 1.1-alpha-2 - compile - - - - - org.apache.maven - maven-repository-metadata - jar - 2.0 - compile - - - org.apache.maven - maven-error-diagnostics - jar - 2.0 - compile - - - org.apache.maven - maven-project - jar - 2.0 - compile - - - org.apache.maven - maven-plugin-registry - jar - 2.0 - compile - - - commons-cli - commons-cli - jar - 1.0 - compile - - - org.apache.maven - maven-plugin-api - jar - 2.0 - compile - - - org.apache.maven - maven-plugin-descriptor - jar - 2.0 - compile - - - org.codehaus.plexus - plexus-interactivity-api - jar - 1.0-alpha-4 - compile - - - org.apache.maven - maven-artifact-manager - jar - 2.0 - compile - - - org.apache.maven - maven-monitor - jar - 2.0 - compile - - - org.apache.maven.wagon - wagon-ssh - jar - 1.0-alpha-5 - runtime - - - com.jcraft - jsch - jar - 0.1.23 - runtime - - - - - org.codehaus.plexus - plexus-utils - jar - 1.0.4 - compile - - - - diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-data/surefire-testng-2.0-tree.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-data/surefire-testng-2.0-tree.xml deleted file mode 100644 index 287c45954..000000000 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-data/surefire-testng-2.0-tree.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - org.apache.maven.surefire - surefire-testng - jar - 2.0 - - - org.apache.maven.surefire - surefire-api - jar - 2.0 - compile - - - org.codehaus.plexus - plexus-utils - jar - 1.1 - compile - - - - - org.testng - testng - jar - 4.7 - compile - jdk15 - - - junit - junit - jar - 3.8.1 - runtime - - - qdox - qdox - jar - 1.5 - runtime - - - bsh - bsh - jar - 2.0b1 - runtime - - - - - - diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-repo/openejb/jaxb-xjc/2.0EA3/jaxb-xjc-2.0EA3.pom b/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-repo/openejb/jaxb-xjc/2.0EA3/jaxb-xjc-2.0EA3.pom deleted file mode 100644 index d56af580b..000000000 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-repo/openejb/jaxb-xjc/2.0EA3/jaxb-xjc-2.0EA3.pom +++ /dev/null @@ -1,6 +0,0 @@ - - 4.0.0 - openejb - jaxb-api - 2.0EA3 - diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-repo/org/apache/maven/maven-core/2.0/maven-core-2.0.pom b/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-repo/org/apache/maven/maven-core/2.0/maven-core-2.0.pom deleted file mode 100644 index a6e158dea..000000000 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-repo/org/apache/maven/maven-core/2.0/maven-core-2.0.pom +++ /dev/null @@ -1,186 +0,0 @@ - - - maven - org.apache.maven - 2.0 - - 4.0.0 - org.apache.maven - maven-core - Maven - 2.0 - - - - maven-assembly-plugin - 2.0-beta-1 - - src/assemble/bin.xml - maven-${version} - - - - - - - org.apache.maven - maven-settings - 2.0 - - - org.apache.maven.wagon - wagon-file - runtime - - - org.apache.maven - maven-plugin-parameter-documenter - 2.0 - - - org.apache.maven.wagon - wagon-http-lightweight - runtime - - - org.apache.maven.reporting - maven-reporting-api - 2.0 - - - org.apache.maven - maven-profile - 2.0 - - - org.apache.maven - maven-model - 2.0 - - - org.apache.maven - maven-artifact - 2.0 - - - org.apache.maven.wagon - wagon-provider-api - - - org.codehaus.plexus - plexus-container-default - - - org.apache.maven - maven-repository-metadata - 2.0 - - - org.apache.maven - maven-error-diagnostics - 2.0 - - - org.apache.maven - maven-project - 2.0 - - - org.apache.maven - maven-plugin-registry - 2.0 - - - commons-cli - commons-cli - 1.0 - - - commons-lang - commons-lang - - - commons-logging - commons-logging - - - - - org.apache.maven - maven-plugin-api - 2.0 - - - org.apache.maven - maven-plugin-descriptor - 2.0 - - - org.codehaus.plexus - plexus-interactivity-api - 1.0-alpha-4 - - - plexus-utils - plexus - - - plexus-container-default - org.codehaus.plexus - - - - - org.apache.maven - maven-artifact-manager - 2.0 - - - org.apache.maven - maven-monitor - 2.0 - - - org.apache.maven.wagon - wagon-ssh - runtime - - - plexus-utils - plexus - - - plexus-container-default - org.codehaus.plexus - - - - - org.codehaus.plexus - plexus-utils - - - - - - maven-checkstyle-plugin - - - maven-clover-plugin - - - maven-pmd-plugin - - - maven-project-info-reports-plugin - - - - - - website - scp://minotaur.apache.org//www/maven.apache.org/m2 - - deployed - - \ No newline at end of file diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-repo/org/apache/maven/surefire/surefire-testng/2.0/surefire-testng-2.0.pom b/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-repo/org/apache/maven/surefire/surefire-testng/2.0/surefire-testng-2.0.pom deleted file mode 100644 index d8de3ad32..000000000 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-dependency-tree-consumer/src/test/resources/test-repo/org/apache/maven/surefire/surefire-testng/2.0/surefire-testng-2.0.pom +++ /dev/null @@ -1,82 +0,0 @@ - - - surefire-providers - org.apache.maven.surefire - 2.0 - - 4.0.0 - surefire-testng - SureFire TestNG Runner - 2.0 - - - - maven-compiler-plugin - - 1.4 - 1.4 - - - - maven-surefire-plugin - - false - - - - - - - jdk14 - - 1.4 - - - - org.testng - testng - 4.7 - jdk14 - - - - - jdk15 - - !1.4 - - - - org.testng - testng - 4.7 - jdk15 - - - - - jdk1.3 - - - - maven-compiler-plugin - - false - 1.4 - - - - maven-surefire-plugin - - once - ${JAVA_1_3_HOME}/bin/java - - - - - - - - deployed - - \ No newline at end of file