From 52bc5ecdb26ef32663a76746d951786384daf6b6 Mon Sep 17 00:00:00 2001 From: Marinov Avgustin Date: Thu, 16 Nov 2023 17:19:50 +0200 Subject: [PATCH] CI friendly build - revision Signed-off-by: Marinov Avgustin --- .gitignore | 1 + hawkbit-custom-theme-example/pom.xml | 2 +- hawkbit-device-simulator/pom.xml | 2 +- hawkbit-example-core-feign-client/pom.xml | 2 +- hawkbit-example-ddi-feign-client/pom.xml | 2 +- hawkbit-example-mgmt-feign-client/pom.xml | 2 +- hawkbit-example-mgmt-simulator/pom.xml | 2 +- pom.xml | 37 ++++++++++++++++++++++- 8 files changed, 43 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 69cdef8..2d5e3ce 100644 --- a/.gitignore +++ b/.gitignore @@ -51,6 +51,7 @@ classpath-data.json # Maven maven.properties +.flattened-pom.xml # Test Files *.tmp diff --git a/hawkbit-custom-theme-example/pom.xml b/hawkbit-custom-theme-example/pom.xml index d0f8eaa..323a34b 100644 --- a/hawkbit-custom-theme-example/pom.xml +++ b/hawkbit-custom-theme-example/pom.xml @@ -14,7 +14,7 @@ org.eclipse.hawkbit hawkbit-examples-parent - 0.3.0-SNAPSHOT + ${revision} hawkbit-custom-theme-example hawkBit :: Examples :: Custom Theme Example App diff --git a/hawkbit-device-simulator/pom.xml b/hawkbit-device-simulator/pom.xml index 44d995a..140c3df 100644 --- a/hawkbit-device-simulator/pom.xml +++ b/hawkbit-device-simulator/pom.xml @@ -14,7 +14,7 @@ 4.0.0 org.eclipse.hawkbit - 0.3.0-SNAPSHOT + ${revision} hawkbit-examples-parent diff --git a/hawkbit-example-core-feign-client/pom.xml b/hawkbit-example-core-feign-client/pom.xml index 6be50c1..8fceb01 100644 --- a/hawkbit-example-core-feign-client/pom.xml +++ b/hawkbit-example-core-feign-client/pom.xml @@ -14,7 +14,7 @@ org.eclipse.hawkbit hawkbit-examples-parent - 0.3.0-SNAPSHOT + ${revision} hawkbit-example-core-feign-client diff --git a/hawkbit-example-ddi-feign-client/pom.xml b/hawkbit-example-ddi-feign-client/pom.xml index 6bfef0d..4a173d0 100644 --- a/hawkbit-example-ddi-feign-client/pom.xml +++ b/hawkbit-example-ddi-feign-client/pom.xml @@ -14,7 +14,7 @@ org.eclipse.hawkbit hawkbit-examples-parent - 0.3.0-SNAPSHOT + ${revision} hawkbit-example-ddi-feign-client diff --git a/hawkbit-example-mgmt-feign-client/pom.xml b/hawkbit-example-mgmt-feign-client/pom.xml index 5c8126f..5f91634 100644 --- a/hawkbit-example-mgmt-feign-client/pom.xml +++ b/hawkbit-example-mgmt-feign-client/pom.xml @@ -14,7 +14,7 @@ org.eclipse.hawkbit hawkbit-examples-parent - 0.3.0-SNAPSHOT + ${revision} jar hawkbit-example-mgmt-feign-client diff --git a/hawkbit-example-mgmt-simulator/pom.xml b/hawkbit-example-mgmt-simulator/pom.xml index 2128dcc..657558e 100644 --- a/hawkbit-example-mgmt-simulator/pom.xml +++ b/hawkbit-example-mgmt-simulator/pom.xml @@ -14,7 +14,7 @@ org.eclipse.hawkbit hawkbit-examples-parent - 0.3.0-SNAPSHOT + ${revision} jar hawkbit-example-mgmt-simulator diff --git a/pom.xml b/pom.xml index d0e81e5..eab0577 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ hawkbit-examples-parent - 0.3.0-SNAPSHOT + ${revision} hawkBit :: Examples pom @@ -46,6 +46,7 @@ + 0.4.0-SNAPSHOT 0.3.0 @@ -117,6 +118,30 @@ + + org.codehaus.mojo + flatten-maven-plugin + + ossrh + true + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + org.codehaus.mojo versions-maven-plugin @@ -171,6 +196,16 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + 1.5.0 + + +