|
7 | 7 | <parent> |
8 | 8 | <groupId>de.codecentric.reedelk</groupId> |
9 | 9 | <artifactId>module-parent</artifactId> |
10 | | - <version>1.1.0</version> |
| 10 | + <version>2.0.0</version> |
11 | 11 | </parent> |
12 | 12 |
|
13 | 13 | <packaging>bundle</packaging> |
14 | | - <version>1.1.0</version> |
| 14 | + <version>2.0.0</version> |
15 | 15 | <artifactId>module-rest</artifactId> <!-- NAME_CONVENTION --> |
16 | 16 |
|
17 | 17 | <properties> |
18 | | - <reedelk.openapi.version>1.0.7</reedelk.openapi.version> |
| 18 | + <reedelk.openapi.version>2.0.0</reedelk.openapi.version> |
19 | 19 | <maven.compiler.release>8</maven.compiler.release> |
20 | 20 | <reactor.addons.version>3.3.3.RELEASE</reactor.addons.version> |
21 | 21 | <reactor.netty.version>0.9.8.RELEASE</reactor.netty.version> |
|
29 | 29 | <jacoco.version>0.8.2</jacoco.version> |
30 | 30 | <mockito.version>2.23.0</mockito.version> |
31 | 31 | <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> |
32 | 40 | </properties> |
33 | 41 |
|
34 | 42 | <dependencies> |
|
154 | 162 | </plugin> |
155 | 163 | </plugins> |
156 | 164 | </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> |
157 | 257 | </project> |
0 commit comments