Update .github/workflows/maven-publish.yml

Dodano -DpomFile=pom.xml -DgeneratePom=false na upload u nexus snapshot repo
This commit is contained in:
stjepan.cvitanovic 2025-06-11 12:54:28 +02:00
parent dad45f56a4
commit d5afd72f9c

View File

@ -118,7 +118,7 @@ jobs:
-Durl=https://devops.pravilanovait.hr/nexus/repository/maven-snapshots \ -Durl=https://devops.pravilanovait.hr/nexus/repository/maven-snapshots \
-Dpackaging=$PACKAGING -DgroupId=$GROUP_ID -DartifactId=$ARTIFACT_ID \ -Dpackaging=$PACKAGING -DgroupId=$GROUP_ID -DartifactId=$ARTIFACT_ID \
-Dversion=$VERSION -DrepositoryId=local-nexus \ -Dversion=$VERSION -DrepositoryId=local-nexus \
-Dfile=target/$FINAL_NAME.$PACKAGING -Dfile=target/$FINAL_NAME.$PACKAGING -DpomFile=pom.xml -DgeneratePom=false
fi fi
else else
echo "Version $VERSION is not snapshot version, not uploading to local-nexus snapshots" echo "Version $VERSION is not snapshot version, not uploading to local-nexus snapshots"