diff --git a/polyglot-ruby/pom.xml b/polyglot-ruby/pom.xml index c1d9c5bf..ec38602a 100644 --- a/polyglot-ruby/pom.xml +++ b/polyglot-ruby/pom.xml @@ -180,6 +180,70 @@ + + org.apache.maven.plugins + maven-dependency-plugin + 3.7.1 + + + unpack-maven + + unpack + + package + + org.apache.maven:apache-maven:${mavenVersion}:zip:bin + + + + add-polyglot-ruby + + copy + + package + + + + ${project.groupId} + ${project.artifactId} + ${project.version} + ${project.packaging} + + + ${project.build.directory}/dependency/apache-maven-${mavenVersion}/lib/ext + + + + add-polyglot-ruby-dependencies + + copy-dependencies + + package + + runtime + ${project.build.directory}/dependency/apache-maven-${mavenVersion}/lib/ext + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + create-distro-packages + + single + + package + + + src/main/assembly/distro.xml + + + + + diff --git a/polyglot-ruby/src/main/assembly/distro.xml b/polyglot-ruby/src/main/assembly/distro.xml new file mode 100644 index 00000000..17a18f31 --- /dev/null +++ b/polyglot-ruby/src/main/assembly/distro.xml @@ -0,0 +1,54 @@ + + + + distro + + zip + tar.gz + + + + target/dependency/apache-maven-${mavenVersion} + ./ + + + target/dependency/apache-maven-${mavenVersion}/bin + bin + + *.cmd + *.conf + + dos + + + target/dependency/apache-maven-${mavenVersion}/bin + bin + + mvn + mvnDebug + + mvnyjp + + unix + 0755 + + +