Skip to content

Commit 73a3c37

Browse files
authored
build: provide a Bill of Materials artifact for easier integration in projects (#405)
Signed-off-by: Nicolas Vervelle <[email protected]>
1 parent 722f520 commit 73a3c37

File tree

3 files changed

+97
-0
lines changed

3 files changed

+97
-0
lines changed

bom/pom.xml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright 2018-Present The CloudEvents Authors
4+
~ <p>
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~ <p>
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~ <p>
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
~
17+
-->
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20+
<modelVersion>4.0.0</modelVersion>
21+
22+
<parent>
23+
<groupId>io.cloudevents</groupId>
24+
<artifactId>cloudevents-parent</artifactId>
25+
<version>2.3.0-SNAPSHOT</version>
26+
</parent>
27+
28+
<artifactId>cloudevents-bom</artifactId>
29+
<name>CloudEvents - Bill of Materials</name>
30+
<packaging>pom</packaging>
31+
32+
<dependencyManagement>
33+
<dependencies>
34+
<dependency>
35+
<groupId>io.cloudevents</groupId>
36+
<artifactId>cloudevents-api</artifactId>
37+
<version>${project.version}</version>
38+
</dependency>
39+
<dependency>
40+
<groupId>io.cloudevents</groupId>
41+
<artifactId>cloudevents-core</artifactId>
42+
<version>${project.version}</version>
43+
</dependency>
44+
<dependency>
45+
<groupId>io.cloudevents</groupId>
46+
<artifactId>cloudevents-json-jackson</artifactId>
47+
<version>${project.version}</version>
48+
</dependency>
49+
<dependency>
50+
<groupId>io.cloudevents</groupId>
51+
<artifactId>cloudevents-protobuf</artifactId>
52+
<version>${project.version}</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>io.cloudevents</groupId>
56+
<artifactId>cloudevents-amqp-proton</artifactId>
57+
<version>${project.version}</version>
58+
</dependency>
59+
<dependency>
60+
<groupId>io.cloudevents</groupId>
61+
<artifactId>cloudevents-http-basic</artifactId>
62+
<version>${project.version}</version>
63+
</dependency>
64+
<dependency>
65+
<groupId>io.cloudevents</groupId>
66+
<artifactId>cloudevents-http-vertx</artifactId>
67+
<version>${project.version}</version>
68+
</dependency>
69+
<dependency>
70+
<groupId>io.cloudevents</groupId>
71+
<artifactId>cloudevents-http-restful-ws</artifactId>
72+
<version>${project.version}</version>
73+
</dependency>
74+
<dependency>
75+
<groupId>io.cloudevents</groupId>
76+
<artifactId>cloudevents-kafka</artifactId>
77+
<version>${project.version}</version>
78+
</dependency>
79+
<dependency>
80+
<groupId>io.cloudevents</groupId>
81+
<artifactId>cloudevents-spring</artifactId>
82+
<version>${project.version}</version>
83+
</dependency>
84+
<dependency>
85+
<groupId>io.cloudevents</groupId>
86+
<artifactId>io.cloudevents.sql</artifactId>
87+
<version>${project.version}</version>
88+
</dependency>
89+
</dependencies>
90+
</dependencyManagement>
91+
</project>

docs/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ a different feature from the different sub specs of
8888
[Event Formats](https://github.com/cloudevents/spec/blob/v1.0/spec.md#event-format),
8989
`MessageReader` /`MessageWriter` to implement
9090
[Protocol bindings](https://github.com/cloudevents/spec/blob/v1.0/spec.md#protocol-binding)
91+
- [`cloudevents-bom`] Module providing a
92+
[bill of materials (BOM)](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#bill-of-materials-bom-poms)
93+
for easier integration of CloudEvents in other projects
9194
- [`cloudevents-json-jackson`] Implementation of [JSON Event format] with
9295
[Jackson](https://github.com/FasterXML/jackson)
9396
- [`cloudevents-protobuf`] Implementation of [Protobuf Event format] using code generated
@@ -113,8 +116,10 @@ You can look at the latest published artifacts on
113116
[Kafka Protocol Binding]: https://github.com/cloudevents/spec/blob/v1.0/kafka-protocol-binding.md
114117
[AMQP Protocol Binding]: https://github.com/cloudevents/spec/blob/v1.0/amqp-protocol-binding.md
115118
[`cloudevents-api`]: https://github.com/cloudevents/sdk-java/tree/master/api
119+
[`cloudevents-bom`]: https://github.com/cloudevents/sdk-java/tree/master/bom
116120
[`cloudevents-core`]: https://github.com/cloudevents/sdk-java/tree/master/core
117121
[`cloudevents-json-jackson`]: https://github.com/cloudevents/sdk-java/tree/master/formats/json-jackson
122+
[`cloudevents-protobuf`]: https://github.com/cloudevents/sdk-java/tree/master/formats/protobuf
118123
[`cloudevents-http-vertx`]: https://github.com/cloudevents/sdk-java/tree/master/http/vertx
119124
[`cloudevents-http-basic`]: https://github.com/cloudevents/sdk-java/tree/master/http/basic
120125
[`cloudevents-http-restful-ws`]: https://github.com/cloudevents/sdk-java/tree/master/http/restful-ws

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
<module>kafka</module>
7878
<module>spring</module>
7979
<module>sql</module>
80+
<module>bom</module>
8081
</modules>
8182

8283
<properties>

0 commit comments

Comments
 (0)