Skip to content

Commit f5ed5ef

Browse files
committed
GH-743: Skip the apache-release source-release zip
Release CI unpacks JNI tarballs into the working tree before Maven runs, so the parent's source-release assembly would package those binaries (hundreds of MB). Set skipAssembly on the root source-release-assembly execution (same pattern as bom/pom.xml) and drop the forked descriptor. The artifact we vote on and publish remains the git-archive tarball. Closes #743. AI assistance disclosure: prepared with an AI coding assistant; reviewed locally.
1 parent 22f9750 commit f5ed5ef

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

‎pom.xml‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,31 @@ under the License.
786786
</reporting>
787787

788788
<profiles>
789+
<profile>
790+
<id>apache-release</id>
791+
<build>
792+
<plugins>
793+
<plugin>
794+
<groupId>org.apache.maven.plugins</groupId>
795+
<artifactId>maven-assembly-plugin</artifactId>
796+
<executions>
797+
<execution>
798+
<id>source-release-assembly</id>
799+
<configuration>
800+
<!-- Skip the parent's source-release zip. Release CI unpacks
801+
JNI tarballs into the working tree before Maven runs, so
802+
that assembly would package binaries. The artifact we
803+
vote on and publish is the git-archive tarball instead
804+
(same approach as bom/pom.xml). See GH-743. -->
805+
<skipAssembly>true</skipAssembly>
806+
</configuration>
807+
</execution>
808+
</executions>
809+
</plugin>
810+
</plugins>
811+
</build>
812+
</profile>
813+
789814
<profile>
790815
<!-- Certain flags are required on newer JDK but not recognized on earlier JDK -->
791816
<id>jdk24</id>

0 commit comments

Comments
 (0)