Skip to content

Commit

Permalink
Remove deploy profile
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta committed Aug 11, 2023
1 parent f963752 commit 200dc34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion etc/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ release_build(){

# Perform deployment
mvn ${MAVEN_ARGS} clean deploy \
-Pdeploy,release,archetypes \
-Prelease,archetypes \
-DskipTests \
-DstagingRepositoryId="${STAGING_REPO_ID}" \
-DretryFailedDeploymentCount="10"
Expand Down
17 changes: 5 additions & 12 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand All @@ -243,18 +248,6 @@
</plugins>
</build>
</profile>
<profile>
<id>deploy</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>staging</id>
<repositories>
Expand Down

0 comments on commit 200dc34

Please sign in to comment.