diff --git a/ci/scripts/build-project.sh b/ci/scripts/build-project.sh index 2fbb4de..015a964 100755 --- a/ci/scripts/build-project.sh +++ b/ci/scripts/build-project.sh @@ -9,5 +9,5 @@ else echo "Maven cache found." fi pushd git-repo > /dev/null -./mvnw clean deploy -U -Pfull -DaltDeploymentRepository=distribution::default::file://${repository} +./mvnw clean deploy -U -Pspring -DaltDeploymentRepository=distribution::default::file://${repository} popd > /dev/null diff --git a/ci/scripts/stage.sh b/ci/scripts/stage.sh index 0e7adbd..f924bb7 100755 --- a/ci/scripts/stage.sh +++ b/ci/scripts/stage.sh @@ -24,7 +24,7 @@ git add pom.xml > /dev/null git commit -m"Release v$stageVersion" > /dev/null git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null -./mvnw clean deploy -U -Pfull -DaltDeploymentRepository=distribution::default::file://${repository} +./mvnw clean deploy -U -Pspring -DaltDeploymentRepository=distribution::default::file://${repository} git reset --hard HEAD^ > /dev/null if [[ $nextVersion != $snapshotVersion ]]; then