Skip to content

Commit ab84ce7

Browse files
committed
JAVA-5223: Fix formatting of POMs (Part 10)
1 parent f65c729 commit ab84ce7

File tree

42 files changed

+204
-211
lines changed

Some content is hidden

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

42 files changed

+204
-211
lines changed

maven-archetype/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
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">
45
<modelVersion>4.0.0</modelVersion>
56
<groupId>com.baeldung.archetypes</groupId>
67
<artifactId>maven-archetype</artifactId>
@@ -26,4 +27,4 @@
2627
<archetype-packaging.version>3.0.1</archetype-packaging.version>
2728
</properties>
2829

29-
</project>
30+
</project>

maven-polyglot/maven-polyglot-json-extension/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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">
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">
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.baeldung.maven.polyglot</groupId>
77
<artifactId>maven-polyglot-json-extension</artifactId>

maven-polyglot/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
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">
45
<modelVersion>4.0.0</modelVersion>
56
<artifactId>maven-polyglot</artifactId>
67
<version>0.0.1-SNAPSHOT</version>
@@ -19,4 +20,4 @@
1920
<!-- <module>maven-polyglot-yml-app</module> --> <!-- Not a maven project -->
2021
</modules>
2122

22-
</project>
23+
</project>

mesos-marathon/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
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">
45
<modelVersion>4.0.0</modelVersion>
56
<artifactId>mesos-marathon</artifactId>
67
<name>mesos-marathon</name>

metrics/pom.xml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
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">
45
<modelVersion>4.0.0</modelVersion>
56
<artifactId>metrics</artifactId>
67
<name>metrics</name>
@@ -37,7 +38,6 @@
3738
<artifactId>javax.servlet-api</artifactId>
3839
<version>${dep.ver.servlet}</version>
3940
</dependency>
40-
4141
<dependency>
4242
<groupId>com.netflix.servo</groupId>
4343
<artifactId>servo-core</artifactId>
@@ -50,19 +50,16 @@
5050
<version>${netflix.servo.ver}</version>
5151
<scope>test</scope>
5252
</dependency>
53-
5453
<dependency>
5554
<groupId>io.micrometer</groupId>
5655
<artifactId>micrometer-registry-atlas</artifactId>
5756
<version>${micrometer.ver}</version>
5857
</dependency>
59-
6058
<dependency>
6159
<groupId>org.springframework.boot</groupId>
6260
<artifactId>spring-boot-starter-web</artifactId>
6361
<version>${spring-boot-starter-web.version}</version>
6462
</dependency>
65-
6663
<dependency>
6764
<groupId>com.fasterxml.jackson.core</groupId>
6865
<artifactId>jackson-databind</artifactId>
@@ -73,13 +70,11 @@
7370
<artifactId>jackson-dataformat-smile</artifactId>
7471
<version>${jackson.version}</version>
7572
</dependency>
76-
7773
<dependency>
7874
<groupId>io.astefanutti.metrics.aspectj</groupId>
7975
<artifactId>metrics-aspectj-deps</artifactId>
8076
<version>${metrics-aspectj.version}</version>
8177
</dependency>
82-
8378
<dependency>
8479
<groupId>org.assertj</groupId>
8580
<artifactId>assertj-core</artifactId>
@@ -93,10 +88,10 @@
9388
<dep.ver.servlet>3.1.0</dep.ver.servlet>
9489
<netflix.servo.ver>0.12.17</netflix.servo.ver>
9590
<micrometer.ver>0.12.0.RELEASE</micrometer.ver>
96-
<!-- <fasterxml.jackson.version>2.9.1</fasterxml.jackson.version>-->
91+
<!-- <fasterxml.jackson.version>2.9.1</fasterxml.jackson.version> -->
9792
<spring-boot-starter-web.version>2.0.7.RELEASE</spring-boot-starter-web.version>
9893
<assertj-core.version>3.11.1</assertj-core.version>
9994
<metrics-aspectj.version>1.1.0</metrics-aspectj.version>
10095
</properties>
10196

102-
</project>
97+
</project>

micronaut/pom.xml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
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">
45
<modelVersion>4.0.0</modelVersion>
56
<groupId>com.baeldung.micronaut</groupId>
67
<artifactId>micronaut</artifactId>
@@ -90,10 +91,12 @@
9091
</goals>
9192
<configuration>
9293
<transformers>
93-
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
94+
<transformer
95+
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
9496
<mainClass>${exec.mainClass}</mainClass>
9597
</transformer>
96-
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
98+
<transformer
99+
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
97100
</transformers>
98101
</configuration>
99102
</execution>
@@ -106,7 +109,7 @@
106109
<executable>java</executable>
107110
<arguments>
108111
<argument>-classpath</argument>
109-
<classpath/>
112+
<classpath />
110113
<argument>${exec.mainClass}</argument>
111114
</arguments>
112115
</configuration>
@@ -148,4 +151,4 @@
148151
<shade.plugin.version>3.1.0</shade.plugin.version>
149152
</properties>
150153

151-
</project>
154+
</project>

microprofile/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
45
<modelVersion>4.0.0</modelVersion>
56
<artifactId>microprofile</artifactId>
67
<version>1.0-SNAPSHOT</version>
@@ -87,4 +88,4 @@
8788
<openliberty-runtime.version>17.0.0.4</openliberty-runtime.version>
8889
</properties>
8990

90-
</project>
91+
</project>

msf4j/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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">
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">
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.baeldung.msf4j</groupId>
77
<artifactId>msf4j</artifactId>

mustache/pom.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
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">
45
<modelVersion>4.0.0</modelVersion>
56
<artifactId>mustache</artifactId>
67
<name>mustache</name>
@@ -19,22 +20,18 @@
1920
<artifactId>compiler</artifactId>
2021
<version>${mustache.compiler.api.version}</version>
2122
</dependency>
22-
2323
<dependency>
2424
<groupId>org.assertj</groupId>
2525
<artifactId>assertj-core</artifactId>
2626
</dependency>
27-
2827
<dependency>
2928
<groupId>org.springframework.boot</groupId>
3029
<artifactId>spring-boot-starter-web</artifactId>
3130
</dependency>
32-
3331
<dependency>
3432
<groupId>org.springframework.boot</groupId>
3533
<artifactId>spring-boot-starter-mustache</artifactId>
3634
</dependency>
37-
3835
<dependency>
3936
<groupId>org.springframework.boot</groupId>
4037
<artifactId>spring-boot-starter-test</artifactId>

mybatis/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
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">
45
<modelVersion>4.0.0</modelVersion>
56
<artifactId>mybatis</artifactId>
67
<name>mybatis</name>

0 commit comments

Comments
 (0)