From e445d816eb0225b9b8702580a66c96c5ba37191c Mon Sep 17 00:00:00 2001 From: Brianna Date: Tue, 3 Dec 2019 18:12:45 -0500 Subject: [PATCH] version 1.10.23 --- .gitlab-ci.yml | 21 --------------------- pom.xml | 24 +++++++++++++++++++++++- 2 files changed, 23 insertions(+), 22 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index dcc5745..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,21 +0,0 @@ -stages: -- build - -variables: - name: "UltimateStacker" - path: "/builds/$CI_PROJECT_PATH" - version: "1.10.22" - -build: - stage: build - image: maven:3.5.3-jdk-8 - script: - - find $path/ -type f -name "*.xml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g - - find $path/ -type f -name "*.yml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g - - mvn clean package - - find $path/ -depth -path '*original*' -delete - - mv -v $path/target/*.jar $path - artifacts: - name: $name-$version - paths: - - "$path/*.jar" \ No newline at end of file diff --git a/pom.xml b/pom.xml index 7c76b48..5c7b954 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ com.songoda UltimateStacker 4.0.0 - maven-version-number + 1.10.23 clean install UltimateStacker-${project.version} @@ -16,6 +16,28 @@ 1.8 + + com.google.code.maven-replacer-plugin + replacer + 1.5.3 + + + prepare-package + + replace + + + + + ${project.build.directory}/classes/plugin.yml + + + maven-version-number + ${project.version} + + + + org.apache.maven.plugins maven-shade-plugin