Skip to content

Commit 3bbb2fb

Browse files
committed
[BAEL-13314] - Fix formatting of POMs
1 parent f19cab1 commit 3bbb2fb

26 files changed

Lines changed: 266 additions & 233 deletions

File tree

‎antlr/pom.xml‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
<version>1.0.0-SNAPSHOT</version>
1111
</parent>
1212

13+
<dependencies>
14+
<dependency>
15+
<groupId>org.antlr</groupId>
16+
<artifactId>antlr4-runtime</artifactId>
17+
<version>${antlr.version}</version>
18+
</dependency>
19+
</dependencies>
20+
1321
<build>
1422
<plugins>
1523
<plugin>
@@ -44,13 +52,7 @@
4452
</plugin>
4553
</plugins>
4654
</build>
47-
<dependencies>
48-
<dependency>
49-
<groupId>org.antlr</groupId>
50-
<artifactId>antlr4-runtime</artifactId>
51-
<version>${antlr.version}</version>
52-
</dependency>
53-
</dependencies>
55+
5456
<properties>
5557
<antlr.version>4.7.1</antlr.version>
5658
<mojo.version>3.0.0</mojo.version>

‎apache-cxf/sse-jaxrs/sse-jaxrs-client/pom.xml‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,18 @@
1212
<version>0.0.1-SNAPSHOT</version>
1313
</parent>
1414

15-
<properties>
16-
<cxf-version>3.2.0</cxf-version>
17-
</properties>
15+
<dependencies>
16+
<dependency>
17+
<groupId>org.apache.cxf</groupId>
18+
<artifactId>cxf-rt-rs-client</artifactId>
19+
<version>${cxf-version}</version>
20+
</dependency>
21+
<dependency>
22+
<groupId>org.apache.cxf</groupId>
23+
<artifactId>cxf-rt-rs-sse</artifactId>
24+
<version>${cxf-version}</version>
25+
</dependency>
26+
</dependencies>
1827

1928
<build>
2029
<plugins>
@@ -45,17 +54,8 @@
4554
</plugins>
4655
</build>
4756

48-
<dependencies>
49-
<dependency>
50-
<groupId>org.apache.cxf</groupId>
51-
<artifactId>cxf-rt-rs-client</artifactId>
52-
<version>${cxf-version}</version>
53-
</dependency>
54-
<dependency>
55-
<groupId>org.apache.cxf</groupId>
56-
<artifactId>cxf-rt-rs-sse</artifactId>
57-
<version>${cxf-version}</version>
58-
</dependency>
59-
</dependencies>
57+
<properties>
58+
<cxf-version>3.2.0</cxf-version>
59+
</properties>
6060

6161
</project>

‎apache-cxf/sse-jaxrs/sse-jaxrs-server/pom.xml‎

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,28 @@
1313
<version>0.0.1-SNAPSHOT</version>
1414
</parent>
1515

16-
<properties>
17-
<liberty-maven-plugin.version>2.4.2</liberty-maven-plugin.version>
18-
<failOnMissingWebXml>false</failOnMissingWebXml>
19-
<openliberty-version>18.0.0.2</openliberty-version>
20-
</properties>
16+
<dependencies>
17+
18+
<dependency>
19+
<groupId>javax.ws.rs</groupId>
20+
<artifactId>javax.ws.rs-api</artifactId>
21+
<version>2.1</version>
22+
<scope>provided</scope>
23+
</dependency>
24+
<dependency>
25+
<groupId>javax.enterprise</groupId>
26+
<artifactId>cdi-api</artifactId>
27+
<version>2.0</version>
28+
<scope>provided</scope>
29+
</dependency>
30+
<dependency>
31+
<groupId>javax.json.bind</groupId>
32+
<artifactId>javax.json.bind-api</artifactId>
33+
<version>1.0</version>
34+
<scope>provided</scope>
35+
</dependency>
36+
37+
</dependencies>
2138

2239
<build>
2340
<finalName>${project.artifactId}</finalName>
@@ -59,27 +76,10 @@
5976
</plugins>
6077
</build>
6178

