Skip to content

Commit 999613d

Browse files
committed
[Project] Don't call package when deploying
The build fails otherwise with duplicate sources attached.
1 parent 079127d commit 999613d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployToMavenCentral.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ trap cleanup EXIT
6060
# Build and deploy
6161
echo -e "\nINFO: Building and deploying to Maven Central..."
6262
export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED"
63-
if ! mvn clean package deploy -DskipTests "${MVN_PROFILES}" -Pdeploy "-Dgpg.keyname=${gpgKeyName}" ; then
63+
if ! mvn clean deploy -DskipTests "${MVN_PROFILES}" -Pdeploy "-Dgpg.keyname=${gpgKeyName}" ; then
6464
echo -e "ERROR: Failed to build and deploy to Maven Central!"
6565
exit 1
6666
fi

0 commit comments

Comments
 (0)