Skip to content

Commit c732e28

Browse files
authored
Merge pull request eugenp#11434 from freelansam/JAVA-8204
JAVA-8204: Fix formatting of POMs
2 parents 15fec49 + 605bb8a commit c732e28

133 files changed

Lines changed: 436 additions & 514 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

akka-http/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141
<akka.stream.version>2.5.11</akka.stream.version>
4242
</properties>
4343

44-
</project>
44+
</project>

aws-lambda/lambda/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
<artifactId>json-simple</artifactId>
6464
<version>${json-simple.version}</version>
6565
<exclusions>
66-
<!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine included in parent-modules. -->
66+
<!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine
67+
included in parent-modules. -->
6768
<exclusion>
6869
<groupId>junit</groupId>
6970
<artifactId>junit</artifactId>

core-java-modules/core-java-10/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<groupId>com.baeldung.core-java-modules</groupId>
1313
<artifactId>core-java-modules</artifactId>
1414
<version>0.0.1-SNAPSHOT</version>
15-
<relativePath>../</relativePath>
1615
</parent>
1716

1817
<dependencies>

core-java-modules/core-java-11-2/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<groupId>com.baeldung</groupId>
1313
<artifactId>parent-modules</artifactId>
1414
<version>1.0.0-SNAPSHOT</version>
15-
<relativePath>../..</relativePath>
1615
</parent>
1716

1817
<dependencies>

core-java-modules/core-java-11/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<groupId>com.baeldung</groupId>
1414
<artifactId>parent-modules</artifactId>
1515
<version>1.0.0-SNAPSHOT</version>
16-
<relativePath>../..</relativePath>
1716
</parent>
1817

1918
<dependencies>

core-java-modules/core-java-12/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<groupId>com.baeldung</groupId>
1414
<artifactId>parent-modules</artifactId>
1515
<version>1.0.0-SNAPSHOT</version>
16-
<relativePath>../../</relativePath>
1716
</parent>
1817

1918
<dependencies>

core-java-modules/core-java-13/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
<groupId>com.baeldung</groupId>
1515
<artifactId>parent-modules</artifactId>
1616
<version>1.0.0-SNAPSHOT</version>
17-
<relativePath>../../</relativePath>
1817
</parent>
1918

2019
<dependencies>

core-java-modules/core-java-14/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<groupId>com.baeldung</groupId>
1313
<artifactId>parent-modules</artifactId>
1414
<version>1.0.0-SNAPSHOT</version>
15-
<relativePath>../../</relativePath>
1615
</parent>
1716

1817
<dependencies>

core-java-modules/core-java-16/pom.xml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -38,37 +38,37 @@
3838
<version>${maven-compiler-plugin.version}</version>
3939
<configuration>
4040
<release>${maven.compiler.release}</release>
41-
<compilerArgs>--enable-preview</compilerArgs>
41+
<compilerArgs>--enable-preview</compilerArgs>
4242
<source>${maven.compiler.source.version}</source>
4343
<target>${maven.compiler.target.version}</target>
4444
</configuration>
4545
</plugin>
46-
<plugin>
47-
<groupId>org.apache.maven.plugins</groupId>
48-
<artifactId>maven-surefire-plugin</artifactId>
49-
<version>${surefire.plugin.version}</version>
50-
<configuration>
51-
<argLine>--enable-preview</argLine>
52-
<forkCount>1</forkCount>
53-
</configuration>
54-
<dependencies>
55-
<dependency>
56-
<groupId>org.apache.maven.surefire</groupId>
57-
<artifactId>surefire-api</artifactId>
58-
<version>${surefire.plugin.version}</version>
59-
</dependency>
60-
</dependencies>
61-
</plugin>
46+
<plugin>
47+
<groupId>org.apache.maven.plugins</groupId>
48+
<artifactId>maven-surefire-plugin</artifactId>
49+
<version>${surefire.plugin.version}</version>
50+
<configuration>
51+
<argLine>--enable-preview</argLine>
52+
<forkCount>1</forkCount>
53+
</configuration>
54+
<dependencies>
55+
<dependency>
56+
<groupId>org.apache.maven.surefire</groupId>
57+
<artifactId>surefire-api</artifactId>
58+
<version>${surefire.plugin.version}</version>
59+
</dependency>
60+
</dependencies>
61+
</plugin>
6262
</plugins>
6363
</build>
6464

6565
<properties>
6666
<maven.compiler.source.version>16</maven.compiler.source.version>
6767
<maven.compiler.target.version>16</maven.compiler.target.version>
68-
<maven.compiler.release>16</maven.compiler.release>
69-
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
70-
<surefire.plugin.version>3.0.0-M5</surefire.plugin.version>
71-
<assertj.version>3.17.2</assertj.version>
68+
<maven.compiler.release>16</maven.compiler.release>
69+
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
70+
<surefire.plugin.version>3.0.0-M5</surefire.plugin.version>
71+
<assertj.version>3.17.2</assertj.version>
7272
</properties>
7373

7474
</project>

core-java-modules/core-java-17/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,11 @@
4242
<groupId>org.apache.maven.plugins</groupId>
4343
<artifactId>maven-surefire-plugin</artifactId>
4444
<version>${surefire.plugin.version}</version>
45-
4645
<configuration>
4746
<argLine>--enable-preview</argLine>
4847
<argLine>--enable-native-access=core.java</argLine>
4948
<forkCount>1</forkCount>
5049
</configuration>
51-
5250
<dependencies>
5351
<dependency>
5452
<groupId>org.apache.maven.surefire</groupId>

0 commit comments

Comments
 (0)