62-
<dependencies>
63-
64-
<dependency>
65-
<groupId>javax.ws.rs</groupId>
66-
<artifactId>javax.ws.rs-api</artifactId>
67-
<version>2.1</version>
68-
<scope>provided</scope>
69-
</dependency>
70-
<dependency>
71-
<groupId>javax.enterprise</groupId>
72-
<artifactId>cdi-api</artifactId>
73-
<version>2.0</version>
74-
<scope>provided</scope>
75-
</dependency>
76-
<dependency>
77-
<groupId>javax.json.bind</groupId>
78-
<artifactId>javax.json.bind-api</artifactId>
79-
<version>1.0</version>
80-
<scope>provided</scope>
81-
</dependency>
82-
83-
</dependencies>
79+
<properties>
80+
<liberty-maven-plugin.version>2.4.2</liberty-maven-plugin.version>
81+
<failOnMissingWebXml>false</failOnMissingWebXml>
82+
<openliberty-version>18.0.0.2</openliberty-version>
83+
</properties>
8484

8585
</project>

‎cloud-foundry-uaa/cf-uaa-oauth2-client/pom.xml‎

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,20 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
5-
<parent>
6-
<groupId>org.springframework.boot</groupId>
7-
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.1.3.RELEASE</version>
9-
<relativePath/> <!-- lookup parent from repository -->
10-
</parent>
115
<groupId>com.example</groupId>
126
<artifactId>cf-uaa-oauth2-client</artifactId>
137
<version>0.0.1-SNAPSHOT</version>
148
<name>uaa-client-webapp</name>
159
<description>Demo project for Spring Boot</description>
1610

17-
<properties>
18-
<java.version>1.8</java.version>
19-
</properties>
11+
<parent>
12+
<artifactId>parent-boot-2</artifactId>
13+
<groupId>com.baeldung</groupId>
14+
<version>0.0.1-SNAPSHOT</version>
15+
<relativePath>../../parent-boot-2</relativePath>
16+
</parent>
2017

2118
<dependencies>
22-
2319
<dependency>
2420
<groupId>org.springframework.boot</groupId>
2521
<artifactId>spring-boot-starter-web</artifactId>
@@ -28,7 +24,6 @@
2824
<groupId>org.springframework.boot</groupId>
2925
<artifactId>spring-boot-starter-oauth2-client</artifactId>
3026
</dependency>
31-
3227
</dependencies>
3328

3429
<build>
@@ -40,4 +35,7 @@
4035
</plugins>
4136
</build>
4237

38+
<properties>
39+
<java.version>1.8</java.version>
40+
</properties>
4341
</project>

‎cloud-foundry-uaa/cf-uaa-oauth2-resource-server/pom.xml‎

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,20 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
5-
<parent>
6-
<groupId>org.springframework.boot</groupId>
7-
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.1.3.RELEASE</version>
9-
<relativePath/> <!-- lookup parent from repository -->
10-
</parent>
115
<groupId>com.baeldung.cfuaa</groupId>
126
<artifactId>cf-uaa-oauth2-resource-server</artifactId>
137
<version>0.0.1-SNAPSHOT</version>
148
<name>cf-uaa-oauth2-resource-server</name>
159
<description>Demo project for Spring Boot</description>
1610

17-
<properties>
18-
<java.version>1.8</java.version>
19-
</properties>
20-
11+
<parent>
12+
<artifactId>parent-boot-2</artifactId>
13+
<groupId>com.baeldung</groupId>
14+
<version>0.0.1-SNAPSHOT</version>
15+
<relativePath>../../parent-boot-2</relativePath>
16+
</parent>
17+
2118
<dependencies>
22-
2319
<dependency>
2420
<groupId>org.springframework.boot</groupId>
2521
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
@@ -28,7 +24,6 @@
2824
<groupId>org.springframework.boot</groupId>
2925
<artifactId>spring-boot-starter-web</artifactId>
3026
</dependency>
31-
3227
</dependencies>
3328

3429
<build>
@@ -40,4 +35,8 @@
4035
</plugins>
4136
</build>
4237

38+
<properties>
39+
<java.version>1.8</java.version>
40+
</properties>
41+
4342
</project>

