diff --git a/dist/dist.txt b/dist/dist.txt new file mode 100644 index 000000000..02214b54c --- /dev/null +++ b/dist/dist.txt @@ -0,0 +1 @@ +This file triggers a Maven profile. \ No newline at end of file diff --git a/dist/pom.xml b/dist/pom.xml index 9ad2b91ff..1fd5aa510 100644 --- a/dist/pom.xml +++ b/dist/pom.xml @@ -1,26 +1,58 @@ - + 4.0.0 org.springframework.batch org.springframework.batch.dist + 2.0.0.CI-SNAPSHOT Distribution - pom + pom - - org.springframework.batch - org.springframework.batch.batch - 2.0.0.CI-SNAPSHOT - .. - + + + + default + + true + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + + + + verify + + false + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + org.apache.maven.plugins + maven-invoker-plugin + + + + + ../spring-batch-infrastructure ../spring-batch-core ../spring-batch-test ../spring-batch-samples + ../archetypes @@ -31,7 +63,121 @@ 1.2 + + + + org.apache.maven.plugins + maven-antrun-plugin + + + extract + verify + + run + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + copy-parent-pom + generate-sources + + + + + + + run + + + + + + org.apache.ant + ant-apache-regexp + 1.7.0 + + + org.apache.ant + ant + 1.7.0 + + + + + org.apache.maven.plugins + maven-invoker-plugin + + target/it/no-dep + target/local-repo + true + ${basedir}/src/it/settings.xml + + test + + + samples/*/pom.xml + + + + + integration-test + verify + + run + + + + + + + + maven-javadoc-plugin + maven-assembly-plugin @@ -51,24 +197,6 @@ - - org.apache.maven.plugins - maven-antrun-plugin - - - copy-parent-pom - generate-sources - - - - - - - run - - - - diff --git a/dist/src/assembly/no-dependencies.xml b/dist/src/assembly/no-dependencies.xml index 9e835bbcc..466a3c54b 100644 --- a/dist/src/assembly/no-dependencies.xml +++ b/dist/src/assembly/no-dependencies.xml @@ -11,10 +11,13 @@ - org.springframework.batch:spring-batch-core + org.springframework.batch:org.springframework.batch.test - org.springframework.batch:spring-batch-infrastructure + org.springframework.batch:org.springframework.batch.core + + + org.springframework.batch:org.springframework.batch.infrastructure @@ -33,12 +36,15 @@ - org.springframework.batch:spring-batch-samples + org.springframework.batch:org.springframework.batch.samples + + + org.springframework.batch:org.springframework.batch.archetype.simple.cli - samples/spring-batch-samples + samples/${module.artifactId} diff --git a/dist/src/assembly/with-dependencies.xml b/dist/src/assembly/with-dependencies.xml index 0b4e422c7..d391718af 100644 --- a/dist/src/assembly/with-dependencies.xml +++ b/dist/src/assembly/with-dependencies.xml @@ -11,10 +11,13 @@ - org.springframework.batch:spring-batch-core + org.springframework.batch:org.springframework.batch.test - org.springframework.batch:spring-batch-infrastructure + org.springframework.batch:org.springframework.batch.core + + + org.springframework.batch:org.springframework.batch.infrastructure @@ -33,7 +36,10 @@ - org.springframework.batch:spring-batch-samples + org.springframework.batch:org.springframework.batch.samples + + + org.springframework.batch:org.springframework.batch.archetype.simple.cli @@ -53,10 +59,13 @@ - org.springframework.batch:spring-batch-core + org.springframework.batch:org.springframework.batch.test - org.springframework.batch:spring-batch-infrastructure + org.springframework.batch:org.springframework.batch.core + + + org.springframework.batch:org.springframework.batch.infrastructure @@ -76,10 +85,13 @@ - org.springframework.batch:spring-batch-core + org.springframework.batch:org.springframework.batch.test - org.springframework.batch:spring-batch-infrastructure + org.springframework.batch:org.springframework.batch.core + + + org.springframework.batch:org.springframework.batch.infrastructure @@ -89,24 +101,27 @@ - lib/${module.groupId}/${module.version}/${module.artifactId}-${module.version}.${module.extension} + lib/${module.artifactId}-${module.version}.${module.extension} runtime - org.springframework.batch:spring-batch + org.springframework.batch:org.springframework.batch - org.springframework.batch:spring-batch-core + org.springframework.batch:org.springframework.batch.test - org.springframework.batch:spring-batch-infrastructure + org.springframework.batch:org.springframework.batch.core + + + org.springframework.batch:org.springframework.batch.infrastructure - lib/${module.groupId}/${module.version}/${module.artifactId}-${module.version}.${module.extension} + lib/${module.artifactId}-${module.version}.${module.extension} provided @@ -116,7 +131,7 @@ - org.springframework.batch:spring-batch-samples + org.springframework.batch:org.springframework.batch.samples @@ -126,52 +141,61 @@ - lib/${module.groupId}/${module.version}/${module.artifactId}-${module.version}.${module.extension} + lib/${module.artifactId}-${module.version}.${module.extension} runtime - org.springframework.batch:spring-batch + org.springframework.batch:org.springframework.batch - org.springframework.batch:spring-batch-core + org.springframework.batch:org.springframework.batch.test - org.springframework.batch:spring-batch-infrastructure + org.springframework.batch:org.springframework.batch.core + + + org.springframework.batch:org.springframework.batch.infrastructure - lib/${module.groupId}/${module.version}/${module.artifactId}-${module.version}.${module.extension} + lib/${module.artifactId}-${module.version}.${module.extension} provided - org.springframework.batch:spring-batch + org.springframework.batch:org.springframework.batch - org.springframework.batch:spring-batch-core + org.springframework.batch:org.springframework.batch.test - org.springframework.batch:spring-batch-infrastructure + org.springframework.batch:org.springframework.batch.core + + + org.springframework.batch:org.springframework.batch.infrastructure - lib/${module.groupId}/${module.version}/${module.artifactId}-${module.version}.${module.extension} + lib/${module.artifactId}-${module.version}.${module.extension} test - org.springframework.batch:spring-batch + org.springframework.batch:org.springframework.batch - org.springframework.batch:spring-batch-core + org.springframework.batch:org.springframework.batch.test - org.springframework.batch:spring-batch-infrastructure + org.springframework.batch:org.springframework.batch.core + + + org.springframework.batch:org.springframework.batch.infrastructure diff --git a/dist/src/it/settings.xml b/dist/src/it/settings.xml new file mode 100644 index 000000000..a492aab1c --- /dev/null +++ b/dist/src/it/settings.xml @@ -0,0 +1,35 @@ + + + + + it-repo + + true + + + + local.central + @localRepositoryUrl@ + + true + + + true + + + + + + local.central + @localRepositoryUrl@ + + true + + + true + + + + + + \ No newline at end of file