diff --git a/maven-core-it/README.txt b/maven-core-it/README.txt index c5fc152af1..83e546896c 100644 --- a/maven-core-it/README.txt +++ b/maven-core-it/README.txt @@ -244,6 +244,9 @@ it0088: Test path translation. it0089: Test that Checkstyle PackageNamesLoader.loadModuleFactory(..) method will complete as-is with the context classloader available to the plugin. + +it0092: Test that legacy repositories with legacy snapshots download correctly. + ------------------------------------------------------------------------------- - generated sources diff --git a/maven-core-it/integration-tests.txt b/maven-core-it/integration-tests.txt index 3469956764..1bd512afaf 100644 --- a/maven-core-it/integration-tests.txt +++ b/maven-core-it/integration-tests.txt @@ -1,3 +1,4 @@ +it0092 it0089 it0088 it0087 diff --git a/maven-core-it/it0092/expected-results.txt b/maven-core-it/it0092/expected-results.txt new file mode 100644 index 0000000000..fec66b21c8 --- /dev/null +++ b/maven-core-it/it0092/expected-results.txt @@ -0,0 +1 @@ +${artifact:org.apache.maven:maven-core-it-support:1.0-SNAPSHOT:jar} diff --git a/maven-core-it/it0092/goals.txt b/maven-core-it/it0092/goals.txt new file mode 100644 index 0000000000..582d9721c9 --- /dev/null +++ b/maven-core-it/it0092/goals.txt @@ -0,0 +1 @@ +compile diff --git a/maven-core-it/it0092/pom.xml b/maven-core-it/it0092/pom.xml new file mode 100644 index 0000000000..06848875e6 --- /dev/null +++ b/maven-core-it/it0092/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + org.apache.maven.it + maven-core-it0092 + 1.0 + + + org.apache.maven + maven-core-it-support + 1.0-SNAPSHOT + + + + + it0092 + file://localhost/${basedir}/repository + legacy + + + diff --git a/maven-core-it/it0092/prebuild-hook.txt b/maven-core-it/it0092/prebuild-hook.txt new file mode 100644 index 0000000000..b64f199a32 --- /dev/null +++ b/maven-core-it/it0092/prebuild-hook.txt @@ -0,0 +1 @@ +rm ${artifact:org.apache.maven:maven-core-it-support:1.0-SNAPSHOT:jar} diff --git a/maven-core-it/it0092/repository/org.apache.maven/jars/maven-core-it-support-1.0-SNAPSHOT.jar b/maven-core-it/it0092/repository/org.apache.maven/jars/maven-core-it-support-1.0-SNAPSHOT.jar new file mode 100644 index 0000000000..dadf84f0d5 --- /dev/null +++ b/maven-core-it/it0092/repository/org.apache.maven/jars/maven-core-it-support-1.0-SNAPSHOT.jar @@ -0,0 +1 @@ +THIS IS NOT A JAR