‎helidon/helidon-mp/pom.xml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,18 @@
1515
<dependency>
1616
<groupId>io.helidon.microprofile.bundles</groupId>
1717
<artifactId>helidon-microprofile-1.2</artifactId>
18-
<version>0.10.4</version>
18+
<version>${helidon-microprofile.version}</version>
1919
</dependency>
2020
<dependency>
2121
<groupId>org.glassfish.jersey.media</groupId>
2222
<artifactId>jersey-media-json-binding</artifactId>
23-
<version>2.26</version>
23+
<version>${jersey-media-json-binding.version}</version>
2424
</dependency>
2525
</dependencies>
2626

27+
<properties>
28+
<helidon-microprofile.version>0.10.4</helidon-microprofile.version>
29+
<jersey-media-json-binding.version>2.26</jersey-media-json-binding.version>
30+
</properties>
31+
2732
</project>

‎helidon/helidon-se/pom.xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
<version>1.0.0-SNAPSHOT</version>
1313
</parent>
1414

15-
<properties>
16-
<helidon.version>0.10.4</helidon.version>
17-
</properties>
18-
1915
<dependencies>
2016
<!--Config-->
2117
<dependency>
@@ -61,4 +57,8 @@
6157

6258
</dependencies>
6359

60+
<properties>
61+
<helidon.version>0.10.4</helidon.version>
62+
</properties>
63+
6464
</project>

‎java-collections-maps-2/pom.xml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,25 @@
2424
<dependency>
2525
<groupId>net.sf.trove4j</groupId>
2626
<artifactId>trove4j</artifactId>
27-
<version>3.0.2</version>
27+
<version>${trove4j.version}</version>
2828
</dependency>
2929
<dependency>
3030
<groupId>it.unimi.dsi</groupId>
3131
<artifactId>fastutil</artifactId>
32-
<version>8.1.0</version>
32+
<version>${fastutil.version}</version>
3333
</dependency>
3434
<dependency>
3535
<groupId>colt</groupId>
3636
<artifactId>colt</artifactId>
37-
<version>1.2.0</version>
37+
<version>${colt.version}</version>
3838
</dependency>
3939
</dependencies>
4040

4141
<properties>
4242
<eclipse-collections.version>8.2.0</eclipse-collections.version>
43+
<trove4j.version>3.0.2</trove4j.version>
44+
<fastutil.version>8.1.0</fastutil.version>
45+
<colt.version>1.2.0</colt.version>
4346
</properties>
4447

4548
</project>

‎java-streams-2/pom.xml‎

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,47 @@
44
<groupId>com.baeldung.javastreams2</groupId>
55
<artifactId>javastreams2</artifactId>
66
<version>1.0</version>
7+
<name>Stream Reduce</name>
78
<packaging>jar</packaging>
9+
10+
<parent>
11+
<groupId>com.baeldung</groupId>
12+
<artifactId>parent-java</artifactId>
13+
<version>0.0.1-SNAPSHOT</version>
14+
<relativePath>../parent-java</relativePath>
15+
</parent>
16+
817
<dependencies>
918
<dependency>
1019
<groupId>org.openjdk.jmh</groupId>
1120
<artifactId>jmh-core</artifactId>
12-
<version>1.21</version>
21+
<version>${jmh.version}</version>
1322
</dependency>
1423
<dependency>
1524
<groupId>org.openjdk.jmh</groupId>
1625
<artifactId>jmh-generator-annprocess</artifactId>
17-
<version>1.21</version>
26+
<version>${jmh.version}</version>
1827
</dependency>
1928
<dependency>
2029
<groupId>junit</groupId>
2130
<artifactId>junit</artifactId>
22-
<version>4.12</version>
31+
<version>${junit.version}</version>
2332
<scope>test</scope>
2433
<type>jar</type>
2534
</dependency>
2635
<dependency>
2736
<groupId>org.assertj</groupId>
2837
<artifactId>assertj-core</artifactId>
29-
<version>3.11.1</version>
38+
<version>${assertj.version}</version>
3039
<scope>test</scope>
3140
</dependency>
3241
</dependencies>
33-
<name>Stream Reduce</name>
42+
3443
<properties>
3544
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3645
<maven.compiler.source>1.8</maven.compiler.source>
3746
<maven.compiler.target>1.8</maven.compiler.target>
47+
<jmh.version>1.21</jmh.version>
48+
<assertj.version>3.11.1</assertj.version>
3849
</properties>
3950
</project>

0 commit comments

Comments
 (0)