Skip to content

Commit

Permalink
JAVA-13136: Fix formatting of POMs
Browse files Browse the repository at this point in the history
  • Loading branch information
freelansam committed Jul 15, 2022
1 parent b094ba8 commit 2b5179b
Show file tree
Hide file tree
Showing 67 changed files with 241 additions and 258 deletions.
4 changes: 2 additions & 2 deletions akka-modules/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>akka-modules</artifactId>
<name>akka-modules</name>
Expand Down
5 changes: 2 additions & 3 deletions cas/cas-secured-app/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -59,4 +58,4 @@
</plugins>
</build>

</project>
</project>
2 changes: 1 addition & 1 deletion cas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
<module>cas-secured-app</module>
</modules>

</project>
</project>
6 changes: 2 additions & 4 deletions core-groovy-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
<module>core-groovy</module>
<module>core-groovy-2</module>
<module>core-groovy-collections</module>
<module>core-groovy-strings</module>
<module>core-groovy-strings</module>
</modules>

</project>


</project>
1 change: 1 addition & 0 deletions core-java-modules/core-java-collections-4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
<properties>
<commons-lang.version>2.2</commons-lang.version>
</properties>

</project>
23 changes: 12 additions & 11 deletions core-java-modules/core-java-collections-list-4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,19 @@
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh-generator.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${apache-commons.version}</version>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${apache-commons.version}</version>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<properties>
<trove4j.version>3.0.2</trove4j.version>
<fastutil.version>8.1.0</fastutil.version>
Expand Down
1 change: 0 additions & 1 deletion core-java-modules/core-java-streams-4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
<version>3.23.1</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
6 changes: 3 additions & 3 deletions core-java-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<module>core-java-collections-4</module>
<module>core-java-collections-array-list</module>
<module>core-java-collections-conversions</module>
<module>core-java-collections-conversions-2</module>
<module>core-java-collections-conversions-2</module>
<module>core-java-collections-list</module>
<module>core-java-collections-list-2</module>
<module>core-java-collections-list-3</module>
Expand Down Expand Up @@ -126,7 +126,7 @@
<module>core-java-regex</module>
<module>core-java-regex-2</module>
<module>core-java-uuid</module>
<module>pre-jpms</module>
<module>pre-jpms</module>
</modules>

<dependencyManagement>
Expand All @@ -146,4 +146,4 @@
</dependencies>
</dependencyManagement>

</project>
</project>
3 changes: 1 addition & 2 deletions docker-modules/docker-compose/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<artifactId>docker-compose</artifactId>
<description>Demo project for Spring Boot and Docker</description>

<parent>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId>
<version>0.0.1-SNAPSHOT</version>
Expand All @@ -22,7 +22,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
Expand Down
1 change: 0 additions & 1 deletion docker-modules/docker-images/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion docker-modules/docker-spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<name>docker-spring-boot</name>
<description>Demo project showing Spring Boot and Docker</description>

<parent>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId>
<version>0.0.1-SNAPSHOT</version>
Expand Down
12 changes: 6 additions & 6 deletions feign/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
<relativePath>../parent-boot-2</relativePath>
</parent>

<properties>
<java.version>1.8</java.version>
<feign.version>11.8</feign.version>
<wsdl4j.version>1.6.3</wsdl4j.version>
</properties>

<dependencies>
<dependency>
<groupId>io.github.openfeign</groupId>
Expand Down Expand Up @@ -121,4 +115,10 @@
</plugins>
</build>

<properties>
<java.version>1.8</java.version>
<feign.version>11.8</feign.version>
<wsdl4j.version>1.6.3</wsdl4j.version>
</properties>

</project>
1 change: 0 additions & 1 deletion graphql-modules/graphql-java/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down
2 changes: 1 addition & 1 deletion graphql-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
<module>graphql-spqr</module>
</modules>

</project>
</project>
26 changes: 13 additions & 13 deletions javax-servlets-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>
-javaagent:"${settings.localRepository}"/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar
</argLine>
</configuration>
</plugin>
</plugins>
</build>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>
-javaagent:"${settings.localRepository}"/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar
</argLine>
</configuration>
</plugin>
</plugins>
</build>

<properties>
<org.apache.httpcomponents.version>4.5.13</org.apache.httpcomponents.version>
Expand Down
4 changes: 4 additions & 0 deletions javax-sound/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
<version>1.0-SNAPSHOT</version>
<name>javax-sound</name>
<packaging>jar</packaging>

<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<dependencies>
<dependency>
<groupId>javazoom</groupId>
Expand All @@ -30,8 +32,10 @@
<version>${org.openjfx.version}</version>
</dependency>
</dependencies>

<properties>
<org.openjfx.version>11.0.2</org.openjfx.version>
<javazoom.jlayer.version>1.0.1</javazoom.jlayer.version>
</properties>

</project>
1 change: 0 additions & 1 deletion json-modules/gson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>

</dependencies>

<build>
Expand Down
5 changes: 2 additions & 3 deletions json-modules/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>json-modules</artifactId>
<name>json-modules</name>
Expand Down Expand Up @@ -31,5 +31,4 @@
</pluginManagement>
</build>


</project>
1 change: 0 additions & 1 deletion libraries-3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
<artifactId>error_prone_core</artifactId>
<version>${errorprone.version}</version>
</dependency>

<dependency>
<groupId>com.structurizr</groupId>
<artifactId>structurizr-core</artifactId>
Expand Down
13 changes: 7 additions & 6 deletions libraries-5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,18 @@
<version>${jmh-core.version}</version>
</dependency>
</dependencies>
<build>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<pact.rootDir>target/mypacts</pact.rootDir>
</systemPropertyVariables> </configuration>
</plugin>
<systemPropertyVariables>
<pact.rootDir>target/mypacts</pact.rootDir>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
1 change: 0 additions & 1 deletion libraries-apache-commons-collections/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@
</dependency>
</dependencies>


</project>
29 changes: 16 additions & 13 deletions lightrun/api-service/pom.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.7</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.baeldung</groupId>
<artifactId>api-service</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>api-service</name>
<description>Aggregator Service for LightRun Article</description>
<properties>
<java.version>17</java.version>
</properties>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.7</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand All @@ -25,7 +25,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
Expand All @@ -42,4 +41,8 @@
</plugins>
</build>

</project>
<properties>
<java.version>17</java.version>
</properties>

</project>
10 changes: 6 additions & 4 deletions lightrun/pom.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baelduung</groupId>
<artifactId>lightrun</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>lightrun</name>
<description>Services for LightRun Article</description>
<packaging>pom</packaging>

<modules>
<module>tasks-service</module>
<module>users-service</module>
<module>api-service</module>
</modules>
</project>

</project>
Loading

0 comments on commit 2b5179b

Please sign in to comment.