Skip to content

Commit 0ef39d0

Browse files
authored
Merge pull request #6 from Les-Projects/main
Cleanup of POM
2 parents 94798f0 + d531087 commit 0ef39d0

File tree

1 file changed

+59
-6
lines changed

1 file changed

+59
-6
lines changed

pom.xml

+59-6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<name>MCSS API Wrapper</name>
1212
<description>A Wrapper for the API of McServerSoft (MCSS)</description>
13+
<url>https://github.com/Les-Projects/mcss-api-java</url>
1314

1415

1516
<repositories>
@@ -76,12 +77,64 @@
7677
<id>ossrh</id>
7778
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
7879
</snapshotRepository>
79-
<repository>
80+
<!--<repository>
8081
<id>ossrh</id>
8182
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
82-
</repository>
83+
</repository> -->
8384
</distributionManagement>
8485

86+
87+
88+
<profiles>
89+
<profile>
90+
<id>release</id>
91+
<build>
92+
<plugins>
93+
<plugin>
94+
<groupId>org.apache.maven.plugins</groupId>
95+
<artifactId>maven-source-plugin</artifactId>
96+
<version>2.2.1</version>
97+
<executions>
98+
<execution>
99+
<id>attach-sources</id>
100+
<goals>
101+
<goal>jar-no-fork</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
<plugin>
107+
<groupId>org.apache.maven.plugins</groupId>
108+
<artifactId>maven-javadoc-plugin</artifactId>
109+
<version>3.3.1</version>
110+
<executions>
111+
<execution>
112+
<id>attach-javadocs</id>
113+
<goals>
114+
<goal>jar</goal>
115+
</goals>
116+
</execution>
117+
</executions>
118+
</plugin>
119+
<plugin>
120+
<groupId>org.apache.maven.plugins</groupId>
121+
<artifactId>maven-gpg-plugin</artifactId>
122+
<version>3.0.1</version>
123+
<executions>
124+
<execution>
125+
<id>sign-artifacts</id>
126+
<phase>verify</phase>
127+
<goals>
128+
<goal>sign</goal>
129+
</goals>
130+
</execution>
131+
</executions>
132+
</plugin>
133+
</plugins>
134+
</build>
135+
</profile>
136+
</profiles>
137+
85138
<build>
86139
<plugins>
87140
<plugin>
@@ -134,15 +187,15 @@
134187
<plugin>
135188
<groupId>org.sonatype.plugins</groupId>
136189
<artifactId>nexus-staging-maven-plugin</artifactId>
137-
<version>1.6.7</version>
190+
<version>1.6.13</version>
138191
<extensions>true</extensions>
139192
<configuration>
140193
<serverId>ossrh</serverId>
141194
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
142-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
195+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
143196
</configuration>
144197
</plugin>
145-
<plugin>
198+
<!--<plugin>
146199
<groupId>org.apache.maven.plugins</groupId>
147200
<artifactId>maven-release-plugin</artifactId>
148201
<version>2.5.3</version>
@@ -152,7 +205,7 @@
152205
<releaseProfiles>release</releaseProfiles>
153206
<goals>deploy</goals>
154207
</configuration>
155-
</plugin>
208+
</plugin> -->
156209
</plugins>
157210
</build>
158211
</project>

0 commit comments

Comments
 (0)