Skip to content

Commit 95ded88

Browse files
authored
Introduce dbeam-bom package (#671)
1 parent 69f24fd commit 95ded88

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed

dbeam-bom/pom.xml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>com.spotify</groupId>
8+
<artifactId>dbeam-parent</artifactId>
9+
<version>0.10.16-SNAPSHOT</version>
10+
</parent>
11+
<artifactId>dbeam-bom</artifactId>
12+
<packaging>pom</packaging>
13+
14+
<name>DBeam BOM</name>
15+
<description>A BOM with Beam SDK, GCP, gRPC and other dependencies for DBeam</description>
16+
17+
<dependencyManagement>
18+
<dependencies>
19+
<dependency>
20+
<groupId>com.spotify</groupId>
21+
<artifactId>dbeam-core</artifactId>
22+
</dependency>
23+
</dependencies>
24+
</dependencyManagement>
25+
26+
<build>
27+
<plugins>
28+
<!-- execute dependency:tree and save the output to a file -->
29+
<plugin>
30+
<groupId>org.apache.maven.plugins</groupId>
31+
<artifactId>maven-help-plugin</artifactId>
32+
<version>3.4.0</version>
33+
<executions>
34+
<execution>
35+
<id>generate-effective-pom</id>
36+
<goals>
37+
<goal>effective-pom</goal>
38+
</goals>
39+
<phase>package</phase>
40+
<configuration>
41+
<output>${project.build.directory}/effective-pom.txt</output>
42+
</configuration>
43+
</execution>
44+
</executions>
45+
</plugin>
46+
<plugin>
47+
<groupId>org.codehaus.mojo</groupId>
48+
<artifactId>build-helper-maven-plugin</artifactId>
49+
<version>3.4.0</version>
50+
<executions>
51+
<execution>
52+
<id>attach-effective-pom</id>
53+
<goals>
54+
<goal>attach-artifact</goal>
55+
</goals>
56+
<phase>package</phase>
57+
<configuration>
58+
<artifacts>
59+
<!-- when installed/deployed, the file is named like ${artifactId}-${version}.<type> below. The name of the file in ${project.build.directory} is not used. -->
60+
<artifact>
61+
<file>${project.build.directory}/effective-pom.txt</file>
62+
<type>xml</type>
63+
<classifier>effective-pom</classifier>
64+
</artifact>
65+
</artifacts>
66+
</configuration>
67+
</execution>
68+
</executions>
69+
</plugin>
70+
</plugins>
71+
</build>
72+
</project>

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676

7777
<modules>
7878
<module>dbeam-core</module>
79+
<module>dbeam-bom</module>
7980
</modules>
8081

8182
<scm>

0 commit comments

Comments
 (0)