From 5ee2ad197c632744a24980864b45a0c9ac6ae67d Mon Sep 17 00:00:00 2001 From: grog Date: Fri, 13 Oct 2023 20:35:51 -0700 Subject: [PATCH] version refactor of pom --- assembly.xml | 4 +- build.properties | 1 - pom.xml | 45 +---------------- .../resource/framework/pom.xml.template | 49 +------------------ 4 files changed, 5 insertions(+), 94 deletions(-) delete mode 100644 build.properties diff --git a/assembly.xml b/assembly.xml index 69f4e96e06..562bd86cf8 100644 --- a/assembly.xml +++ b/assembly.xml @@ -14,7 +14,7 @@ myrobotlab.sh ./ - myrobotlab-${version.prefix}${build.number} + myrobotlab-${version} 0755 @@ -22,7 +22,7 @@ myrobotlab.jar target - myrobotlab-${version.prefix}${build.number} + myrobotlab-${version} diff --git a/build.properties b/build.properties deleted file mode 100644 index 775fc8f8ca..0000000000 --- a/build.properties +++ /dev/null @@ -1 +0,0 @@ -global.build.number=0 \ No newline at end of file diff --git a/pom.xml b/pom.xml index f5f7390a58..a00bd0db4f 100644 --- a/pom.xml +++ b/pom.xml @@ -68,7 +68,6 @@ MyRobotLab Open Source Creative Machine Control - false ${maven.build.timestamp} yyyyMMddHHmm - ${timestamp} ${version} ${git.branch} ${NODE_NAME} @@ -1814,47 +1812,6 @@ - - - org.codehaus.mojo - properties-maven-plugin - - - initialize - - read-project-properties - - - - build.properties - - - - - - - - org.apache.maven.plugins maven-shade-plugin @@ -1884,7 +1841,7 @@ ${version} ${version} - ${build.number} + ${version} ${maven.build.timestamp} ${agent.name} ${user.name} diff --git a/src/main/resources/resource/framework/pom.xml.template b/src/main/resources/resource/framework/pom.xml.template index 7713649881..ce45f6285a 100644 --- a/src/main/resources/resource/framework/pom.xml.template +++ b/src/main/resources/resource/framework/pom.xml.template @@ -68,7 +68,6 @@ MyRobotLab Open Source Creative Machine Control - false - - 1.1. ${maven.build.timestamp} yyyyMMddHHmm - ${timestamp} - ${version.prefix}${build.number} + ${version} ${git.branch} ${NODE_NAME} ${NODE_LABELS} @@ -182,47 +178,6 @@ - - - org.codehaus.mojo - properties-maven-plugin - - - initialize - - read-project-properties - - - - build.properties - - - - - - - - org.apache.maven.plugins maven-shade-plugin @@ -252,7 +207,7 @@ ${version} ${version} - ${build.number} + ${version} ${maven.build.timestamp} ${agent.name} ${user.name}