Skip to content

Commit 638a3e1

Browse files
committed
Add 'bill of materials' declaring versions of all modules.
1 parent 6856110 commit 638a3e1

File tree

2 files changed

+83
-25
lines changed

2 files changed

+83
-25
lines changed

context-propagation-bom/pom.xml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright 2016-2017 Talsma ICT
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
-->
19+
<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">
20+
21+
<modelVersion>4.0.0</modelVersion>
22+
<parent>
23+
<groupId>nl.talsmasoftware.context</groupId>
24+
<artifactId>context-propagation-root</artifactId>
25+
<version>0.4.7-SNAPSHOT</version>
26+
</parent>
27+
28+
<artifactId>context-propagation-bom</artifactId>
29+
<packaging>pom</packaging>
30+
<name>Context propagation (bill-of-materials)</name>
31+
<description>
32+
Bill of Materials with exported module versions.
33+
This only contains 'opinionated' versions
34+
so modules of this library and crucial transitive jars.
35+
</description>
36+
37+
<properties>
38+
<root.basedir>${project.parent.basedir}</root.basedir>
39+
</properties>
40+
41+
<dependencyManagement>
42+
<dependencies>
43+
<dependency>
44+
<groupId>${project.groupId}</groupId>
45+
<artifactId>context-propagation</artifactId>
46+
<version>${project.version}</version>
47+
</dependency>
48+
<dependency>
49+
<groupId>${project.groupId}</groupId>
50+
<artifactId>context-propagation-java8</artifactId>
51+
<version>${project.version}</version>
52+
</dependency>
53+
<dependency>
54+
<groupId>${project.groupId}</groupId>
55+
<artifactId>mdc-propagation</artifactId>
56+
<version>${project.version}</version>
57+
</dependency>
58+
<dependency>
59+
<groupId>${project.groupId}</groupId>
60+
<artifactId>opentracing-span-propagation</artifactId>
61+
<version>${project.version}</version>
62+
</dependency>
63+
<dependency>
64+
<groupId>${project.groupId}</groupId>
65+
<artifactId>servletrequest-propagation</artifactId>
66+
<version>${project.version}</version>
67+
</dependency>
68+
69+
<dependency> <!-- concurrency 0.1.2 delegates to context-propagation -->
70+
<groupId>nl.talsmasoftware</groupId>
71+
<artifactId>concurrency</artifactId>
72+
<version>0.1.2</version>
73+
</dependency>
74+
</dependencies>
75+
</dependencyManagement>
76+
77+
</project>

pom.xml

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
<inceptionYear>2016</inceptionYear>
3636

3737
<modules>
38+
<module>context-propagation-bom</module>
3839
<module>context-propagation-java5</module>
3940
<module>context-propagation-java8</module>
4041
<module>mdc-propagation</module>
@@ -325,36 +326,11 @@
325326
<version>${project.version}</version>
326327
</dependency>
327328

328-
<dependency>
329-
<groupId>junit</groupId>
330-
<artifactId>junit</artifactId>
331-
<version>${junit.version}</version>
332-
</dependency>
333-
<dependency>
334-
<groupId>org.hamcrest</groupId>
335-
<artifactId>hamcrest-library</artifactId>
336-
<version>${hamcrest.version}</version>
337-
</dependency>
338-
<dependency>
339-
<groupId>org.mockito</groupId>
340-
<artifactId>mockito-all</artifactId>
341-
<version>${mockito.version}</version>
342-
</dependency>
343329
<dependency>
344330
<groupId>org.slf4j</groupId>
345331
<artifactId>slf4j-api</artifactId>
346332
<version>${slf4j.version}</version>
347333
</dependency>
348-
<dependency>
349-
<groupId>org.slf4j</groupId>
350-
<artifactId>jul-to-slf4j</artifactId>
351-
<version>${slf4j.version}</version>
352-
</dependency>
353-
<dependency>
354-
<groupId>ch.qos.logback</groupId>
355-
<artifactId>logback-classic</artifactId>
356-
<version>${logback.version}</version>
357-
</dependency>
358334
</dependencies>
359335
</dependencyManagement>
360336

@@ -363,26 +339,31 @@
363339
<dependency>
364340
<groupId>junit</groupId>
365341
<artifactId>junit</artifactId>
342+
<version>${junit.version}</version>
366343
<scope>test</scope>
367344
</dependency>
368345
<dependency>
369346
<groupId>org.hamcrest</groupId>
370347
<artifactId>hamcrest-library</artifactId>
348+
<version>${hamcrest.version}</version>
371349
<scope>test</scope>
372350
</dependency>
373351
<dependency>
374352
<groupId>org.mockito</groupId>
375353
<artifactId>mockito-all</artifactId>
354+
<version>${mockito.version}</version>
376355
<scope>test</scope>
377356
</dependency>
378357
<dependency>
379358
<groupId>org.slf4j</groupId>
380359
<artifactId>jul-to-slf4j</artifactId>
360+
<version>${slf4j.version}</version>
381361
<scope>test</scope>
382362
</dependency>
383363
<dependency>
384364
<groupId>ch.qos.logback</groupId>
385365
<artifactId>logback-classic</artifactId>
366+
<version>${logback.version}</version>
386367
<scope>test</scope>
387368
</dependency>
388369
</dependencies>

0 commit comments

Comments
 (0)