Skip to content

Commit 60e9c08

Browse files
committed
JAVA-5223: Fix formatting of POMs (Part 2)
1 parent cbf982f commit 60e9c08

File tree

27 files changed

+66
-117
lines changed

27 files changed

+66
-117
lines changed

Diff for: bazel/bazelapp/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>

Diff for: bazel/bazelgreeting/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>

Diff for: bazel/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>

Diff for: blade/pom.xml

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
65
<modelVersion>4.0.0</modelVersion>
@@ -19,27 +18,23 @@
1918
<artifactId>blade-mvc</artifactId>
2019
<version>${blade-mvc.version}</version>
2120
</dependency>
22-
2321
<dependency>
2422
<groupId>org.webjars</groupId>
2523
<artifactId>bootstrap</artifactId>
2624
<version>${bootstrap.version}</version>
2725
</dependency>
28-
2926
<dependency>
3027
<groupId>org.apache.commons</groupId>
3128
<artifactId>commons-lang3</artifactId>
3229
<version>${commons-lang3.version}</version>
3330
</dependency>
34-
3531
<!-- PROVIDED -->
3632
<dependency>
3733
<groupId>org.projectlombok</groupId>
3834
<artifactId>lombok</artifactId>
3935
<version>${lombok.version}</version>
4036
<scope>provided</scope>
4137
</dependency>
42-
4338
<!-- TEST -->
4439
<dependency>
4540
<groupId>org.assertj</groupId>
@@ -111,7 +106,6 @@
111106
</arguments>
112107
</configuration>
113108
</execution>
114-
115109
<!--Stop all processes in reverse order -->
116110
<execution>
117111
<id>stop-all</id>
@@ -122,7 +116,6 @@
122116
</execution>
123117
</executions>
124118
</plugin>
125-
126119
<plugin>
127120
<artifactId>maven-assembly-plugin</artifactId>
128121
<version>${assembly.plugin.version}</version>
@@ -164,4 +157,4 @@
164157
<assembly.plugin.version>3.1.0</assembly.plugin.version>
165158
</properties>
166159

167-
</project>
160+
</project>

Diff for: bootique/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
65
<modelVersion>4.0.0</modelVersion>

Diff for: cdi/pom.xml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>
76
<artifactId>cdi</artifactId>
87
<version>1.0-SNAPSHOT</version>
@@ -57,4 +56,4 @@
5756
<assertj-core.version>3.10.0</assertj-core.version>
5857
</properties>
5958

60-
</project>
59+
</project>

Diff for: checker-plugin/pom.xml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
43
xmlns="http://maven.apache.org/POM/4.0.0"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
65
<modelVersion>4.0.0</modelVersion>
@@ -69,7 +68,6 @@
6968
<!-- location of the annotated JDK, which comes from a Maven dependency -->
7069
<arg>-Xbootclasspath/p:${annotatedJdk}</arg>
7170
<!-- -->
72-
7371
<!-- Uncomment the following line to use the type annotations compiler. -->
7472
<!-- <arg>-J-Xbootclasspath/p:${typeAnnotationsJavac}</arg> -->
7573
<!-- Uncomment the following line to turn type-checking warnings into errors. -->
@@ -91,4 +89,4 @@
9189
<checkerframework.compiler.version>2.3.1</checkerframework.compiler.version>
9290
</properties>
9391

94-
</project>
92+
</project>

Diff for: cloud-foundry-uaa/cf-uaa-oauth2-client/pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>
@@ -36,4 +35,4 @@
3635
</plugins>
3736
</build>
3837

39-
</project>
38+
</project>

Diff for: cloud-foundry-uaa/cf-uaa-oauth2-resource-server/pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>
@@ -36,4 +35,4 @@
3635
</plugins>
3736
</build>
3837

39-
</project>
38+
</project>

