File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,18 @@ never published.</description>
6161 <skip >true</skip >
6262 </configuration >
6363 </plugin >
64+ <!-- Sonatype Central publishing plugin is bound as a build extension in
65+ the parent chain and replaces maven-deploy for releases. Skipping
66+ maven-deploy alone is not enough: the `injected-central-publishing`
67+ execution still runs and fails with "packaging did not assign a file
68+ to the build artifact" because default-jar is unbound above. -->
69+ <plugin >
70+ <groupId >org.sonatype.central</groupId >
71+ <artifactId >central-publishing-maven-plugin</artifactId >
72+ <configuration >
73+ <skipPublishing >true</skipPublishing >
74+ </configuration >
75+ </plugin >
6476 <!-- Felix bundle plugin: the parent POM binds two explicit executions
6577 (`bundle-manifest` and `default-install`) so we override both by id. -->
6678 <plugin >
Original file line number Diff line number Diff line change @@ -66,6 +66,15 @@ and is never published.</description>
6666 <skip >true</skip >
6767 </configuration >
6868 </plugin >
69+ <!-- See afterburner-tests/pom.xml for why this is required in addition
70+ to skipping maven-deploy-plugin. -->
71+ <plugin >
72+ <groupId >org.sonatype.central</groupId >
73+ <artifactId >central-publishing-maven-plugin</artifactId >
74+ <configuration >
75+ <skipPublishing >true</skipPublishing >
76+ </configuration >
77+ </plugin >
6978 <plugin >
7079 <groupId >org.apache.felix</groupId >
7180 <artifactId >maven-bundle-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments