diff --git a/maven-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/maven-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index 58df87c..02099a9 100644 --- a/maven-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/maven-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -51,6 +51,7 @@ under the License. .gitpod.yml README.md readme/**/*.md + assembly.xml diff --git a/maven-archetype/src/main/resources/archetype-resources/assembly.xml b/maven-archetype/src/main/resources/archetype-resources/assembly.xml new file mode 100644 index 0000000..4c54c82 --- /dev/null +++ b/maven-archetype/src/main/resources/archetype-resources/assembly.xml @@ -0,0 +1,20 @@ + + + zip-distro-dir + + zip + + false + + + . + ${project.build.directory}/${project.artifactId}-${project.version} + + + diff --git a/maven-archetype/src/test/resources/projects/it-basic/reference/assembly.xml b/maven-archetype/src/test/resources/projects/it-basic/reference/assembly.xml new file mode 100644 index 0000000..4c54c82 --- /dev/null +++ b/maven-archetype/src/test/resources/projects/it-basic/reference/assembly.xml @@ -0,0 +1,20 @@ + + + zip-distro-dir + + zip + + false + + + . + ${project.build.directory}/${project.artifactId}-${project.version} + + + diff --git a/maven-parent/assembly.xml b/maven-parent/assembly.xml new file mode 100644 index 0000000..9c3edf8 --- /dev/null +++ b/maven-parent/assembly.xml @@ -0,0 +1,20 @@ + + + zip-distro-dir + + zip + + false + + + . + ${project.build.directory}/${project.artifactId}-${project.version} + + + \ No newline at end of file diff --git a/maven-parent/pom.xml b/maven-parent/pom.xml index fd89035..4957ba2 100644 --- a/maven-parent/pom.xml +++ b/maven-parent/pom.xml @@ -352,6 +352,28 @@ + + + + org.apache.maven.plugins + maven-assembly-plugin + + + Package Ozone Artifact + package + + single + + + false + + assembly.xml + + + + + +