Skip to content

Commit 29d6b3d

Browse files
committed
preparing release of version 2.0.0
1 parent 9cd0d04 commit 29d6b3d

File tree

2 files changed

+104
-4
lines changed

2 files changed

+104
-4
lines changed

pom.xml

Lines changed: 103 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
<parent>
88
<groupId>de.codecentric.reedelk</groupId>
99
<artifactId>module-parent</artifactId>
10-
<version>1.1.0</version>
10+
<version>2.0.0</version>
1111
</parent>
1212

1313
<packaging>bundle</packaging>
14-
<version>1.1.0</version>
14+
<version>2.0.0</version>
1515
<artifactId>module-rest</artifactId> <!-- NAME_CONVENTION -->
1616

1717
<properties>
18-
<reedelk.openapi.version>1.0.7</reedelk.openapi.version>
18+
<reedelk.openapi.version>2.0.0</reedelk.openapi.version>
1919
<maven.compiler.release>8</maven.compiler.release>
2020
<reactor.addons.version>3.3.3.RELEASE</reactor.addons.version>
2121
<reactor.netty.version>0.9.8.RELEASE</reactor.netty.version>
@@ -29,6 +29,14 @@
2929
<jacoco.version>0.8.2</jacoco.version>
3030
<mockito.version>2.23.0</mockito.version>
3131
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32+
33+
<!-- Maven Central Release tools -->
34+
<versions-maven-plugin.version>2.8.1</versions-maven-plugin.version>
35+
<maven-deploy-plugin.version>3.0.0-M1</maven-deploy-plugin.version>
36+
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
37+
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
38+
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
39+
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
3240
</properties>
3341

3442
<dependencies>
@@ -154,4 +162,96 @@
154162
</plugin>
155163
</plugins>
156164
</build>
165+
<profiles>
166+
<!-- plugins needed to deploy to Maven Central -->
167+
<profile>
168+
<id>central-deploy</id>
169+
<build>
170+
<plugins>
171+
<plugin>
172+
<artifactId>maven-gpg-plugin</artifactId>
173+
<version>${maven-gpg-plugin.version}</version>
174+
<executions>
175+
<execution>
176+
<id>sign-artifacts</id>
177+
<phase>verify</phase>
178+
<goals>
179+
<goal>sign</goal>
180+
</goals>
181+
<configuration>
182+
<!-- This is necessary for gpg to not try to use the pinentry programs -->
183+
<gpgArguments>
184+
<arg>--pinentry-mode</arg>
185+
<arg>loopback</arg>
186+
</gpgArguments>
187+
</configuration>
188+
</execution>
189+
</executions>
190+
</plugin>
191+
<plugin>
192+
<groupId>org.codehaus.mojo</groupId>
193+
<artifactId>versions-maven-plugin</artifactId>
194+
<version>${versions-maven-plugin.version}</version>
195+
<configuration>
196+
<generateBackupPoms>false</generateBackupPoms>
197+
</configuration>
198+
</plugin>
199+
<plugin>
200+
<artifactId>maven-deploy-plugin</artifactId>
201+
<version>${maven-deploy-plugin.version}</version>
202+
<configuration>
203+
<skip>true</skip>
204+
</configuration>
205+
</plugin>
206+
<plugin>
207+
<groupId>org.apache.maven.plugins</groupId>
208+
<artifactId>maven-source-plugin</artifactId>
209+
<version>${maven-source-plugin.version}</version>
210+
<executions>
211+
<execution>
212+
<id>attach-sources</id>
213+
<goals>
214+
<goal>jar</goal>
215+
</goals>
216+
</execution>
217+
</executions>
218+
</plugin>
219+
<plugin>
220+
<groupId>org.apache.maven.plugins</groupId>
221+
<artifactId>maven-javadoc-plugin</artifactId>
222+
<version>${maven-javadoc-plugin.version}</version>
223+
<executions>
224+
<execution>
225+
<id>attach-javadocs</id>
226+
<goals>
227+
<goal>jar</goal>
228+
</goals>
229+
</execution>
230+
</executions>
231+
</plugin>
232+
<plugin>
233+
<groupId>org.sonatype.plugins</groupId>
234+
<artifactId>nexus-staging-maven-plugin</artifactId>
235+
<version>${nexus-staging-maven-plugin.version}</version>
236+
<extensions>true</extensions>
237+
<configuration>
238+
<serverId>oss.sonatype.org</serverId>
239+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
240+
<description>${project.version}</description>
241+
</configuration>
242+
<executions>
243+
<execution>
244+
<id>deploy-to-sonatype</id>
245+
<phase>deploy</phase>
246+
<goals>
247+
<goal>deploy</goal>
248+
<goal>release</goal>
249+
</goals>
250+
</execution>
251+
</executions>
252+
</plugin>
253+
</plugins>
254+
</build>
255+
</profile>
256+
</profiles>
157257
</project>

src/main/resources/module-descriptor.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)