Diff for: code-generation/pom.xml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
65
<modelVersion>4.0.0</modelVersion>
@@ -43,7 +42,6 @@
4342
<version>${auto-service.version}</version>
4443
<optional>true</optional>
4544
</dependency>
46-
4745
<dependency>
4846
<groupId>com.google.inject</groupId>
4947
<artifactId>guice</artifactId>
@@ -58,4 +56,4 @@
5856
<guice.version>4.2.0</guice.version>
5957
</properties>
6058

61-
</project>
59+
</project>

Diff for: core-groovy-2/pom.xml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>
@@ -189,5 +188,4 @@
189188
<groovy.compiler.version>3.3.0-01</groovy.compiler.version>
190189
</properties>
191190

192-
</project>
193-
191+
</project>

Diff for: core-groovy-collections/pom.xml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>
@@ -129,5 +128,4 @@
129128
<gmavenplus-plugin.version>1.6</gmavenplus-plugin.version>
130129
</properties>
131130

132-
</project>
133-
131+
</project>

Diff for: core-groovy-strings/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>

Diff for: core-groovy/pom.xml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>
@@ -119,5 +118,4 @@
119118
<gmavenplus-plugin.version>1.6</gmavenplus-plugin.version>
120119
</properties>
121120

122-
</project>
123-
121+
</project>

Diff for: core-java-modules/core-java-10/pom.xml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>
76
<artifactId>core-java-10</artifactId>
87
<version>0.1.0-SNAPSHOT</version>
@@ -44,4 +43,4 @@
4443
<commons-collections4.version>4.1</commons-collections4.version>
4544
</properties>
4645

47-
</project>
46+
</project>

Diff for: core-java-modules/core-java-11-2/pom.xml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>
76
<artifactId>core-java-11-2</artifactId>
87
<version>0.1.0-SNAPSHOT</version>
@@ -76,4 +75,4 @@
7675
<mockserver.version>5.11.1</mockserver.version>
7776
</properties>
7877

79-
</project>
78+
</project>

Diff for: core-java-modules/core-java-11/pom.xml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>
@@ -76,10 +75,12 @@
7675
<configuration>
7776
<finalName>${uberjar.name}</finalName>
7877
<transformers>
79-
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
78+
<transformer
79+
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
8080
<mainClass>org.openjdk.jmh.Main</mainClass>
8181
</transformer>
82-
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
82+
<transformer
83+
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
8384
</transformers>
8485
<filters>
8586
<filter>
@@ -109,4 +110,4 @@
109110
<shade.plugin.version>3.2.4</shade.plugin.version>
110111
</properties>
111112

112-
</project>
113+
</project>

Diff for: core-java-modules/core-java-12/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>

Diff for: core-java-modules/core-java-13/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>

Diff for: core-java-modules/core-java-14/pom.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>
@@ -15,6 +14,7 @@
1514
<version>1.0.0-SNAPSHOT</version>
1615
<relativePath>../../</relativePath>
1716
</parent>
17+
1818
<dependencies>
1919
<dependency>
2020
<groupId>org.assertj</groupId>
@@ -35,6 +35,7 @@
3535
<scope>test</scope>
3636
</dependency>
3737
</dependencies>
38+
3839
<build>
3940
<plugins>
4041
<plugin>

Diff for: core-java-modules/core-java-15/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>

Diff for: core-java-modules/core-java-8-2/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
65
<modelVersion>4.0.0</modelVersion>
76
<artifactId>core-java-8-2</artifactId>
87
<version>0.1.0-SNAPSHOT</version>
98
<name>core-java-8-2</name>
109
<packaging>jar</packaging>
10+
1111
<parent>
1212
<groupId>com.baeldung.core-java-modules</groupId>
1313
<artifactId>core-java-modules</artifactId>
@@ -34,4 +34,4 @@
3434
<assertj.version>3.12.2</assertj.version>
3535
</properties>
3636

37-
</project>
37+
</project>

0 commit comments

Comments
 (0)