Skip to content

Commit 4983615

Browse files
committed
Disable deploy plugin in pom.xml
1 parent f3f9906 commit 4983615

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
cache: 'maven'
2222

2323
- name: Build with Maven
24-
run: mvn -B clean package -DskipTests -Dmaven.deploy.skip=true
24+
run: mvn -B clean package -DskipTests
2525

2626
- name: Create Release
2727
uses: softprops/action-gh-release@v1

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,15 @@
160160
</executions>
161161
</plugin>
162162

163+
<plugin>
164+
<groupId>org.apache.maven.plugins</groupId>
165+
<artifactId>maven-deploy-plugin</artifactId>
166+
<version>3.1.2</version>
167+
<configuration>
168+
<skip>true</skip>
169+
</configuration>
170+
</plugin>
171+
163172
</plugins>
164173
</build>
165174

0 commit comments

Comments
 (0)