Skip to content

Commit 8dc1d6b

Browse files
committed
chore: remove Maven Central publishing config
1 parent a365a82 commit 8dc1d6b

File tree

2 files changed

+0
-62
lines changed

2 files changed

+0
-62
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,6 @@ jobs:
1414
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0 # We want all history so we can get all commits since previous git tag
17-
# - name: Setup java
18-
# uses: actions/setup-java@v3
19-
# with:
20-
# java-version: 17
21-
# distribution: 'temurin'
22-
# cache: 'maven'
23-
# server-id: ossrh
24-
# server-username: OSSRH_USERNAME # env variable for username in deploy
25-
# server-password: OSSRH_PASSWORD # env variable for password in deploy
26-
# gpg-private-key: ${{ secrets.OSSRH_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
27-
# gpg-passphrase: OSSRH_GPG_PASSPHRASE # env variable for GPG private key passphrase
28-
# - name: Deploy to Maven Central
29-
# env:
30-
# OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
31-
# OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
32-
# OSSRH_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSPHRASE }}
33-
# run: ./mvnw -B deploy -Pdeploy
3417
- name: Create release notes
3518
if: startsWith(github.ref, 'refs/tags/')
3619
run: |

pom.xml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,11 @@
5252

5353
<!-- Maven plugins -->
5454
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
55-
<maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
5655
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
5756
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
5857
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
5958
<maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
6059
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
61-
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
6260
<moditect-maven-plugin.version>1.2.2.Final</moditect-maven-plugin.version>
6361

6462
<!-- Dependencies -->
@@ -78,17 +76,6 @@
7876
<moditect.module.name>de.sonallux.spotify</moditect.module.name>
7977
</properties>
8078

81-
<distributionManagement>
82-
<snapshotRepository>
83-
<id>ossrh</id>
84-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
85-
</snapshotRepository>
86-
<repository>
87-
<id>ossrh</id>
88-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
89-
</repository>
90-
</distributionManagement>
91-
9279
<dependencyManagement>
9380
<dependencies>
9481
<dependency>
@@ -183,38 +170,6 @@
183170
</build>
184171

185172
<profiles>
186-
<profile>
187-
<id>deploy</id>
188-
<build>
189-
<plugins>
190-
<plugin>
191-
<groupId>org.sonatype.plugins</groupId>
192-
<artifactId>nexus-staging-maven-plugin</artifactId>
193-
<version>${nexus-staging-maven-plugin.version}</version>
194-
<extensions>true</extensions>
195-
<configuration>
196-
<serverId>ossrh</serverId>
197-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
198-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
199-
</configuration>
200-
</plugin>
201-
<plugin>
202-
<groupId>org.apache.maven.plugins</groupId>
203-
<artifactId>maven-gpg-plugin</artifactId>
204-
<version>${maven-gpg-plugin.version}</version>
205-
<executions>
206-
<execution>
207-
<id>sign-artifacts</id>
208-
<phase>verify</phase>
209-
<goals>
210-
<goal>sign</goal>
211-
</goals>
212-
</execution>
213-
</executions>
214-
</plugin>
215-
</plugins>
216-
</build>
217-
</profile>
218173
<profile>
219174
<id>cli</id>
220175
</profile>

0 commit comments

Comments
 (0)