File tree Expand file tree Collapse file tree 4 files changed +13
-57
lines changed
openfasttrace-mc-deployable-parent Expand file tree Collapse file tree 4 files changed +13
-57
lines changed Original file line number Diff line number Diff line change @@ -56,16 +56,6 @@ It is maintained separately from the main parent POM for the following reasons:
5656 </execution >
5757 </executions >
5858 </plugin >
59- <!-- This plugin needs to be skipped when using the central-publishing-maven-plugin
60- -->
61- <plugin >
62- <groupId >org.apache.maven.plugins</groupId >
63- <artifactId >maven-deploy-plugin</artifactId >
64- <version >3.1.4</version >
65- <configuration >
66- <skip >true</skip >
67- </configuration >
68- </plugin >
6959 </plugins >
7060 </build >
7161 </profile >
Original file line number Diff line number Diff line change 582582 </execution >
583583 </executions >
584584 </plugin >
585+ <!-- The maven-deploy-plugin MUST be disabled when using the central-publishing-maven-plugin!
586+ -->
587+ <plugin >
588+ <groupId >org.apache.maven.plugins</groupId >
589+ <artifactId >maven-deploy-plugin</artifactId >
590+ <!-- The version does not really matter if all we want is disabling the plugin -->
591+ <configuration >
592+ <skip >true</skip >
593+ </configuration >
594+ </plugin >
585595 <!-- This
586596 plugin's configuration is used to store Eclipse
587597 m2e settings only. It has no influence on the Maven build itself. -->
669679 </plugin >
670680 </plugins >
671681 </reporting >
672- <distributionManagement >
673- <repository >
674- <id >central</id >
675- <name >Maven Central</name >
676- <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
677- </repository >
678- <snapshotRepository >
679- <id >central</id >
680- <name >Maven Central Snapshots</name >
681- <url >https://s01.oss.sonatype.org/content/repositories/snapshots/</url >
682- </snapshotRepository >
683- </distributionManagement >
682+ <!-- With the central-publishing-plugin, the distribution management section
683+ is now obsolete, since the only place this plugin can deploy to is Maven
684+ central anyway. -->
684685</project >
Original file line number Diff line number Diff line change 3535 <module >reporter/aspec</module >
3636 <module >testutil</module >
3737 </modules >
38- <build >
39- <plugins >
40- <plugin >
41- <groupId >org.apache.maven.plugins</groupId >
42- <artifactId >maven-deploy-plugin</artifactId >
43- <version >3.1.4</version >
44- <configuration >
45- <skip >true</skip >
46- </configuration >
47- </plugin >
48- </plugins >
49- </build >
5038</project >
Original file line number Diff line number Diff line change 7373 <useModulePath >false</useModulePath >
7474 </configuration >
7575 </plugin >
76- <!-- Skip everything that has to do with deployment to Maven Central -->
77- <plugin >
78- <groupId >org.apache.maven.plugins</groupId >
79- <artifactId >maven-deploy-plugin</artifactId >
80- <configuration >
81- <skip >true</skip >
82- </configuration >
83- </plugin >
84- <plugin >
85- <groupId >org.sonatype.central</groupId >
86- <artifactId >central-publishing-maven-plugin</artifactId >
87- <configuration >
88- <autoPublish >false</autoPublish >
89- <skipPublishing >true</skipPublishing >
90- </configuration >
91- </plugin >
92- <plugin >
93- <groupId >org.apache.maven.plugins</groupId >
94- <artifactId >maven-gpg-plugin</artifactId >
95- <configuration >
96- <skip >true</skip >
97- </configuration >
98- </plugin >
9976 </plugins >
10077 </build >
10178</project >
You can’t perform that action at this time.
0 commit comments