|
| 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> |
0 commit comments