This is an automated email from the ASF dual-hosted git repository. cdutz pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/incubator-training.git The following commit(s) were added to refs/heads/develop by this push: new 771a158 - Made the archetype automatically reference the current training tools version - Made the build include NOTICE, LICENSE and DISCLAIMER in every generated artifact - Made the assembly plugin have "apache" and "incubating" in the source bundle's name 771a158 is described below commit 771a15813d69955ffb4cf12d590b3b4c060ac0e9 Author: Christofer Dutz AuthorDate: Wed Sep 9 15:19:23 2020 +0200 - Made the archetype automatically reference the current training tools version - Made the build include NOTICE, LICENSE and DISCLAIMER in every generated artifact - Made the assembly plugin have "apache" and "incubating" in the source bundle's name --- tools/content-archetype/pom.xml | 26 ++++++++++++++-- .../META-INF/maven/archetype-metadata.xml | 9 +++++- .../src/main/resources/archetype-resources/pom.xml | 2 +- .../resources/projects/basic/archetype.properties | 1 + tools/pom.xml | 36 ++++++++++++++++++++++ 5 files changed, 70 insertions(+), 4 deletions(-) diff --git a/tools/content-archetype/pom.xml b/tools/content-archetype/pom.xml index 9a5c67d..de4102c 100644 --- a/tools/content-archetype/pom.xml +++ b/tools/content-archetype/pom.xml @@ -37,15 +37,37 @@ org.apache.maven.archetype archetype-packaging - 3.0.1 + 3.2.0 + + + org.apache.maven.plugins + maven-antrun-plugin + + + prepare-package + + + + + + + + + run + + + + + + maven-archetype-plugin - 3.0.1 + 3.2.0 diff --git a/tools/content-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/tools/content-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index 29fbfa4..28d79d0 100644 --- a/tools/content-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/tools/content-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -17,9 +17,15 @@ limitations under the License. --> - + + + APACHE_TRAINING_TOOLS_VERSION + + src/main/java @@ -45,6 +51,7 @@ install-deps-centos.sh install-deps-mac.sh + pom.xml README.md diff --git a/tools/content-archetype/src/main/resources/archetype-resources/pom.xml b/tools/content-archetype/src/main/resources/archetype-resources/pom.xml index 333f8a1..9805796 100644 --- a/tools/content-archetype/src/main/resources/archetype-resources/pom.xml +++ b/tools/content-archetype/src/main/resources/archetype-resources/pom.xml @@ -22,7 +22,7 @@ org.apache.training content-parent-pom - 1.1.0-SNAPSHOT + ${apacheTrainingToolsVersion} diff --git a/tools/content-archetype/src/test/resources/projects/basic/archetype.properties b/tools/content-archetype/src/test/resources/projects/basic/archetype.properties index e76dca7..984ff8e 100644 --- a/tools/content-archetype/src/test/resources/projects/basic/archetype.properties +++ b/tools/content-archetype/src/test/resources/projects/basic/archetype.properties @@ -21,3 +21,4 @@ package=it.pkg version=0.1-SNAPSHOT groupId=archetype.it artifactId=basic +apacheTrainingToolsVersion=1.0.0 diff --git a/tools/pom.xml b/tools/pom.xml index e957c6c..0985201 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -60,7 +60,43 @@ true + + + org.apache.maven.plugins + maven-remote-resources-plugin + 1.7.0 + + + process-resource-bundles + + process + + + + + org.apache:apache-jar-resource-bundle:1.4 + + org.apache:apache-incubator-disclaimer-resource-bundle:1.1 + + + ${basedir}/src/remote-resources + + + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + apache-training-incubating-tools-${project.version} + + + +