|
243 | 243 | </includes> |
244 | 244 | </configuration> |
245 | 245 | </plugin> |
246 | | - <plugin> |
247 | | - <groupId>org.apache.maven.plugins</groupId> |
248 | | - <artifactId>maven-release-plugin</artifactId> |
249 | | - <version>2.5.3</version> |
250 | | - <configuration> |
251 | | - <tagNameFormat>@{project.version}</tagNameFormat> |
252 | | - <generateReleasePoms>false</generateReleasePoms> |
253 | | - </configuration> |
254 | | - </plugin> |
255 | 246 | <plugin> |
256 | 247 | <groupId>org.apache.maven.plugins</groupId> |
257 | 248 | <artifactId>maven-jar-plugin</artifactId> |
|
279 | 270 | </goals> |
280 | 271 | <configuration> |
281 | 272 | <rules> |
282 | | - <dependencyConvergence /> |
| 273 | + <dependencyConvergence/> |
283 | 274 | </rules> |
284 | 275 | </configuration> |
285 | 276 | </execution> |
286 | 277 | </executions> |
287 | 278 | </plugin> |
| 279 | + <plugin> |
| 280 | + <groupId>org.sonatype.plugins</groupId> |
| 281 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 282 | + <version>1.6.8</version> |
| 283 | + <extensions>true</extensions> |
| 284 | + <configuration> |
| 285 | + <serverId>ossrh</serverId> |
| 286 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 287 | + <!-- temporarily set to false to test release deployment--> |
| 288 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 289 | + </configuration> |
| 290 | + </plugin> |
288 | 291 | </plugins> |
289 | 292 | </build> |
290 | 293 |
|
291 | 294 | <profiles> |
292 | 295 | <profile> |
293 | | - <id>bintray</id> |
| 296 | + <id>release</id> |
294 | 297 | <build> |
295 | 298 | <plugins> |
296 | 299 | <plugin> |
|
302 | 305 | <id>attach-sources</id> |
303 | 306 | <phase>package</phase> |
304 | 307 | <goals> |
305 | | - <goal>jar</goal> |
| 308 | + <goal>jar-no-fork</goal> |
306 | 309 | </goals> |
307 | 310 | </execution> |
308 | 311 | </executions> |
|
320 | 323 | </execution> |
321 | 324 | </executions> |
322 | 325 | </plugin> |
| 326 | + <plugin> |
| 327 | + <groupId>org.apache.maven.plugins</groupId> |
| 328 | + <artifactId>maven-gpg-plugin</artifactId> |
| 329 | + <version>1.6</version> |
| 330 | + <executions> |
| 331 | + <execution> |
| 332 | + <id>sign-artifacts</id> |
| 333 | + <phase>verify</phase> |
| 334 | + <goals> |
| 335 | + <goal>sign</goal> |
| 336 | + </goals> |
| 337 | + </execution> |
| 338 | + </executions> |
| 339 | + <configuration> |
| 340 | + <!-- Prevent gpg from using pinentry programs --> |
| 341 | + <gpgArguments> |
| 342 | + <arg>--pinentry-mode</arg> |
| 343 | + <arg>loopback</arg> |
| 344 | + </gpgArguments> |
| 345 | + </configuration> |
| 346 | + </plugin> |
323 | 347 | </plugins> |
324 | 348 | </build> |
325 | 349 | </profile> |
|
341 | 365 | </licenses> |
342 | 366 | <distributionManagement> |
343 | 367 | <snapshotRepository> |
344 | | - <id>bintray</id> |
345 | | - <name>graphql-java-kickstart-graphql-java-tools</name> |
346 | | - <url>http://oss.jfrog.org/artifactory/oss-snapshot-local</url> |
| 368 | + <id>ossrh</id> |
| 369 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
347 | 370 | </snapshotRepository> |
348 | | - |
349 | | - <!-- Released with: mvn release:clean release:prepare release:perform -B -e -Pbintray --> |
350 | | - <repository> |
351 | | - <id>bintray</id> |
352 | | - <name>graphql-java-kickstart-graphql-java-tools</name> |
353 | | - <url> |
354 | | - https://api.bintray.com/maven/graphql-java-kickstart/releases/graphql-java-tools/;publish=1 |
355 | | - </url> |
356 | | - </repository> |
357 | 371 | </distributionManagement> |
358 | 372 | <scm> |
359 | 373 | <connection>scm:git:https://github.com/graphql-java-kickstart/graphql-java-tools.git |
360 | 374 | </connection> |
361 | 375 | <developerConnection>scm:git:https://github.com/graphql-java-kickstart/graphql-java-tools.git |
362 | 376 | </developerConnection> |
363 | 377 | <url>https://github.com/graphql-java-kickstart/graphql-java-tools</url> |
364 | | - <tag>HEAD</tag> |
365 | 378 | </scm> |
366 | 379 | </project> |
0 commit comments