Update .github/workflows/maven-publish.yml
Dodano -DpomFile=pom.xml -DgeneratePom=false na upload u nexus snapshot repo
This commit is contained in:
parent
dad45f56a4
commit
d5afd72f9c
2
.github/workflows/maven-publish.yml
vendored
2
.github/workflows/maven-publish.yml
vendored
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user