File tree Expand file tree Collapse file tree 2 files changed +19
-32
lines changed
graphql-kotlin-spring-example Expand file tree Collapse file tree 2 files changed +19
-32
lines changed Original file line number Diff line number Diff line change 16
16
17
17
<properties >
18
18
<spring-boot .version>2.1.2.RELEASE</spring-boot .version>
19
+
20
+ <!-- skip release plugins -->
21
+ <maven .source.skip>true</maven .source.skip>
19
22
</properties >
20
23
21
24
<dependencies >
73
76
<!-- <groupId>org.apache.maven.plugins</groupId>-->
74
77
<!-- <artifactId>maven-antrun-plugin</artifactId>-->
75
78
<!-- </plugin>-->
76
- <plugin >
77
- <groupId >org.apache.maven.plugins</groupId >
78
- <artifactId >maven-deploy-plugin</artifactId >
79
- <configuration >
80
- <!-- don't publish this artifact -->
81
- <skip >true</skip >
82
- </configuration >
83
- </plugin >
84
79
<plugin >
85
80
<groupId >org.jetbrains.dokka</groupId >
86
81
<artifactId >dokka-maven-plugin</artifactId >
82
+ <version >${dokka-maven-plugin.version} </version >
87
83
<configuration >
88
84
<!-- don't generate javadocs as there is no artifact-->
89
85
<skip >true</skip >
90
86
</configuration >
91
87
</plugin >
88
+ <plugin >
89
+ <groupId >org.sonatype.plugins</groupId >
90
+ <artifactId >nexus-staging-maven-plugin</artifactId >
91
+ <version >1.6.8</version >
92
+ <extensions >true</extensions >
93
+ <executions >
94
+ <execution >
95
+ <id >default-deploy</id >
96
+ <phase >none</phase >
97
+ </execution >
98
+ </executions >
99
+ </plugin >
92
100
</plugins >
93
101
</build >
94
102
</project >
Original file line number Diff line number Diff line change 95
95
<detekt-cli .version>1.0.0-RC14</detekt-cli .version>
96
96
<ktlint .version>0.30.0</ktlint .version>
97
97
<jacoco-maven-plugin .version>0.8.3</jacoco-maven-plugin .version>
98
+
99
+ <!-- disable default maven-deploy-plugin in favor of nexus-staging-maven-plugin -->
100
+ <maven .deploy.skip>true</maven .deploy.skip>
98
101
</properties >
99
102
100
103
<pluginRepositories >
342
345
</property >
343
346
</activation >
344
347
345
- <!-- Exclude the example app from releases -->
346
- <modules >
347
- <module >graphql-kotlin-schema-generator</module >
348
- </modules >
349
-
350
348
<build >
351
349
<plugins >
352
350
<!-- Release to Maven central -->
384
382
</execution >
385
383
</executions >
386
384
</plugin >
387
- <!-- Attach javadocs to jar -->
388
- <plugin >
389
- <groupId >org.apache.maven.plugins</groupId >
390
- <artifactId >maven-javadoc-plugin</artifactId >
391
- <version >3.0.1</version >
392
- <executions >
393
- <execution >
394
- <id >attach-javadocs</id >
395
- <goals >
396
- <goal >jar</goal >
397
- </goals >
398
- </execution >
399
- </executions >
400
- </plugin >
401
385
<!-- Sign the artifacts -->
402
386
<plugin >
403
387
<groupId >org.apache.maven.plugins</groupId >
422
406
<jdk >1.8</jdk >
423
407
</activation >
424
408
425
- <!-- Exclude the example app from javadoc packages -->
426
- <modules >
427
- <module >graphql-kotlin-schema-generator</module >
428
- </modules >
429
-
430
409
<build >
431
410
<plugins >
432
411
<plugin >
You can’t perform that action at this time.
0 commit comments