You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2016/09/03 20:23:54 UTC
[31/51] [partial] maven-aether git commit: [MNG-6007] rename Aether
to Maven Artifact Resolver
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactoryTest.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactoryTest.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactoryTest.java
deleted file mode 100644
index 7411a1d..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactoryTest.java
+++ /dev/null
@@ -1,241 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 static org.junit.Assert.*;
-
-import java.net.URI;
-import java.util.List;
-import java.util.Locale;
-
-import org.eclipse.aether.DefaultRepositorySystemSession;
-import org.eclipse.aether.artifact.DefaultArtifact;
-import org.eclipse.aether.internal.test.util.TestUtils;
-import org.eclipse.aether.metadata.DefaultMetadata;
-import org.eclipse.aether.metadata.Metadata;
-import org.eclipse.aether.repository.RemoteRepository;
-import org.eclipse.aether.spi.connector.layout.RepositoryLayout;
-import org.eclipse.aether.spi.connector.layout.RepositoryLayout.Checksum;
-import org.eclipse.aether.transfer.NoRepositoryLayoutException;
-import org.junit.Before;
-import org.junit.Test;
-
-public class Maven2RepositoryLayoutFactoryTest
-{
-
- private DefaultRepositorySystemSession session;
-
- private Maven2RepositoryLayoutFactory factory;
-
- private RepositoryLayout layout;
-
- private RemoteRepository newRepo( String type )
- {
- return new RemoteRepository.Builder( "test", type, "classpath:/nil" ).build();
- }
-
- private void assertChecksum( Checksum actual, String expectedUri, String expectedAlgo )
- {
- assertEquals( expectedUri, actual.getLocation().toString() );
- assertEquals( expectedAlgo, actual.getAlgorithm() );
- }
-
- private void assertChecksums( List<Checksum> actual, String baseUri, String... algos )
- {
- assertEquals( algos.length, actual.size() );
- for ( int i = 0; i < algos.length; i++ )
- {
- String uri = baseUri + '.' + algos[i].replace( "-", "" ).toLowerCase( Locale.ENGLISH );
- assertChecksum( actual.get( i ), uri, algos[i] );
- }
- }
-
- @Before
- public void setUp()
- throws Exception
- {
- session = TestUtils.newSession();
- factory = new Maven2RepositoryLayoutFactory();
- layout = factory.newInstance( session, newRepo( "default" ) );
- }
-
- @Test( expected = NoRepositoryLayoutException.class )
- public void testBadLayout()
- throws Exception
- {
- factory.newInstance( session, newRepo( "DEFAULT" ) );
- }
-
- @Test
- public void testArtifactLocation_Release()
- {
- DefaultArtifact artifact = new DefaultArtifact( "g.i.d", "a-i.d", "cls", "ext", "1.0" );
- URI uri = layout.getLocation( artifact, false );
- assertEquals( "g/i/d/a-i.d/1.0/a-i.d-1.0-cls.ext", uri.toString() );
- uri = layout.getLocation( artifact, true );
- assertEquals( "g/i/d/a-i.d/1.0/a-i.d-1.0-cls.ext", uri.toString() );
- }
-
- @Test
- public void testArtifactLocation_Snapshot()
- {
- DefaultArtifact artifact = new DefaultArtifact( "g.i.d", "a-i.d", "cls", "ext", "1.0-20110329.221805-4" );
- URI uri = layout.getLocation( artifact, false );
- assertEquals( "g/i/d/a-i.d/1.0-SNAPSHOT/a-i.d-1.0-20110329.221805-4-cls.ext", uri.toString() );
- uri = layout.getLocation( artifact, true );
- assertEquals( "g/i/d/a-i.d/1.0-SNAPSHOT/a-i.d-1.0-20110329.221805-4-cls.ext", uri.toString() );
- }
-
- @Test
- public void testMetadataLocation_RootLevel()
- {
- DefaultMetadata metadata = new DefaultMetadata( "archetype-catalog.xml", Metadata.Nature.RELEASE_OR_SNAPSHOT );
- URI uri = layout.getLocation( metadata, false );
- assertEquals( "archetype-catalog.xml", uri.toString() );
- uri = layout.getLocation( metadata, true );
- assertEquals( "archetype-catalog.xml", uri.toString() );
- }
-
- @Test
- public void testMetadataLocation_GroupLevel()
- {
- DefaultMetadata metadata =
- new DefaultMetadata( "org.apache.maven.plugins", "maven-metadata.xml", Metadata.Nature.RELEASE_OR_SNAPSHOT );
- URI uri = layout.getLocation( metadata, false );
- assertEquals( "org/apache/maven/plugins/maven-metadata.xml", uri.toString() );
- uri = layout.getLocation( metadata, true );
- assertEquals( "org/apache/maven/plugins/maven-metadata.xml", uri.toString() );
- }
-
- @Test
- public void testMetadataLocation_ArtifactLevel()
- {
- DefaultMetadata metadata =
- new DefaultMetadata( "org.apache.maven.plugins", "maven-jar-plugin", "maven-metadata.xml",
- Metadata.Nature.RELEASE_OR_SNAPSHOT );
- URI uri = layout.getLocation( metadata, false );
- assertEquals( "org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml", uri.toString() );
- uri = layout.getLocation( metadata, true );
- assertEquals( "org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml", uri.toString() );
- }
-
- @Test
- public void testMetadataLocation_VersionLevel()
- {
- DefaultMetadata metadata =
- new DefaultMetadata( "org.apache.maven.plugins", "maven-jar-plugin", "1.0-SNAPSHOT", "maven-metadata.xml",
- Metadata.Nature.RELEASE_OR_SNAPSHOT );
- URI uri = layout.getLocation( metadata, false );
- assertEquals( "org/apache/maven/plugins/maven-jar-plugin/1.0-SNAPSHOT/maven-metadata.xml", uri.toString() );
- uri = layout.getLocation( metadata, true );
- assertEquals( "org/apache/maven/plugins/maven-jar-plugin/1.0-SNAPSHOT/maven-metadata.xml", uri.toString() );
- }
-
- @Test
- public void testArtifactChecksums_Download()
- {
- DefaultArtifact artifact = new DefaultArtifact( "g.i.d", "a-i.d", "cls", "ext", "1.0" );
- URI uri = layout.getLocation( artifact, false );
- List<Checksum> checksums = layout.getChecksums( artifact, false, uri );
- assertEquals( 2, checksums.size() );
- assertChecksum( checksums.get( 0 ), "g/i/d/a-i.d/1.0/a-i.d-1.0-cls.ext.sha1", "SHA-1" );
- assertChecksum( checksums.get( 1 ), "g/i/d/a-i.d/1.0/a-i.d-1.0-cls.ext.md5", "MD5" );
- }
-
- @Test
- public void testArtifactChecksums_Upload()
- {
- DefaultArtifact artifact = new DefaultArtifact( "g.i.d", "a-i.d", "cls", "ext", "1.0" );
- URI uri = layout.getLocation( artifact, true );
- List<Checksum> checksums = layout.getChecksums( artifact, true, uri );
- assertEquals( 2, checksums.size() );
- assertChecksum( checksums.get( 0 ), "g/i/d/a-i.d/1.0/a-i.d-1.0-cls.ext.sha1", "SHA-1" );
- assertChecksum( checksums.get( 1 ), "g/i/d/a-i.d/1.0/a-i.d-1.0-cls.ext.md5", "MD5" );
- }
-
- @Test
- public void testMetadataChecksums_Download()
- {
- DefaultMetadata metadata =
- new DefaultMetadata( "org.apache.maven.plugins", "maven-jar-plugin", "maven-metadata.xml",
- Metadata.Nature.RELEASE_OR_SNAPSHOT );
- URI uri = layout.getLocation( metadata, false );
- List<Checksum> checksums = layout.getChecksums( metadata, false, uri );
- assertEquals( 2, checksums.size() );
- assertChecksum( checksums.get( 0 ), "org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml.sha1",
- "SHA-1" );
- assertChecksum( checksums.get( 1 ), "org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml.md5", "MD5" );
- }
-
- @Test
- public void testMetadataChecksums_Upload()
- {
- DefaultMetadata metadata =
- new DefaultMetadata( "org.apache.maven.plugins", "maven-jar-plugin", "maven-metadata.xml",
- Metadata.Nature.RELEASE_OR_SNAPSHOT );
- URI uri = layout.getLocation( metadata, true );
- List<Checksum> checksums = layout.getChecksums( metadata, true, uri );
- assertEquals( 2, checksums.size() );
- assertChecksum( checksums.get( 0 ), "org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml.sha1",
- "SHA-1" );
- assertChecksum( checksums.get( 1 ), "org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml.md5", "MD5" );
- }
-
- @Test
- public void testSignatureChecksums_Download()
- {
- DefaultArtifact artifact = new DefaultArtifact( "g.i.d", "a-i.d", "cls", "asc", "1.0" );
- URI uri = layout.getLocation( artifact, false );
- List<Checksum> checksums = layout.getChecksums( artifact, false, uri );
- assertChecksums( checksums, "g/i/d/a-i.d/1.0/a-i.d-1.0-cls.asc", "SHA-1", "MD5" );
-
- artifact = new DefaultArtifact( "g.i.d", "a-i.d", "cls", "jar.asc", "1.0" );
- uri = layout.getLocation( artifact, false );
- checksums = layout.getChecksums( artifact, false, uri );
- assertEquals( 0, checksums.size() );
- }
-
- @Test
- public void testSignatureChecksums_Upload()
- {
- DefaultArtifact artifact = new DefaultArtifact( "g.i.d", "a-i.d", "cls", "asc", "1.0" );
- URI uri = layout.getLocation( artifact, true );
- List<Checksum> checksums = layout.getChecksums( artifact, true, uri );
- assertChecksums( checksums, "g/i/d/a-i.d/1.0/a-i.d-1.0-cls.asc", "SHA-1", "MD5" );
-
- artifact = new DefaultArtifact( "g.i.d", "a-i.d", "cls", "jar.asc", "1.0" );
- uri = layout.getLocation( artifact, true );
- checksums = layout.getChecksums( artifact, true, uri );
- assertEquals( 0, checksums.size() );
- }
-
- @Test
- public void testSignatureChecksums_Force()
- throws Exception
- {
- session.setConfigProperty( Maven2RepositoryLayoutFactory.CONFIG_PROP_SIGNATURE_CHECKSUMS, "true" );
- layout = factory.newInstance( session, newRepo( "default" ) );
- DefaultArtifact artifact = new DefaultArtifact( "g.i.d", "a-i.d", "cls", "jar.asc", "1.0" );
- URI uri = layout.getLocation( artifact, true );
- List<Checksum> checksums = layout.getChecksums( artifact, true, uri );
- assertChecksums( checksums, "g/i/d/a-i.d/1.0/a-i.d-1.0-cls.jar.asc", "SHA-1", "MD5" );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/PrioritizedComponentTest.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/PrioritizedComponentTest.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/PrioritizedComponentTest.java
deleted file mode 100644
index 989c1ad..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/PrioritizedComponentTest.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 static org.junit.Assert.*;
-
-import org.junit.Test;
-
-public class PrioritizedComponentTest
-{
-
- @Test
- public void testIsDisabled()
- {
- assertTrue( new PrioritizedComponent<String>( "", String.class, Float.NaN, 0 ).isDisabled() );
- assertFalse( new PrioritizedComponent<String>( "", String.class, 0, 0 ).isDisabled() );
- assertFalse( new PrioritizedComponent<String>( "", String.class, 1, 0 ).isDisabled() );
- assertFalse( new PrioritizedComponent<String>( "", String.class, -1, 0 ).isDisabled() );
- }
-
- @Test
- public void testCompareTo()
- {
- assertCompare( 0, Float.NaN, Float.NaN );
- assertCompare( 0, 0, 0 );
-
- assertCompare( 1, 0, 1 );
- assertCompare( 1, 2, Float.POSITIVE_INFINITY );
- assertCompare( 1, Float.NEGATIVE_INFINITY, -3 );
-
- assertCompare( 1, Float.NaN, 0 );
- assertCompare( 1, Float.NaN, -1 );
- assertCompare( 1, Float.NaN, Float.NEGATIVE_INFINITY );
- assertCompare( 1, Float.NaN, Float.POSITIVE_INFINITY );
-
- assertCompare( -1, Float.NaN, 0, 1 );
- assertCompare( -1, 10, 0, 1 );
- }
-
- private void assertCompare( int expected, float priority1, float priority2 )
- {
- PrioritizedComponent<?> one = new PrioritizedComponent<String>( "", String.class, priority1, 0 );
- PrioritizedComponent<?> two = new PrioritizedComponent<String>( "", String.class, priority2, 0 );
- assertEquals( expected, one.compareTo( two ) );
- assertEquals( -expected, two.compareTo( one ) );
- }
-
- private void assertCompare( int expected, float priority, int index1, int index2 )
- {
- PrioritizedComponent<?> one = new PrioritizedComponent<String>( "", String.class, priority, index1 );
- PrioritizedComponent<?> two = new PrioritizedComponent<String>( "", String.class, priority, index2 );
- assertEquals( expected, one.compareTo( two ) );
- assertEquals( -expected, two.compareTo( one ) );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/PrioritizedComponentsTest.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/PrioritizedComponentsTest.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/PrioritizedComponentsTest.java
deleted file mode 100644
index 3f5a093..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/PrioritizedComponentsTest.java
+++ /dev/null
@@ -1,115 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 static org.junit.Assert.assertArrayEquals;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertSame;
-
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.concurrent.ThreadFactory;
-
-import org.eclipse.aether.ConfigurationProperties;
-import org.junit.Test;
-
-public class PrioritizedComponentsTest
-{
-
- @Test
- public void testGetConfigKeys()
- {
- String[] keys =
- { ConfigurationProperties.PREFIX_PRIORITY + "java.lang.String",
- ConfigurationProperties.PREFIX_PRIORITY + "String" };
- assertArrayEquals( keys, PrioritizedComponents.getConfigKeys( String.class ) );
-
- keys =
- new String[] { ConfigurationProperties.PREFIX_PRIORITY + "java.util.concurrent.ThreadFactory",
- ConfigurationProperties.PREFIX_PRIORITY + "ThreadFactory",
- ConfigurationProperties.PREFIX_PRIORITY + "Thread" };
- assertArrayEquals( keys, PrioritizedComponents.getConfigKeys( ThreadFactory.class ) );
- }
-
- @Test
- public void testAdd_PriorityOverride()
- {
- Exception comp1 = new IllegalArgumentException();
- Exception comp2 = new NullPointerException();
- Map<Object, Object> config = new HashMap<Object, Object>();
- config.put( ConfigurationProperties.PREFIX_PRIORITY + comp1.getClass().getName(), 6 );
- config.put( ConfigurationProperties.PREFIX_PRIORITY + comp2.getClass().getName(), 7 );
- PrioritizedComponents<Exception> components = new PrioritizedComponents<Exception>( config );
- components.add( comp1, 1 );
- components.add( comp2, 0 );
- List<PrioritizedComponent<Exception>> sorted = components.getEnabled();
- assertEquals( 2, sorted.size() );
- assertSame( comp2, sorted.get( 0 ).getComponent() );
- assertEquals( 7, sorted.get( 0 ).getPriority(), 0.1f );
- assertSame( comp1, sorted.get( 1 ).getComponent() );
- assertEquals( 6, sorted.get( 1 ).getPriority(), 0.1f );
- }
-
- @Test
- public void testAdd_ImplicitPriority()
- {
- Exception comp1 = new IllegalArgumentException();
- Exception comp2 = new NullPointerException();
- Map<Object, Object> config = new HashMap<Object, Object>();
- config.put( ConfigurationProperties.IMPLICIT_PRIORITIES, true );
- PrioritizedComponents<Exception> components = new PrioritizedComponents<Exception>( config );
- components.add( comp1, 1 );
- components.add( comp2, 2 );
- List<PrioritizedComponent<Exception>> sorted = components.getEnabled();
- assertEquals( 2, sorted.size() );
- assertSame( comp1, sorted.get( 0 ).getComponent() );
- assertSame( comp2, sorted.get( 1 ).getComponent() );
- }
-
- @Test
- public void testAdd_Disabled()
- {
- Exception comp1 = new IllegalArgumentException();
- Exception comp2 = new NullPointerException();
- Map<Object, Object> config = new HashMap<Object, Object>();
- PrioritizedComponents<Exception> components = new PrioritizedComponents<Exception>( config );
-
- components.add( new UnsupportedOperationException(), Float.NaN );
- List<PrioritizedComponent<Exception>> sorted = components.getEnabled();
- assertEquals( 0, sorted.size() );
-
- components.add( comp1, 1 );
- sorted = components.getEnabled();
- assertEquals( 1, sorted.size() );
- assertSame( comp1, sorted.get( 0 ).getComponent() );
-
- components.add( new Exception(), Float.NaN );
- sorted = components.getEnabled();
- assertEquals( 1, sorted.size() );
- assertSame( comp1, sorted.get( 0 ).getComponent() );
-
- components.add( comp2, 0 );
- sorted = components.getEnabled();
- assertEquals( 2, sorted.size() );
- assertSame( comp1, sorted.get( 0 ).getComponent() );
- assertSame( comp2, sorted.get( 1 ).getComponent() );
- }
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/RecordingRepositoryConnector.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/RecordingRepositoryConnector.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/RecordingRepositoryConnector.java
deleted file mode 100644
index bbb78bf..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/RecordingRepositoryConnector.java
+++ /dev/null
@@ -1,298 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 static org.junit.Assert.*;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.aether.RepositorySystemSession;
-import org.eclipse.aether.artifact.Artifact;
-import org.eclipse.aether.internal.test.util.TestFileUtils;
-import org.eclipse.aether.metadata.Metadata;
-import org.eclipse.aether.spi.connector.ArtifactDownload;
-import org.eclipse.aether.spi.connector.ArtifactUpload;
-import org.eclipse.aether.spi.connector.MetadataDownload;
-import org.eclipse.aether.spi.connector.MetadataUpload;
-import org.eclipse.aether.spi.connector.RepositoryConnector;
-import org.eclipse.aether.spi.connector.Transfer;
-import org.eclipse.aether.transfer.ArtifactTransferException;
-import org.eclipse.aether.transfer.MetadataTransferException;
-import org.eclipse.aether.transfer.TransferEvent;
-import org.eclipse.aether.transfer.TransferListener;
-import org.eclipse.aether.transfer.TransferResource;
-
-/**
- * A repository connector recording all get/put-requests and faking the results.
- */
-class RecordingRepositoryConnector
- implements RepositoryConnector
-{
-
- RepositorySystemSession session;
-
- boolean fail;
-
- private Artifact[] expectGet;
-
- private Artifact[] expectPut;
-
- private Metadata[] expectGetMD;
-
- private Metadata[] expectPutMD;
-
- private List<Artifact> actualGet = new ArrayList<Artifact>();
-
- private List<Metadata> actualGetMD = new ArrayList<Metadata>();
-
- private List<Artifact> actualPut = new ArrayList<Artifact>();
-
- private List<Metadata> actualPutMD = new ArrayList<Metadata>();
-
- public RecordingRepositoryConnector( RepositorySystemSession session, Artifact[] expectGet, Artifact[] expectPut,
- Metadata[] expectGetMD, Metadata[] expectPutMD )
- {
- this.session = session;
- this.expectGet = expectGet;
- this.expectPut = expectPut;
- this.expectGetMD = expectGetMD;
- this.expectPutMD = expectPutMD;
- }
-
- public RecordingRepositoryConnector( RepositorySystemSession session )
- {
- this.session = session;
- }
-
- public RecordingRepositoryConnector()
- {
- }
-
- public void get( Collection<? extends ArtifactDownload> artifactDownloads,
- Collection<? extends MetadataDownload> metadataDownloads )
- {
- try
- {
- if ( artifactDownloads != null )
- {
- for ( ArtifactDownload download : artifactDownloads )
- {
- fireInitiated( download );
- Artifact artifact = download.getArtifact();
- this.actualGet.add( artifact );
- if ( fail )
- {
- download.setException( new ArtifactTransferException( artifact, null, "forced failure" ) );
- }
- else
- {
- TestFileUtils.writeString( download.getFile(), artifact.toString() );
- }
- fireDone( download );
- }
- }
- if ( metadataDownloads != null )
- {
- for ( MetadataDownload download : metadataDownloads )
- {
- fireInitiated( download );
- Metadata metadata = download.getMetadata();
- this.actualGetMD.add( metadata );
- if ( fail )
- {
- download.setException( new MetadataTransferException( metadata, null, "forced failure" ) );
- }
- else
- {
- TestFileUtils.writeString( download.getFile(), metadata.toString() );
- }
- fireDone( download );
- }
- }
- }
- catch ( Exception e )
- {
- throw new IllegalStateException( e );
- }
- }
-
- public void put( Collection<? extends ArtifactUpload> artifactUploads,
- Collection<? extends MetadataUpload> metadataUploads )
- {
- try
- {
- if ( artifactUploads != null )
- {
- for ( ArtifactUpload upload : artifactUploads )
- {
- // mimic "real" connector
- fireInitiated( upload );
- if ( upload.getFile() == null )
- {
- upload.setException( new ArtifactTransferException( upload.getArtifact(), null, "no file" ) );
- }
- else if ( fail )
- {
- upload.setException( new ArtifactTransferException( upload.getArtifact(), null,
- "forced failure" ) );
- }
- this.actualPut.add( upload.getArtifact() );
- fireDone( upload );
- }
- }
- if ( metadataUploads != null )
- {
- for ( MetadataUpload upload : metadataUploads )
- {
- // mimic "real" connector
- fireInitiated( upload );
- if ( upload.getFile() == null )
- {
- upload.setException( new MetadataTransferException( upload.getMetadata(), null, "no file" ) );
- }
- else if ( fail )
- {
- upload.setException( new MetadataTransferException( upload.getMetadata(), null,
- "forced failure" ) );
- }
- this.actualPutMD.add( upload.getMetadata() );
- fireDone( upload );
- }
- }
- }
- catch ( Exception e )
- {
- throw new IllegalStateException( e );
- }
- }
-
- private void fireInitiated( Transfer transfer )
- throws Exception
- {
- TransferListener listener = transfer.getListener();
- if ( listener == null )
- {
- return;
- }
- TransferEvent.Builder event =
- new TransferEvent.Builder( session, new TransferResource( null, null, null, transfer.getTrace() ) );
- event.setType( TransferEvent.EventType.INITIATED );
- listener.transferInitiated( event.build() );
- }
-
- private void fireDone( Transfer transfer )
- throws Exception
- {
- TransferListener listener = transfer.getListener();
- if ( listener == null )
- {
- return;
- }
- TransferEvent.Builder event =
- new TransferEvent.Builder( session, new TransferResource( null, null, null, transfer.getTrace() ) );
- event.setException( transfer.getException() );
- if ( transfer.getException() != null )
- {
- listener.transferFailed( event.setType( TransferEvent.EventType.FAILED ).build() );
- }
- else
- {
- listener.transferSucceeded( event.setType( TransferEvent.EventType.SUCCEEDED ).build() );
- }
- }
-
- public void close()
- {
- }
-
- public void assertSeenExpected()
- {
- assertSeenExpected( actualGet, expectGet );
- assertSeenExpected( actualGetMD, expectGetMD );
- assertSeenExpected( actualPut, expectPut );
- assertSeenExpected( actualPutMD, expectPutMD );
- }
-
- private void assertSeenExpected( List<? extends Object> actual, Object[] expected )
- {
- if ( expected == null )
- {
- expected = new Object[0];
- }
-
- assertEquals( "different number of expected and actual elements:\n", expected.length, actual.size() );
- int idx = 0;
- for ( Object actualObject : actual )
- {
- assertEquals( "seen object differs", expected[idx++], actualObject );
- }
- }
-
- public List<Artifact> getActualArtifactGetRequests()
- {
- return actualGet;
- }
-
- public List<Metadata> getActualMetadataGetRequests()
- {
- return actualGetMD;
- }
-
- public List<Artifact> getActualArtifactPutRequests()
- {
- return actualPut;
- }
-
- public List<Metadata> getActualMetadataPutRequests()
- {
- return actualPutMD;
- }
-
- public void setExpectGet( Artifact... expectGet )
- {
- this.expectGet = expectGet;
- }
-
- public void setExpectPut( Artifact... expectPut )
- {
- this.expectPut = expectPut;
- }
-
- public void setExpectGet( Metadata... expectGetMD )
- {
- this.expectGetMD = expectGetMD;
- }
-
- public void setExpectPut( Metadata... expectPutMD )
- {
- this.expectPutMD = expectPutMD;
- }
-
- public void resetActual()
- {
- this.actualGet = new ArrayList<Artifact>();
- this.actualGetMD = new ArrayList<Metadata>();
- this.actualPut = new ArrayList<Artifact>();
- this.actualPutMD = new ArrayList<Metadata>();
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/RecordingRepositoryListener.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/RecordingRepositoryListener.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/RecordingRepositoryListener.java
deleted file mode 100644
index a6f91f1..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/RecordingRepositoryListener.java
+++ /dev/null
@@ -1,143 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.aether.RepositoryEvent;
-import org.eclipse.aether.RepositoryListener;
-
-/**
- * Collects observed repository events for later inspection.
- */
-class RecordingRepositoryListener
- implements RepositoryListener
-{
-
- private List<RepositoryEvent> events = Collections.synchronizedList( new ArrayList<RepositoryEvent>() );
-
- public List<RepositoryEvent> getEvents()
- {
- return events;
- }
-
- public void clear()
- {
- events.clear();
- }
-
- public void artifactDescriptorInvalid( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void artifactDescriptorMissing( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void metadataInvalid( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void artifactResolving( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void artifactResolved( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void artifactDownloading( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void artifactDownloaded( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void metadataDownloaded( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void metadataDownloading( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void metadataResolving( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void metadataResolved( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void artifactInstalling( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void artifactInstalled( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void metadataInstalling( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void metadataInstalled( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void artifactDeploying( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void artifactDeployed( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void metadataDeploying( RepositoryEvent event )
- {
- events.add( event );
- }
-
- public void metadataDeployed( RepositoryEvent event )
- {
- events.add( event );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/SafeTransferListenerTest.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/SafeTransferListenerTest.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/SafeTransferListenerTest.java
deleted file mode 100644
index 6d7a6fe..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/SafeTransferListenerTest.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 static org.junit.Assert.*;
-
-import java.lang.reflect.Method;
-
-import org.eclipse.aether.transfer.TransferListener;
-import org.junit.Test;
-
-/**
- */
-public class SafeTransferListenerTest
-{
-
- @Test
- public void testAllEventTypesHandled()
- throws Exception
- {
- Class<?> type = SafeTransferListener.class;
- for ( Method method : TransferListener.class.getMethods() )
- {
- assertNotNull( type.getDeclaredMethod( method.getName(), method.getParameterTypes() ) );
- }
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/SimpleLocalRepositoryManagerTest.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/SimpleLocalRepositoryManagerTest.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/SimpleLocalRepositoryManagerTest.java
deleted file mode 100644
index a301bd4..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/SimpleLocalRepositoryManagerTest.java
+++ /dev/null
@@ -1,118 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 static org.junit.Assert.*;
-
-import java.io.File;
-import java.io.IOException;
-
-import org.eclipse.aether.RepositorySystemSession;
-import org.eclipse.aether.artifact.Artifact;
-import org.eclipse.aether.artifact.DefaultArtifact;
-import org.eclipse.aether.internal.impl.SimpleLocalRepositoryManager;
-import org.eclipse.aether.internal.test.util.TestFileUtils;
-import org.eclipse.aether.internal.test.util.TestUtils;
-import org.eclipse.aether.repository.LocalArtifactRequest;
-import org.eclipse.aether.repository.LocalArtifactResult;
-import org.eclipse.aether.repository.RemoteRepository;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- */
-public class SimpleLocalRepositoryManagerTest
-{
-
- private File basedir;
-
- private SimpleLocalRepositoryManager manager;
-
- private RepositorySystemSession session;
-
- @Before
- public void setup()
- throws IOException
- {
- basedir = TestFileUtils.createTempDir( "simple-repo" );
- manager = new SimpleLocalRepositoryManager( basedir );
- session = TestUtils.newSession();
- }
-
- @After
- public void tearDown()
- throws Exception
- {
- TestFileUtils.deleteFile( basedir );
- manager = null;
- session = null;
- }
-
- @Test
- public void testGetPathForLocalArtifact()
- throws Exception
- {
- Artifact artifact = new DefaultArtifact( "g.i.d:a.i.d:1.0-SNAPSHOT" );
- assertEquals( "1.0-SNAPSHOT", artifact.getBaseVersion() );
- assertEquals( "g/i/d/a.i.d/1.0-SNAPSHOT/a.i.d-1.0-SNAPSHOT.jar", manager.getPathForLocalArtifact( artifact ) );
-
- artifact = new DefaultArtifact( "g.i.d:a.i.d:1.0-20110329.221805-4" );
- assertEquals( "1.0-SNAPSHOT", artifact.getBaseVersion() );
- assertEquals( "g/i/d/a.i.d/1.0-SNAPSHOT/a.i.d-1.0-SNAPSHOT.jar", manager.getPathForLocalArtifact( artifact ) );
-
- artifact = new DefaultArtifact( "g.i.d", "a.i.d", "", "", "1.0-SNAPSHOT" );
- assertEquals( "g/i/d/a.i.d/1.0-SNAPSHOT/a.i.d-1.0-SNAPSHOT", manager.getPathForLocalArtifact( artifact ) );
- }
-
- @Test
- public void testGetPathForRemoteArtifact()
- throws Exception
- {
- RemoteRepository remoteRepo = new RemoteRepository.Builder( "repo", "default", "ram:/void" ).build();
-
- Artifact artifact = new DefaultArtifact( "g.i.d:a.i.d:1.0-SNAPSHOT" );
- assertEquals( "1.0-SNAPSHOT", artifact.getBaseVersion() );
- assertEquals( "g/i/d/a.i.d/1.0-SNAPSHOT/a.i.d-1.0-SNAPSHOT.jar",
- manager.getPathForRemoteArtifact( artifact, remoteRepo, "" ) );
-
- artifact = new DefaultArtifact( "g.i.d:a.i.d:1.0-20110329.221805-4" );
- assertEquals( "1.0-SNAPSHOT", artifact.getBaseVersion() );
- assertEquals( "g/i/d/a.i.d/1.0-SNAPSHOT/a.i.d-1.0-20110329.221805-4.jar",
- manager.getPathForRemoteArtifact( artifact, remoteRepo, "" ) );
- }
-
- @Test
- public void testFindArtifactUsesTimestampedVersion()
- throws Exception
- {
- Artifact artifact = new DefaultArtifact( "g.i.d:a.i.d:1.0-SNAPSHOT" );
- File file = new File( basedir, manager.getPathForLocalArtifact( artifact ) );
- TestFileUtils.writeString( file, "test" );
-
- artifact = artifact.setVersion( "1.0-20110329.221805-4" );
- LocalArtifactRequest request = new LocalArtifactRequest();
- request.setArtifact( artifact );
- LocalArtifactResult result = manager.find( session, request );
- assertNull( result.toString(), result.getFile() );
- assertFalse( result.toString(), result.isAvailable() );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StaticUpdateCheckManager.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StaticUpdateCheckManager.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StaticUpdateCheckManager.java
deleted file mode 100644
index 7810089..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StaticUpdateCheckManager.java
+++ /dev/null
@@ -1,87 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 org.eclipse.aether.RepositorySystemSession;
-import org.eclipse.aether.artifact.Artifact;
-import org.eclipse.aether.impl.UpdateCheck;
-import org.eclipse.aether.impl.UpdateCheckManager;
-import org.eclipse.aether.metadata.Metadata;
-import org.eclipse.aether.transfer.ArtifactNotFoundException;
-import org.eclipse.aether.transfer.ArtifactTransferException;
-import org.eclipse.aether.transfer.MetadataNotFoundException;
-import org.eclipse.aether.transfer.MetadataTransferException;
-
-class StaticUpdateCheckManager
- implements UpdateCheckManager
-{
-
- private boolean checkRequired;
-
- private boolean localUpToDate;
-
- public StaticUpdateCheckManager( boolean checkRequired )
- {
- this( checkRequired, !checkRequired );
- }
-
- public StaticUpdateCheckManager( boolean checkRequired, boolean localUpToDate )
- {
- this.checkRequired = checkRequired;
- this.localUpToDate = localUpToDate;
- }
-
- public void touchMetadata( RepositorySystemSession session, UpdateCheck<Metadata, MetadataTransferException> check )
- {
- }
-
- public void touchArtifact( RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check )
- {
- }
-
- public void checkMetadata( RepositorySystemSession session, UpdateCheck<Metadata, MetadataTransferException> check )
- {
- check.setRequired( checkRequired );
-
- if ( check.getLocalLastUpdated() != 0 && localUpToDate )
- {
- check.setRequired( false );
- }
- if ( !check.isRequired() && !check.getFile().isFile() )
- {
- check.setException( new MetadataNotFoundException( check.getItem(), check.getRepository() ) );
- }
- }
-
- public void checkArtifact( RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check )
- {
- check.setRequired( checkRequired );
-
- if ( check.getLocalLastUpdated() != 0 && localUpToDate )
- {
- check.setRequired( false );
- }
- if ( !check.isRequired() && !check.getFile().isFile() )
- {
- check.setException( new ArtifactNotFoundException( check.getItem(), check.getRepository() ) );
- }
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRemoteRepositoryManager.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRemoteRepositoryManager.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRemoteRepositoryManager.java
deleted file mode 100644
index 1836a04..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRemoteRepositoryManager.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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.util.List;
-
-import org.eclipse.aether.RepositorySystemSession;
-import org.eclipse.aether.impl.RemoteRepositoryManager;
-import org.eclipse.aether.repository.RemoteRepository;
-import org.eclipse.aether.repository.RepositoryPolicy;
-import org.eclipse.aether.util.StringUtils;
-
-class StubRemoteRepositoryManager
- implements RemoteRepositoryManager
-{
-
- public StubRemoteRepositoryManager()
- {
- }
-
- public List<RemoteRepository> aggregateRepositories( RepositorySystemSession session,
- List<RemoteRepository> dominantRepositories,
- List<RemoteRepository> recessiveRepositories,
- boolean recessiveIsRaw )
- {
- return dominantRepositories;
- }
-
- public RepositoryPolicy getPolicy( RepositorySystemSession session, RemoteRepository repository, boolean releases,
- boolean snapshots )
- {
- RepositoryPolicy policy = repository.getPolicy( snapshots );
-
- String checksums = session.getChecksumPolicy();
- if ( StringUtils.isEmpty( checksums ) )
- {
- checksums = policy.getChecksumPolicy();
- }
- String updates = session.getUpdatePolicy();
- if ( StringUtils.isEmpty( updates ) )
- {
- updates = policy.getUpdatePolicy();
- }
-
- policy = new RepositoryPolicy( policy.isEnabled(), updates, checksums );
-
- return policy;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRepositoryConnectorProvider.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRepositoryConnectorProvider.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRepositoryConnectorProvider.java
deleted file mode 100644
index 3cb5e38..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRepositoryConnectorProvider.java
+++ /dev/null
@@ -1,54 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 org.eclipse.aether.RepositorySystemSession;
-import org.eclipse.aether.impl.RepositoryConnectorProvider;
-import org.eclipse.aether.repository.RemoteRepository;
-import org.eclipse.aether.spi.connector.RepositoryConnector;
-import org.eclipse.aether.transfer.NoRepositoryConnectorException;
-
-class StubRepositoryConnectorProvider
- implements RepositoryConnectorProvider
-{
-
- public StubRepositoryConnectorProvider( RepositoryConnector connector )
- {
- setConnector( connector );
- }
-
- public StubRepositoryConnectorProvider()
- {
- }
-
- private RepositoryConnector connector;
-
- public void setConnector( RepositoryConnector connector )
- {
- this.connector = connector;
- }
-
- public RepositoryConnector newRepositoryConnector( RepositorySystemSession session, RemoteRepository repository )
- throws NoRepositoryConnectorException
- {
- return connector;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRepositoryEventDispatcher.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRepositoryEventDispatcher.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRepositoryEventDispatcher.java
deleted file mode 100644
index b5168e4..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubRepositoryEventDispatcher.java
+++ /dev/null
@@ -1,104 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 org.eclipse.aether.RepositoryEvent;
-import org.eclipse.aether.RepositoryListener;
-import org.eclipse.aether.impl.RepositoryEventDispatcher;
-
-/**
- */
-public class StubRepositoryEventDispatcher
- implements RepositoryEventDispatcher
-{
-
- public void dispatch( RepositoryEvent event )
- {
- RepositoryListener listener = event.getSession().getRepositoryListener();
- if ( listener == null )
- {
- return;
- }
-
- switch ( event.getType() )
- {
- case ARTIFACT_DEPLOYED:
- listener.artifactDeployed( event );
- break;
- case ARTIFACT_DEPLOYING:
- listener.artifactDeploying( event );
- break;
- case ARTIFACT_DESCRIPTOR_INVALID:
- listener.artifactDescriptorInvalid( event );
- break;
- case ARTIFACT_DESCRIPTOR_MISSING:
- listener.artifactDescriptorMissing( event );
- break;
- case ARTIFACT_DOWNLOADED:
- listener.artifactDownloaded( event );
- break;
- case ARTIFACT_DOWNLOADING:
- listener.artifactDownloading( event );
- break;
- case ARTIFACT_INSTALLED:
- listener.artifactInstalled( event );
- break;
- case ARTIFACT_INSTALLING:
- listener.artifactInstalling( event );
- break;
- case ARTIFACT_RESOLVED:
- listener.artifactResolved( event );
- break;
- case ARTIFACT_RESOLVING:
- listener.artifactResolving( event );
- break;
- case METADATA_DEPLOYED:
- listener.metadataDeployed( event );
- break;
- case METADATA_DEPLOYING:
- listener.metadataDeploying( event );
- break;
- case METADATA_DOWNLOADED:
- listener.metadataDownloaded( event );
- break;
- case METADATA_DOWNLOADING:
- listener.metadataDownloading( event );
- break;
- case METADATA_INSTALLED:
- listener.metadataInstalled( event );
- break;
- case METADATA_INSTALLING:
- listener.metadataInstalling( event );
- break;
- case METADATA_INVALID:
- listener.metadataInvalid( event );
- break;
- case METADATA_RESOLVED:
- listener.metadataResolved( event );
- break;
- case METADATA_RESOLVING:
- listener.metadataResolving( event );
- break;
- default:
- throw new IllegalStateException( "unknown repository event type " + event.getType() );
- }
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubSyncContextFactory.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubSyncContextFactory.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubSyncContextFactory.java
deleted file mode 100644
index 91d2988..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubSyncContextFactory.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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.util.Collection;
-
-import org.eclipse.aether.RepositorySystemSession;
-import org.eclipse.aether.SyncContext;
-import org.eclipse.aether.artifact.Artifact;
-import org.eclipse.aether.impl.SyncContextFactory;
-import org.eclipse.aether.metadata.Metadata;
-
-/**
- *
- */
-public class StubSyncContextFactory
- implements SyncContextFactory
-{
-
- public SyncContext newInstance( RepositorySystemSession session, boolean shared )
- {
- return new SyncContext()
- {
- public void close()
- {
- }
-
- public void acquire( Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas )
- {
- }
- };
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubVersionRangeResolver.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubVersionRangeResolver.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubVersionRangeResolver.java
deleted file mode 100644
index ae415d7..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubVersionRangeResolver.java
+++ /dev/null
@@ -1,78 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 org.eclipse.aether.RepositorySystemSession;
-import org.eclipse.aether.impl.VersionRangeResolver;
-import org.eclipse.aether.resolution.VersionRangeRequest;
-import org.eclipse.aether.resolution.VersionRangeResolutionException;
-import org.eclipse.aether.resolution.VersionRangeResult;
-import org.eclipse.aether.util.version.GenericVersionScheme;
-import org.eclipse.aether.version.InvalidVersionSpecificationException;
-import org.eclipse.aether.version.Version;
-import org.eclipse.aether.version.VersionConstraint;
-import org.eclipse.aether.version.VersionScheme;
-
-/**
- */
-public class StubVersionRangeResolver
- implements VersionRangeResolver
-{
-
- private final VersionScheme versionScheme = new GenericVersionScheme();
-
- public VersionRangeResult resolveVersionRange( RepositorySystemSession session, VersionRangeRequest request )
- throws VersionRangeResolutionException
- {
- VersionRangeResult result = new VersionRangeResult( request );
- try
- {
- VersionConstraint constraint = versionScheme.parseVersionConstraint( request.getArtifact().getVersion() );
- result.setVersionConstraint( constraint );
- if ( constraint.getRange() == null )
- {
- result.addVersion( constraint.getVersion() );
- }
- else
- {
- for ( int i = 1; i < 10; i++ )
- {
- Version ver = versionScheme.parseVersion( Integer.toString( i ) );
- if ( constraint.containsVersion( ver ) )
- {
- result.addVersion( ver );
- if ( !request.getRepositories().isEmpty() )
- {
- result.setRepository( ver, request.getRepositories().get( 0 ) );
- }
- }
- }
- }
- }
- catch ( InvalidVersionSpecificationException e )
- {
- result.addException( e );
- throw new VersionRangeResolutionException( result );
- }
-
- return result;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubVersionResolver.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubVersionResolver.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubVersionResolver.java
deleted file mode 100644
index 719e5bc..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/StubVersionResolver.java
+++ /dev/null
@@ -1,46 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 org.eclipse.aether.RepositorySystemSession;
-import org.eclipse.aether.impl.VersionResolver;
-import org.eclipse.aether.resolution.VersionRequest;
-import org.eclipse.aether.resolution.VersionResolutionException;
-import org.eclipse.aether.resolution.VersionResult;
-
-/* *
- */
-class StubVersionResolver
- implements VersionResolver
-{
-
- public VersionResult resolveVersion( RepositorySystemSession session, VersionRequest request )
- throws VersionResolutionException
- {
- VersionResult result = new VersionResult( request ).setVersion( request.getArtifact().getVersion() );
- if ( request.getRepositories().size() > 0 )
- {
- result = result.setRepository( request.getRepositories().get( 0 ) );
- }
- return result;
-
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/TrackingFileManagerTest.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/TrackingFileManagerTest.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/TrackingFileManagerTest.java
deleted file mode 100644
index d730d7e..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/TrackingFileManagerTest.java
+++ /dev/null
@@ -1,168 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 static org.junit.Assert.*;
-
-import java.io.File;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Properties;
-
-import org.eclipse.aether.internal.impl.TrackingFileManager;
-import org.eclipse.aether.internal.test.util.TestFileUtils;
-import org.junit.Test;
-
-/**
- */
-public class TrackingFileManagerTest
-{
-
- @Test
- public void testRead()
- throws Exception
- {
- TrackingFileManager tfm = new TrackingFileManager();
-
- File propFile = TestFileUtils.createTempFile( "#COMMENT\nkey1=value1\nkey2 : value2" );
- Properties props = tfm.read( propFile );
-
- assertNotNull( props );
- assertEquals( String.valueOf( props ), 2, props.size() );
- assertEquals( "value1", props.get( "key1" ) );
- assertEquals( "value2", props.get( "key2" ) );
-
- assertTrue( "Leaked file: " + propFile, propFile.delete() );
-
- props = tfm.read( propFile );
- assertNull( String.valueOf( props ), props );
- }
-
- @Test
- public void testReadNoFileLeak()
- throws Exception
- {
- TrackingFileManager tfm = new TrackingFileManager();
-
- for ( int i = 0; i < 1000; i++ )
- {
- File propFile = TestFileUtils.createTempFile( "#COMMENT\nkey1=value1\nkey2 : value2" );
- assertNotNull( tfm.read( propFile ) );
- assertTrue( "Leaked file: " + propFile, propFile.delete() );
- }
- }
-
- @Test
- public void testUpdate()
- throws Exception
- {
- TrackingFileManager tfm = new TrackingFileManager();
-
- // NOTE: The excessive repetitions are to check the update properly truncates the file
- File propFile = TestFileUtils.createTempFile( "key1=value1\nkey2 : value2\n".getBytes( "UTF-8" ), 1000 );
-
- Map<String, String> updates = new HashMap<String, String>();
- updates.put( "key1", "v" );
- updates.put( "key2", null );
-
- tfm.update( propFile, updates );
-
- Properties props = tfm.read( propFile );
-
- assertNotNull( props );
- assertEquals( String.valueOf( props ), 1, props.size() );
- assertEquals( "v", props.get( "key1" ) );
- assertNull( String.valueOf( props.get( "key2" ) ), props.get( "key2" ) );
- }
-
- @Test
- public void testUpdateNoFileLeak()
- throws Exception
- {
- TrackingFileManager tfm = new TrackingFileManager();
-
- Map<String, String> updates = new HashMap<String, String>();
- updates.put( "k", "v" );
-
- for ( int i = 0; i < 1000; i++ )
- {
- File propFile = TestFileUtils.createTempFile( "#COMMENT\nkey1=value1\nkey2 : value2" );
- assertNotNull( tfm.update( propFile, updates ) );
- assertTrue( "Leaked file: " + propFile, propFile.delete() );
- }
- }
-
- @Test
- public void testLockingOnCanonicalPath()
- throws Exception
- {
- final TrackingFileManager tfm = new TrackingFileManager();
-
- final File propFile = TestFileUtils.createTempFile( "#COMMENT\nkey1=value1\nkey2 : value2" );
-
- final List<Throwable> errors = Collections.synchronizedList( new ArrayList<Throwable>() );
-
- Thread[] threads = new Thread[4];
- for ( int i = 0; i < threads.length; i++ )
- {
- String path = propFile.getParent();
- for ( int j = 0; j < i; j++ )
- {
- path += "/.";
- }
- path += "/" + propFile.getName();
- final File file = new File( path );
-
- threads[i] = new Thread()
- {
- public void run()
- {
- try
- {
- for ( int i = 0; i < 1000; i++ )
- {
- assertNotNull( tfm.read( file ) );
- }
- }
- catch ( Throwable e )
- {
- errors.add( e );
- }
- }
- };
- }
-
- for ( Thread thread1 : threads )
- {
- thread1.start();
- }
-
- for ( Thread thread : threads )
- {
- thread.join();
- }
-
- assertEquals( Collections.emptyList(), errors );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/java/org/eclipse/aether/internal/impl/WarnChecksumPolicyTest.java
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/WarnChecksumPolicyTest.java b/aether-impl/src/test/java/org/eclipse/aether/internal/impl/WarnChecksumPolicyTest.java
deleted file mode 100644
index 78fd807..0000000
--- a/aether-impl/src/test/java/org/eclipse/aether/internal/impl/WarnChecksumPolicyTest.java
+++ /dev/null
@@ -1,94 +0,0 @@
-package org.eclipse.aether.internal.impl;
-
-/*
- * 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 static org.junit.Assert.*;
-
-import org.eclipse.aether.spi.connector.checksum.ChecksumPolicy;
-import org.eclipse.aether.transfer.ChecksumFailureException;
-import org.eclipse.aether.transfer.TransferResource;
-import org.junit.Before;
-import org.junit.Test;
-
-public class WarnChecksumPolicyTest
-{
-
- private WarnChecksumPolicy policy;
-
- private ChecksumFailureException exception;
-
- @Before
- public void setup()
- {
- policy = new WarnChecksumPolicy( null, new TransferResource( "file:/dev/null", "file.txt", null, null ) );
- exception = new ChecksumFailureException( "test" );
- }
-
- @Test
- public void testOnTransferChecksumFailure()
- {
- assertTrue( policy.onTransferChecksumFailure( exception ) );
- }
-
- @Test
- public void testOnChecksumMatch()
- {
- assertTrue( policy.onChecksumMatch( "SHA-1", 0 ) );
- assertTrue( policy.onChecksumMatch( "SHA-1", ChecksumPolicy.KIND_UNOFFICIAL ) );
- }
-
- @Test
- public void testOnChecksumMismatch()
- throws Exception
- {
- try
- {
- policy.onChecksumMismatch( "SHA-1", 0, exception );
- fail( "No exception" );
- }
- catch ( ChecksumFailureException e )
- {
- assertSame( exception, e );
- }
- policy.onChecksumMismatch( "SHA-1", ChecksumPolicy.KIND_UNOFFICIAL, exception );
- }
-
- @Test
- public void testOnChecksumError()
- throws Exception
- {
- policy.onChecksumError( "SHA-1", 0, exception );
- }
-
- @Test
- public void testOnNoMoreChecksums()
- {
- try
- {
- policy.onNoMoreChecksums();
- fail( "No exception" );
- }
- catch ( ChecksumFailureException e )
- {
- assertTrue( e.getMessage().contains( "no checksums available" ) );
- }
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_117_4.0-SNAPSHOT.ini
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_117_4.0-SNAPSHOT.ini b/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_117_4.0-SNAPSHOT.ini
deleted file mode 100644
index 512f92d..0000000
--- a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_117_4.0-SNAPSHOT.ini
+++ /dev/null
@@ -1,56 +0,0 @@
-[dependencies]
-1:13:pom:1.7.0-SNAPSHOT
-1:44:pom:1.3-SNAPSHOT
-1:118:pom:10.2.2.0-SNAPSHOT
-1:23:pom:1.2.6_sap.1-SNAPSHOT
-1:74:pom:3.5.0-SNAPSHOT
-1:64:pom:1.3-SNAPSHOT
-1:14:pom:2.5.2-SNAPSHOT
-1:8:pom:2.1.0-SNAPSHOT
-1:8:pom:2.7.0-SNAPSHOT
-1:47:pom:2.6.2-SNAPSHOT
-1:86:pom:7.13.2-SNAPSHOT
-1:67:pom:1.6.5-SNAPSHOT
-1:4:pom:2.5.4-SNAPSHOT
-1:17:pom:1.2.3-SNAPSHOT
-1:26:pom:3.0.1-SNAPSHOT
-1:68:pom:3.8.1-SNAPSHOT
-1:2:pom:5.50-SNAPSHOT
-1:55:pom:4.4-SNAPSHOT
-1:78:pom:2.6-SNAPSHOT
-1:36:pom:2.0-SNAPSHOT
-1:9:pom:3.1-SNAPSHOT
-1:32:pom:720-SNAPSHOT
-1:33:pom:711-SNAPSHOT
-1:27:pom:6.0-SNAPSHOT
-1:20:pom:3.3.2-SNAPSHOT
-1:57:pom:4.0.5-SNAPSHOT
-1:119:pom:1.0-SNAPSHOT
-1:6:pom:1.5.8-SNAPSHOT
-1:7:pom:5.8.8-SNAPSHOT
-1:38:pom:1.3.6-SNAPSHOT
-1:115:pom:4.2.1-SNAPSHOT
-1:28:pom:4.1-SNAPSHOT
-1:19:pom:6.3-SNAPSHOT
-1:31:pom:2.2-SNAPSHOT
-1:5:pom:1.5-SNAPSHOT
-1:5:pom:1.6-SNAPSHOT
-1:61:pom:1.1-SNAPSHOT
-1:120:pom:1.0-SNAPSHOT
-1:71:pom:1.1.3.8-SNAPSHOT
-10:121:pom:3.0-SNAPSHOT
-10:22:pom:4.0-SNAPSHOT
-10:172:pom:4.0-SNAPSHOT
-10:349:pom:4.0-SNAPSHOT
-10:139:pom:3.0-SNAPSHOT
-10:205:pom:4.0-SNAPSHOT
-10:180:pom:3.1-SNAPSHOT
-10:11:pom:4.0-SNAPSHOT
-10:226:pom:4.0-SNAPSHOT
-10:141:pom:4.0-SNAPSHOT
-10:145:pom:4.0-SNAPSHOT
-10:212:pom:4.0-SNAPSHOT
-10:152:pom:4.0-SNAPSHOT
-10:242:pom:4.0-SNAPSHOT
-10:146:pom:4.0-SNAPSHOT
-10:147:pom:4.0-SNAPSHOT
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_117_4.1-SNAPSHOT.ini
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_117_4.1-SNAPSHOT.ini b/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_117_4.1-SNAPSHOT.ini
deleted file mode 100644
index 406175c..0000000
--- a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_117_4.1-SNAPSHOT.ini
+++ /dev/null
@@ -1,58 +0,0 @@
-[dependencies]
-1:13:pom:1.7.0-SNAPSHOT
-1:44:pom:1.3-SNAPSHOT
-1:118:pom:10.2.2.0-SNAPSHOT
-1:23:pom:1.2.6_sap.1-SNAPSHOT
-1:74:pom:3.5.0-SNAPSHOT
-1:64:pom:1.3-SNAPSHOT
-1:14:pom:2.5.2-SNAPSHOT
-1:8:pom:2.1.0-SNAPSHOT
-1:8:pom:2.7.0-SNAPSHOT
-1:47:pom:2.6.2-SNAPSHOT
-1:86:pom:7.13.2-SNAPSHOT
-1:67:pom:1.6.5-SNAPSHOT
-1:4:pom:2.5.4-SNAPSHOT
-1:17:pom:1.2.3-SNAPSHOT
-1:26:pom:3.0.1-SNAPSHOT
-1:68:pom:3.8.1-SNAPSHOT
-1:2:pom:5.50-SNAPSHOT
-1:55:pom:4.8.2-SNAPSHOT
-1:78:pom:2.6-SNAPSHOT
-1:36:pom:2.0-SNAPSHOT
-1:9:pom:3.1-SNAPSHOT
-1:32:pom:720-SNAPSHOT
-1:33:pom:711-SNAPSHOT
-1:27:pom:6.0-SNAPSHOT
-1:20:pom:3.3.2-SNAPSHOT
-1:57:pom:4.0.5-SNAPSHOT
-1:119:pom:1.0-SNAPSHOT
-1:6:pom:1.5.8-SNAPSHOT
-1:7:pom:5.8.8-SNAPSHOT
-1:38:pom:1.3.6-SNAPSHOT
-1:115:pom:4.2.1-SNAPSHOT
-1:28:pom:4.1-SNAPSHOT
-1:19:pom:6.3-SNAPSHOT
-1:31:pom:2.2-SNAPSHOT
-1:5:pom:1.5-SNAPSHOT
-1:5:pom:1.6-SNAPSHOT
-1:61:pom:1.1-SNAPSHOT
-1:120:pom:1.0-SNAPSHOT
-1:71:pom:1.1.3.8-SNAPSHOT
-10:121:pom:3.1-SNAPSHOT
-10:359:pom:4.1-SNAPSHOT
-10:22:pom:4.1-SNAPSHOT
-10:172:pom:4.1-SNAPSHOT
-10:349:pom:4.1-SNAPSHOT
-10:357:pom:4.1-SNAPSHOT
-10:139:pom:3.1-SNAPSHOT
-10:205:pom:4.1-SNAPSHOT
-10:180:pom:3.2-SNAPSHOT
-10:11:pom:4.1-SNAPSHOT
-10:226:pom:4.1-SNAPSHOT
-10:141:pom:4.1-SNAPSHOT
-10:145:pom:4.1-SNAPSHOT
-10:212:pom:4.1-SNAPSHOT
-10:152:pom:4.1-SNAPSHOT
-10:242:pom:4.1-SNAPSHOT
-10:146:pom:4.1-SNAPSHOT
-10:147:pom:4.1-SNAPSHOT
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_11_4.0-SNAPSHOT.ini
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_11_4.0-SNAPSHOT.ini b/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_11_4.0-SNAPSHOT.ini
deleted file mode 100644
index bb59696..0000000
--- a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_11_4.0-SNAPSHOT.ini
+++ /dev/null
@@ -1,10 +0,0 @@
-[dependencies]
-10:12:pom:4.0-SNAPSHOT
-10:42:pom:4.0-SNAPSHOT
-1:118:pom:10.2.2.0-SNAPSHOT
-1:6:pom:1.5.8-SNAPSHOT
-1:19:pom:6.3-SNAPSHOT
-1:208:pom:10.0-SNAPSHOT
-1:264:pom:6.2-SNAPSHOT
-1:371:pom:822-SNAPSHOT
-1:40:pom:6.1-SNAPSHOT
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_11_4.1-SNAPSHOT.ini
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_11_4.1-SNAPSHOT.ini b/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_11_4.1-SNAPSHOT.ini
deleted file mode 100644
index cce6222..0000000
--- a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_11_4.1-SNAPSHOT.ini
+++ /dev/null
@@ -1,10 +0,0 @@
-[dependencies]
-10:12:pom:4.1-SNAPSHOT
-10:42:pom:4.1-SNAPSHOT
-1:118:pom:10.2.2.0-SNAPSHOT
-1:6:pom:1.5.8-SNAPSHOT
-1:19:pom:6.3-SNAPSHOT
-1:208:pom:10.0-SNAPSHOT
-1:264:pom:6.2-SNAPSHOT
-1:371:pom:822-SNAPSHOT
-1:40:pom:6.1-SNAPSHOT
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_121_3.0-SNAPSHOT.ini
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_121_3.0-SNAPSHOT.ini b/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_121_3.0-SNAPSHOT.ini
deleted file mode 100644
index 1a99901..0000000
--- a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_121_3.0-SNAPSHOT.ini
+++ /dev/null
@@ -1,65 +0,0 @@
-[dependencies]
-1:122:pom:3.1.1-SNAPSHOT
-1:123:pom:3.1.1-SNAPSHOT
-1:13:pom:1.7.0-SNAPSHOT
-1:8:pom:2.7.0-SNAPSHOT
-1:50:pom:3.4-SNAPSHOT
-1:4:pom:2.5.4-SNAPSHOT
-1:3:pom:1.28-SNAPSHOT
-1:17:pom:1.2.3-SNAPSHOT
-1:124:pom:2.2-SNAPSHOT
-1:125:pom:8.1-SNAPSHOT
-1:125:pom:9.1-SNAPSHOT
-1:125:pom:9.5-SNAPSHOT
-1:26:pom:3.0.1-SNAPSHOT
-1:126:pom:2.81-SNAPSHOT
-1:126:pom:2.90-SNAPSHOT
-1:126:pom:3.50-SNAPSHOT
-1:127:pom:6.20-SNAPSHOT
-1:127:pom:6.30-SNAPSHOT
-1:2:pom:5.50-SNAPSHOT
-1:128:pom:2006-SNAPSHOT
-1:55:pom:4.4-SNAPSHOT
-1:78:pom:2.6-SNAPSHOT
-1:9:pom:3.1-SNAPSHOT
-1:27:pom:6.0-SNAPSHOT
-1:20:pom:3.3.2-SNAPSHOT
-1:57:pom:4.0.5-SNAPSHOT
-1:129:pom:10.1-SNAPSHOT
-1:130:pom:10.1-SNAPSHOT
-1:130:pom:10.2-SNAPSHOT
-1:130:pom:11.1-SNAPSHOT
-1:130:pom:9.2-SNAPSHOT
-1:6:pom:1.5.8-SNAPSHOT
-1:7:pom:5.8.8-SNAPSHOT
-1:38:pom:1.3.6-SNAPSHOT
-1:131:pom:5.0-SNAPSHOT
-1:131:pom:5.3-SNAPSHOT
-1:131:pom:6.0-SNAPSHOT
-1:115:pom:4.2.1-SNAPSHOT
-1:31:pom:2.2-SNAPSHOT
-1:132:pom:7.7-SNAPSHOT
-1:5:pom:1.5-SNAPSHOT
-1:133:pom:12.5-SNAPSHOT
-1:133:pom:15.0-SNAPSHOT
-1:134:pom:12.6-SNAPSHOT
-1:134:pom:12.7-SNAPSHOT
-1:135:pom:10.0-SNAPSHOT
-1:135:pom:11.0-SNAPSHOT
-1:136:pom:3.04-SNAPSHOT
-1:136:pom:3.06-SNAPSHOT
-1:137:pom:2.2.12-SNAPSHOT
-1:138:pom:7.7.06-SNAPSHOT
-1:119:pom:1.0-SNAPSHOT
-1:33:pom:711-SNAPSHOT
-10:22:pom:4.0-SNAPSHOT
-10:139:pom:3.0-SNAPSHOT
-10:163:pom:4.0-SNAPSHOT
-10:164:pom:4.0-SNAPSHOT
-10:11:pom:4.0-SNAPSHOT
-10:141:pom:4.0-SNAPSHOT
-10:145:pom:4.0-SNAPSHOT
-10:152:pom:4.0-SNAPSHOT
-10:146:pom:4.0-SNAPSHOT
-10:147:pom:4.0-SNAPSHOT
-1:32:pom:720-SNAPSHOT
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_121_3.1-SNAPSHOT.ini
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_121_3.1-SNAPSHOT.ini b/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_121_3.1-SNAPSHOT.ini
deleted file mode 100644
index 41ae285..0000000
--- a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_121_3.1-SNAPSHOT.ini
+++ /dev/null
@@ -1,76 +0,0 @@
-[dependencies]
-1:122:pom:3.1.1-SNAPSHOT
-1:123:pom:3.1.1-SNAPSHOT
-1:13:pom:1.7.0-SNAPSHOT
-1:8:pom:2.7.0-SNAPSHOT
-1:50:pom:3.4-SNAPSHOT
-1:4:pom:2.5.4-SNAPSHOT
-1:3:pom:1.28-SNAPSHOT
-1:17:pom:1.2.3-SNAPSHOT
-1:124:pom:2.2-SNAPSHOT
-1:125:pom:8.1-SNAPSHOT
-1:125:pom:9.1-SNAPSHOT
-1:125:pom:9.5-SNAPSHOT
-1:26:pom:3.0.1-SNAPSHOT
-1:126:pom:2.81-SNAPSHOT
-1:126:pom:2.90-SNAPSHOT
-1:126:pom:3.50-SNAPSHOT
-1:127:pom:6.20-SNAPSHOT
-1:127:pom:6.30-SNAPSHOT
-1:2:pom:5.50-SNAPSHOT
-1:128:pom:2006-SNAPSHOT
-1:196:pom:1.2.12-SNAPSHOT
-1:55:pom:4.8.2-SNAPSHOT
-1:78:pom:2.6-SNAPSHOT
-1:9:pom:3.1-SNAPSHOT
-1:27:pom:6.0-SNAPSHOT
-1:20:pom:3.3.2-SNAPSHOT
-1:57:pom:4.0.5-SNAPSHOT
-1:129:pom:10.1-SNAPSHOT
-1:130:pom:10.1-SNAPSHOT
-1:130:pom:10.2-SNAPSHOT
-1:130:pom:11.1-SNAPSHOT
-1:130:pom:9.2-SNAPSHOT
-1:6:pom:1.5.8-SNAPSHOT
-1:7:pom:5.8.8-SNAPSHOT
-1:38:pom:1.3.6-SNAPSHOT
-1:131:pom:5.0-SNAPSHOT
-1:131:pom:5.3-SNAPSHOT
-1:131:pom:6.0-SNAPSHOT
-1:115:pom:4.2.1-SNAPSHOT
-1:31:pom:2.2-SNAPSHOT
-1:132:pom:7.7-SNAPSHOT
-1:5:pom:1.5-SNAPSHOT
-1:133:pom:12.5-SNAPSHOT
-1:133:pom:15.0-SNAPSHOT
-1:133:pom:15.5-SNAPSHOT
-1:134:pom:12.6-SNAPSHOT
-1:134:pom:12.7-SNAPSHOT
-1:135:pom:10.0-SNAPSHOT
-1:135:pom:11.0-SNAPSHOT
-1:136:pom:3.04-SNAPSHOT
-1:136:pom:3.06-SNAPSHOT
-1:137:pom:2.2.12-SNAPSHOT
-1:138:pom:7.7.06-SNAPSHOT
-1:119:pom:1.0-SNAPSHOT
-1:33:pom:711-SNAPSHOT
-10:22:pom:4.1-SNAPSHOT
-10:139:pom:3.1-SNAPSHOT
-10:164:pom:4.1-SNAPSHOT
-10:11:pom:4.1-SNAPSHOT
-10:141:pom:4.1-SNAPSHOT
-10:145:pom:4.1-SNAPSHOT
-10:152:pom:4.1-SNAPSHOT
-10:146:pom:4.1-SNAPSHOT
-10:147:pom:4.1-SNAPSHOT
-1:32:pom:720-SNAPSHOT
-1:184:pom:20080807-SNAPSHOT
-1:44:pom:1.3-SNAPSHOT
-1:45:pom:3.1-SNAPSHOT
-1:23:pom:1.2.6_sap.1-SNAPSHOT
-1:30:pom:0.7.0-SNAPSHOT
-1:159:pom:2.1_03-SNAPSHOT
-1:28:pom:4.1-SNAPSHOT
-1:51:pom:1.6.2-SNAPSHOT
-1:311:pom:2.3.0-SNAPSHOT
-1:29:pom:3.0.5-SNAPSHOT
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_12_4.0-SNAPSHOT.ini
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_12_4.0-SNAPSHOT.ini b/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_12_4.0-SNAPSHOT.ini
deleted file mode 100644
index eb29c95..0000000
--- a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_12_4.0-SNAPSHOT.ini
+++ /dev/null
@@ -1,32 +0,0 @@
-[dependencies]
-1:13:pom:1.7.0-SNAPSHOT
-1:14:pom:2.5.2-SNAPSHOT
-1:8:pom:2.7.0-SNAPSHOT
-1:15:pom:1.36.0-SNAPSHOT
-1:16:pom:1.8.0-SNAPSHOT
-1:17:pom:1.2.3-SNAPSHOT
-1:2:pom:5.50-SNAPSHOT
-1:9:pom:3.1-SNAPSHOT
-1:35:pom:1.0-SNAPSHOT
-1:20:pom:3.3.2-SNAPSHOT
-1:6:pom:1.5.8-SNAPSHOT
-1:7:pom:5.8.8-SNAPSHOT
-1:7:pom:5.8.9-SNAPSHOT
-1:38:pom:1.3.6-SNAPSHOT
-1:40:pom:6.1-SNAPSHOT
-1:31:pom:2.2-SNAPSHOT
-1:5:pom:1.5-SNAPSHOT
-1:41:pom:5.0-SNAPSHOT
-1:21:pom:3.2.1.2-SNAPSHOT
-10:148:pom:4.0-SNAPSHOT
-10:22:pom:4.0-SNAPSHOT
-10:11:pom:4.0-SNAPSHOT
-10:145:pom:4.0-SNAPSHOT
-10:152:pom:4.0-SNAPSHOT
-10:261:pom:4.0-SNAPSHOT
-10:263:pom:4.0-SNAPSHOT
-10:42:pom:4.0-SNAPSHOT
-10:146:pom:4.0-SNAPSHOT
-10:147:pom:4.0-SNAPSHOT
-10:149:pom:4.0-SNAPSHOT
-1:26:pom:3.0.1-SNAPSHOT
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_12_4.1-SNAPSHOT.ini
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_12_4.1-SNAPSHOT.ini b/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_12_4.1-SNAPSHOT.ini
deleted file mode 100644
index 48a697b..0000000
--- a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_12_4.1-SNAPSHOT.ini
+++ /dev/null
@@ -1,33 +0,0 @@
-[dependencies]
-1:13:pom:1.7.0-SNAPSHOT
-1:14:pom:2.5.2-SNAPSHOT
-1:8:pom:2.7.0-SNAPSHOT
-1:34:pom:1.13-SNAPSHOT
-1:15:pom:1.36.0-SNAPSHOT
-1:16:pom:1.8.0-SNAPSHOT
-1:17:pom:1.2.3-SNAPSHOT
-1:2:pom:5.50-SNAPSHOT
-1:9:pom:3.1-SNAPSHOT
-1:35:pom:1.0-SNAPSHOT
-1:20:pom:3.3.2-SNAPSHOT
-1:6:pom:1.5.8-SNAPSHOT
-1:7:pom:5.8.8-SNAPSHOT
-1:7:pom:5.8.9-SNAPSHOT
-1:38:pom:1.3.6-SNAPSHOT
-1:40:pom:6.1-SNAPSHOT
-1:31:pom:2.2-SNAPSHOT
-1:5:pom:1.5-SNAPSHOT
-1:41:pom:5.0-SNAPSHOT
-1:21:pom:3.2.1.2-SNAPSHOT
-10:148:pom:4.1-SNAPSHOT
-10:22:pom:4.1-SNAPSHOT
-10:11:pom:4.1-SNAPSHOT
-10:145:pom:4.1-SNAPSHOT
-10:152:pom:4.1-SNAPSHOT
-10:261:pom:4.1-SNAPSHOT
-10:263:pom:4.1-SNAPSHOT
-10:42:pom:4.1-SNAPSHOT
-10:146:pom:4.1-SNAPSHOT
-10:147:pom:4.1-SNAPSHOT
-10:149:pom:4.1-SNAPSHOT
-1:26:pom:3.0.1-SNAPSHOT
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_139_3.0-SNAPSHOT.ini
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_139_3.0-SNAPSHOT.ini b/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_139_3.0-SNAPSHOT.ini
deleted file mode 100644
index 7d05704..0000000
--- a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_139_3.0-SNAPSHOT.ini
+++ /dev/null
@@ -1,35 +0,0 @@
-[dependencies]
-1:13:pom:1.7.0-SNAPSHOT
-1:23:pom:1.2.6_sap.1-SNAPSHOT
-1:140:pom:6.0.24-SNAPSHOT
-1:8:pom:2.1.0-SNAPSHOT
-1:8:pom:2.7.0-SNAPSHOT
-1:47:pom:2.6.2-SNAPSHOT
-1:50:pom:3.3-SNAPSHOT
-1:50:pom:3.4-SNAPSHOT
-1:4:pom:2.5.4-SNAPSHOT
-1:3:pom:1.28-SNAPSHOT
-1:17:pom:1.2.3-SNAPSHOT
-1:26:pom:3.0.1-SNAPSHOT
-1:68:pom:3.8.1-SNAPSHOT
-1:2:pom:5.50-SNAPSHOT
-1:36:pom:2.0-SNAPSHOT
-1:9:pom:3.1-SNAPSHOT
-1:27:pom:6.0-SNAPSHOT
-1:20:pom:3.3.2-SNAPSHOT
-1:57:pom:4.0.5-SNAPSHOT
-1:6:pom:1.5.8-SNAPSHOT
-1:7:pom:5.8.8-SNAPSHOT
-1:38:pom:1.3.6-SNAPSHOT
-1:115:pom:4.2.1-SNAPSHOT
-1:28:pom:4.1-SNAPSHOT
-1:31:pom:2.2-SNAPSHOT
-1:5:pom:1.5-SNAPSHOT
-1:61:pom:1.1-SNAPSHOT
-10:22:pom:4.0-SNAPSHOT
-10:11:pom:4.0-SNAPSHOT
-10:141:pom:4.0-SNAPSHOT
-10:145:pom:4.0-SNAPSHOT
-10:147:pom:4.0-SNAPSHOT
-1:32:pom:720-SNAPSHOT
-1:33:pom:711-SNAPSHOT
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/27f8bd73/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_139_3.1-SNAPSHOT.ini
----------------------------------------------------------------------
diff --git a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_139_3.1-SNAPSHOT.ini b/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_139_3.1-SNAPSHOT.ini
deleted file mode 100644
index 0f788bd..0000000
--- a/aether-impl/src/test/resources/artifact-descriptions/cycle-big/10_139_3.1-SNAPSHOT.ini
+++ /dev/null
@@ -1,32 +0,0 @@
-[dependencies]
-1:13:pom:1.7.0-SNAPSHOT
-1:23:pom:1.2.6_sap.1-SNAPSHOT
-1:140:pom:6.0.24-SNAPSHOT
-1:8:pom:2.1.0-SNAPSHOT
-1:8:pom:2.7.0-SNAPSHOT
-1:47:pom:2.6.2-SNAPSHOT
-1:50:pom:3.3-SNAPSHOT
-1:50:pom:3.4-SNAPSHOT
-1:4:pom:2.5.4-SNAPSHOT
-1:3:pom:1.28-SNAPSHOT
-1:17:pom:1.2.3-SNAPSHOT
-1:26:pom:4.2.1-SNAPSHOT
-1:68:pom:3.8.1-SNAPSHOT
-1:2:pom:5.50-SNAPSHOT
-1:36:pom:2.0-SNAPSHOT
-1:9:pom:3.1-SNAPSHOT
-1:27:pom:6.0-SNAPSHOT
-1:20:pom:3.3.2-SNAPSHOT
-1:57:pom:4.0.5-SNAPSHOT
-1:6:pom:1.5.8-SNAPSHOT
-1:7:pom:5.8.8-SNAPSHOT
-1:38:pom:1.3.6-SNAPSHOT
-1:115:pom:4.2.1-SNAPSHOT
-1:28:pom:4.1-SNAPSHOT
-1:31:pom:2.2-SNAPSHOT
-1:5:pom:1.5-SNAPSHOT
-1:61:pom:1.1-SNAPSHOT
-10:22:pom:4.1-SNAPSHOT
-10:11:pom:4.1-SNAPSHOT
-1:32:pom:720-SNAPSHOT
-1:33:pom:711-SNAPSHOT