Skip to content

Commit 97cab31

Browse files
committed
Fix CI/deploy
1 parent c7dda61 commit 97cab31

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

afterburner-tests/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff 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>

blackbird-tests/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)