Skip to content

Commit

Permalink
Skip nexus-staging plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed May 3, 2023
1 parent 9674bc8 commit f9b0a11
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ jobs:
- name: Stage artifacts
run: |
./mvnw -ntp -B --file pom.xml -Ppublication -DaltDeploymentRepository=local::file:target/staging-deploy \
-Dmaven.site.skip=true -Drelease=true -DskipTests deploy -e
./mvnw -ntp -B --file pom.xml -Ppublication -Ddeploy=true -e
- name: Release
env:
Expand Down
19 changes: 18 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
<id>test</id>
<activation>
<property>
<name>release</name>
<name>deploy</name>
<value>!true</value>
</property>
</activation>
Expand All @@ -215,6 +215,23 @@
<module>examples</module>
</modules>
</profile>
<profile>
<id>deploy</id>
<activation>
<property>
<name>deploy</name>
<value>true</value>
</property>
</activation>
<properties>
<altDeploymentRepository>local::file:target/staging-deploy</altDeploymentRepository>
<skipTests>true</skipTests>
<maven.site.skip>true</maven.site.skip>
</properties>
<build>
<defaultGoal>deploy</defaultGoal>
</build>
</profile>
<profile>
<id>jreleaser</id>
<build>
Expand Down

0 comments on commit f9b0a11

Please sign in to comment.