From badefcd6df3bc0d5548c4e2000f5d994031fd1e3 Mon Sep 17 00:00:00 2001 From: Brianna Date: Fri, 27 Dec 2019 23:59:01 -0500 Subject: [PATCH] version 2.1.16 --- .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 fc6bce9..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,21 +0,0 @@ -stages: - - build - -variables: - name: "EpicVouchers" - path: "/builds/$CI_PROJECT_PATH" - version: "2.1.14" - -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 $path/target/*.jar $path/ - artifacts: - name: $name-$version - paths: - - "$path/*.jar" diff --git a/pom.xml b/pom.xml index abf2010..f5c5b42 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ com.songoda EpicVouchers 4.0.0 - maven-version-number + 2.1.16 clean install EpicVouchers-${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