Skip to content

Commit a08e646

Browse files
committed
Add flatten-maven-plugin
Fix #5
1 parent c4d9e1c commit a08e646

File tree

2 files changed

+103
-2
lines changed

2 files changed

+103
-2
lines changed

.flattened-pom.xml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>org.springframework.experimental</groupId>
6+
<artifactId>r2dbc-micrometer-spring-boot</artifactId>
7+
<version>1.0.3-SNAPSHOT</version>
8+
<licenses>
9+
<license>
10+
<name>Apache License 2.0</name>
11+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
12+
<distribution>repo</distribution>
13+
</license>
14+
</licenses>
15+
<dependencies>
16+
<dependency>
17+
<groupId>io.r2dbc</groupId>
18+
<artifactId>r2dbc-proxy</artifactId>
19+
<version>1.1.0.RELEASE</version>
20+
<scope>compile</scope>
21+
</dependency>
22+
<dependency>
23+
<groupId>org.springframework.boot</groupId>
24+
<artifactId>spring-boot-autoconfigure</artifactId>
25+
<version>3.0.0</version>
26+
<scope>compile</scope>
27+
</dependency>
28+
<dependency>
29+
<groupId>org.springframework.boot</groupId>
30+
<artifactId>spring-boot-actuator-autoconfigure</artifactId>
31+
<version>3.0.0</version>
32+
<scope>compile</scope>
33+
</dependency>
34+
<dependency>
35+
<groupId>org.springframework.boot</groupId>
36+
<artifactId>spring-boot-autoconfigure-processor</artifactId>
37+
<version>3.0.0</version>
38+
<scope>compile</scope>
39+
<optional>true</optional>
40+
</dependency>
41+
<dependency>
42+
<groupId>org.springframework.boot</groupId>
43+
<artifactId>spring-boot-configuration-processor</artifactId>
44+
<version>3.0.0</version>
45+
<scope>compile</scope>
46+
<optional>true</optional>
47+
</dependency>
48+
<dependency>
49+
<groupId>io.micrometer</groupId>
50+
<artifactId>micrometer-core</artifactId>
51+
<version>1.10.2</version>
52+
<scope>compile</scope>
53+
</dependency>
54+
</dependencies>
55+
<repositories>
56+
<repository>
57+
<snapshots>
58+
<enabled>false</enabled>
59+
</snapshots>
60+
<id>spring-milestones</id>
61+
<name>Spring Milestones</name>
62+
<url>https://repo.spring.io/milestone</url>
63+
</repository>
64+
<repository>
65+
<releases>
66+
<enabled>false</enabled>
67+
</releases>
68+
<id>spring-snapshots</id>
69+
<name>Spring Snapshots</name>
70+
<url>https://repo.spring.io/snapshot</url>
71+
</repository>
72+
</repositories>
73+
</project>

pom.xml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<maven-javadoc-plugin.version>3.4.1</maven-javadoc-plugin.version>
2020
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
2121
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
22+
<flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
2223
<spring-javaformat.version>0.0.35</spring-javaformat.version>
2324

2425
<spring-boot.version>3.0.0</spring-boot.version>
@@ -41,8 +42,12 @@
4142
</developer>
4243
</developers>
4344
<scm>
44-
<connection>scm:git:https://github.com/spring-projects-experimental/r2dbc-micrometer-spring-boot</connection>
45-
<url>https://github.com/spring-projects-experimental/r2dbc-micrometer-spring-boot</url>
45+
<connection>
46+
scm:git:https://github.com/spring-projects-experimental/r2dbc-micrometer-spring-boot
47+
</connection>
48+
<url>
49+
https://github.com/spring-projects-experimental/r2dbc-micrometer-spring-boot
50+
</url>
4651
</scm>
4752

4853
<distributionManagement>
@@ -96,6 +101,29 @@
96101
<artifactId>maven-source-plugin</artifactId>
97102
<version>${maven-source-plugin.version}</version>
98103
</plugin>
104+
<plugin>
105+
<groupId>org.codehaus.mojo</groupId>
106+
<artifactId>flatten-maven-plugin</artifactId>
107+
<version>${flatten-maven-plugin.version}</version>
108+
<configuration>
109+
</configuration>
110+
<executions>
111+
<execution>
112+
<id>flatten</id>
113+
<phase>process-resources</phase>
114+
<goals>
115+
<goal>flatten</goal>
116+
</goals>
117+
</execution>
118+
<execution>
119+
<id>flatten.clean</id>
120+
<phase>clean</phase>
121+
<goals>
122+
<goal>clean</goal>
123+
</goals>
124+
</execution>
125+
</executions>
126+
</plugin>
99127
</plugins>
100128
</build>
101129

0 commit comments

Comments
 (0)