Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MNG-8312] Generate the BOM automatically #1797

Merged
merged 6 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -122,7 +122,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 @@ -163,6 +162,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 @@ -668,6 +668,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 @@ -856,6 +862,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