Skip to content

Commit 2e90e01

Browse files
authored
RATIS-2384. Add Bill of Materials module (#1335)
1 parent 58431c0 commit 2e90e01

3 files changed

Lines changed: 131 additions & 1 deletion

File tree

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
<module>ratis-tools</module>
7474
<module>ratis-shell</module>
7575
<module>ratis-assembly</module>
76+
<module>ratis-bom</module>
7677
</modules>
7778

7879
<scm>
@@ -181,7 +182,7 @@
181182
<!-- override maven.compiler.target=8 defined in parent POM 35; can be removed on upgrade to 36+ -->
182183
<maven.compiler.target>${maven.compiler.release}</maven.compiler.target>
183184

184-
<!-- Contains all shaded thirdparty dependencies -->
185+
<!-- Contains all shaded thirdparty dependencies; make sure to also update in ratis-bom/pom.xml -->
185186
<ratis.thirdparty.version>1.0.10</ratis.thirdparty.version>
186187

187188
<!-- Need these for the protobuf compiler. *MUST* match what is in ratis-thirdparty -->

ratis-assembly/src/main/assembly/src.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<useAllReactorProjects>true</useAllReactorProjects>
3232
<includes>
3333
<include>org.apache.ratis:ratis-assembly</include>
34+
<include>org.apache.ratis:ratis-bom</include>
3435
<include>org.apache.ratis:ratis-client</include>
3536
<include>org.apache.ratis:ratis-common</include>
3637
<include>org.apache.ratis:ratis-examples</include>

ratis-bom/pom.xml

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License. See accompanying LICENSE file.
14+
-->
15+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
16+
<modelVersion>4.0.0</modelVersion>
17+
<groupId>org.apache.ratis</groupId>
18+
<artifactId>ratis-bom</artifactId>
19+
<version>3.3.0-SNAPSHOT</version>
20+
<name>Apache Ratis BOM</name>
21+
<description>Apache Ratis Bill of Materials (BOM)</description>
22+
23+
<packaging>pom</packaging>
24+
25+
<properties>
26+
<ratis.thirdparty.version>1.0.10</ratis.thirdparty.version>
27+
<!-- no testable code in this module -->
28+
<skipTests>true</skipTests>
29+
</properties>
30+
31+
<dependencyManagement>
32+
<dependencies>
33+
<dependency>
34+
<groupId>org.apache.ratis</groupId>
35+
<artifactId>ratis-client</artifactId>
36+
<version>${project.version}</version>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.apache.ratis</groupId>
40+
<artifactId>ratis-common</artifactId>
41+
<version>${project.version}</version>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.apache.ratis</groupId>
45+
<artifactId>ratis-docs</artifactId>
46+
<version>${project.version}</version>
47+
</dependency>
48+
<dependency>
49+
<groupId>org.apache.ratis</groupId>
50+
<artifactId>ratis-examples</artifactId>
51+
<version>${project.version}</version>
52+
</dependency>
53+
<dependency>
54+
<groupId>org.apache.ratis</groupId>
55+
<artifactId>ratis-experiments</artifactId>
56+
<version>${project.version}</version>
57+
</dependency>
58+
<dependency>
59+
<groupId>org.apache.ratis</groupId>
60+
<artifactId>ratis-grpc</artifactId>
61+
<version>${project.version}</version>
62+
</dependency>
63+
<dependency>
64+
<groupId>org.apache.ratis</groupId>
65+
<artifactId>ratis-metrics-api</artifactId>
66+
<version>${project.version}</version>
67+
</dependency>
68+
<dependency>
69+
<groupId>org.apache.ratis</groupId>
70+
<artifactId>ratis-metrics-default</artifactId>
71+
<version>${project.version}</version>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.apache.ratis</groupId>
75+
<artifactId>ratis-metrics-dropwizard3</artifactId>
76+
<version>${project.version}</version>
77+
</dependency>
78+
<dependency>
79+
<groupId>org.apache.ratis</groupId>
80+
<artifactId>ratis-netty</artifactId>
81+
<version>${project.version}</version>
82+
</dependency>
83+
<dependency>
84+
<groupId>org.apache.ratis</groupId>
85+
<artifactId>ratis-proto</artifactId>
86+
<version>${project.version}</version>
87+
</dependency>
88+
<dependency>
89+
<groupId>org.apache.ratis</groupId>
90+
<artifactId>ratis-server</artifactId>
91+
<version>${project.version}</version>
92+
</dependency>
93+
<dependency>
94+
<groupId>org.apache.ratis</groupId>
95+
<artifactId>ratis-server-api</artifactId>
96+
<version>${project.version}</version>
97+
</dependency>
98+
<dependency>
99+
<groupId>org.apache.ratis</groupId>
100+
<artifactId>ratis-shell</artifactId>
101+
<version>${project.version}</version>
102+
</dependency>
103+
<dependency>
104+
<groupId>org.apache.ratis</groupId>
105+
<artifactId>ratis-thirdparty-misc</artifactId>
106+
<version>${ratis.thirdparty.version}</version>
107+
</dependency>
108+
<dependency>
109+
<groupId>org.apache.ratis</groupId>
110+
<artifactId>ratis-tools</artifactId>
111+
<version>${project.version}</version>
112+
</dependency>
113+
</dependencies>
114+
</dependencyManagement>
115+
116+
<build>
117+
<plugins>
118+
<plugin>
119+
<groupId>com.github.spotbugs</groupId>
120+
<artifactId>spotbugs-maven-plugin</artifactId>
121+
<version>4.8.6.2</version>
122+
<configuration>
123+
<skip>true</skip>
124+
</configuration>
125+
</plugin>
126+
</plugins>
127+
</build>
128+
</project>

0 commit comments

Comments
 (0)