Skip to content

Commit

Permalink
[MNG-8312] Generate the BOM automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Oct 15, 2024
1 parent 651a4b2 commit ba56cf6
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 211 deletions.
209 changes: 0 additions & 209 deletions maven-bom/pom.xml

This file was deleted.

33 changes: 31 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ under the License.
<parent>
<groupId>org.apache.maven</groupId>
<artifactId>maven-parent</artifactId>
<!-- when upgrading parent, also upgrade maven-bom's parent -->
<!-- when upgrading parent, also upgrade ${apacheVersion} -->
<version>43</version>
<relativePath />
</parent>
Expand Down Expand Up @@ -123,7 +123,6 @@ under the License.
<module>apache-maven</module>
<module>maven-toolchain-model</module>
<module>maven-toolchain-builder</module>
<module>maven-bom</module>
<module>maven-docgen</module>
</modules>

Expand Down Expand Up @@ -164,6 +163,7 @@ under the License.
<maven.site.path>ref/4-LATEST</maven.site.path>
<project.build.outputTimestamp>2024-08-30T12:59:00Z</project.build.outputTimestamp>
<!-- various versions -->
<apacheVersion>33</apacheVersion>
<assertjVersion>3.26.3</assertjVersion>
<asmVersion>9.7.1</asmVersion>
<byteBuddyVersion>1.15.4</byteBuddyVersion>
Expand Down Expand Up @@ -674,6 +674,12 @@ under the License.
<artifactId>byte-buddy</artifactId>
<version>${byteBuddyVersion}</version>
</dependency>
<dependency>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>${apacheVersion}</version>
<type>pom</type>
</dependency>
</dependencies>
<!--bootstrap-start-comment-->
</dependencyManagement>
Expand Down Expand Up @@ -862,6 +868,29 @@ under the License.</licenseText>
</execution>
</executions>
</plugin>
<plugin>
<groupId>eu.maveniverse.maven.plugins</groupId>
<artifactId>bom-builder3</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<id>skinny-bom</id>
<goals>
<goal>build-bom</goal>
</goals>
<configuration>
<bomGroupId>org.apache.maven</bomGroupId>
<bomArtifactId>maven-bom</bomArtifactId>
<bomVersion>${project.version}</bomVersion>
<bomName>Maven Dependencies BOM</bomName>
<bomDescription>Bill Of Materials for Apache Maven dependencies</bomDescription>
<bomParentGav>org.apache:apache:${apacheVersion}</bomParentGav>
<outputFilename>maven-bom.xml</outputFilename>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit ba56cf6

Please sign in to comment.