-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom-modify.xml
98 lines (90 loc) · 4.43 KB
/
pom-modify.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.neo4j.driver</groupId>
<artifactId>neo4j-java-driver-osgi-modify</artifactId>
<version>4.0-SNAPSHOT</version>
<name>Neo4j :: Java :: Driver :: OSGi :: Modify</name>
<packaging>pom</packaging>
<properties>
<artifactId-modifier>neo4j-java-driver-osgi</artifactId-modifier>
<reactor-bom-modifier.version>3.3.1.RELEASE</reactor-bom-modifier.version>
<pomFile-to-alter>neo4j-java-driver/pom.xml</pomFile-to-alter>
<pomutils-maven-plugin.version>1.1.0</pomutils-maven-plugin.version>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>info.bluespot</groupId>
<artifactId>pomutils-maven-plugin</artifactId>
<version>${pomutils-maven-plugin.version}</version>
<executions>
<execution>
<id>add-a-parent</id>
<phase>validate</phase>
<goals>
<goal>add-parent</goal>
</goals>
<configuration>
<groupId>${project.groupId}</groupId>
<artifactId>${artifactId-modifier}</artifactId>
<version>${project.version}</version>
<pomFile>${pomFile-to-alter}</pomFile>
</configuration>
</execution>
<execution>
<id>delete-reactor-bom</id>
<phase>validate</phase>
<goals>
<goal>delete-dependency</goal>
</goals>
<configuration>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-bom</artifactId>
<version>Dysprosium-SR7</version>
<pomFile>${pomFile-to-alter}</pomFile>
<modifyDependencyManagement>true</modifyDependencyManagement>
</configuration>
</execution>
<execution>
<id>add-reactor-core</id>
<phase>validate</phase>
<goals>
<goal>add-dependency</goal>
</goals>
<configuration>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<version>${reactor-bom-modifier.version}</version>
<pomFile>${pomFile-to-alter}</pomFile>
<modifyDependencyManagement>true</modifyDependencyManagement>
</configuration>
</execution>
<execution>
<id>add-reactor-test</id>
<phase>validate</phase>
<goals>
<goal>add-dependency</goal>
</goals>
<configuration>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<version>${reactor-bom-modifier.version}</version>
<pomFile>${pomFile-to-alter}</pomFile>
<modifyDependencyManagement>true</modifyDependencyManagement>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>info.bluespot</groupId>
<artifactId>pomutils-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>