Use maven wrapper for reproducible build

This commit is contained in:
Nikolay Krasko
2023-09-07 14:25:52 +02:00
committed by Space Team
parent 83a2158744
commit 1af7649ee9
+2 -2
View File
@@ -26,7 +26,7 @@ echo "BUILD_NUMBER=$BUILD_NUMBER"
echo "KOTLIN_NATIVE_VERSION=$KOTLIN_NATIVE_VERSION"
# Update versions in pom.xml
mvn -DnewVersion=$DEPLOY_VERSION -DgenerateBackupPoms=false -DprocessAllModules=true -f libraries/pom.xml versions:set
./libraries/mvnw -DnewVersion=$DEPLOY_VERSION -DgenerateBackupPoms=false -DprocessAllModules=true -f libraries/pom.xml versions:set
# Build part of kotlin and publish it to the local maven repository and to build/repo directory
./gradlew \
@@ -39,7 +39,7 @@ mvn -DnewVersion=$DEPLOY_VERSION -DgenerateBackupPoms=false -DprocessAllModules=
publish publishToMavenLocal
# Build maven part and publish it to the same build/repo
mvn \
./libraries/mvnw \
-f libraries/pom.xml \
clean deploy \
-Ddeploy-url=file://$(pwd)/build/repo \