Skip to content

Commit

Permalink
JAVA-14673 - Fix formatting of POMs (eugenp#12722)
Browse files Browse the repository at this point in the history
* JAVA-14673 - Fix formatting of POMs

* cleanup
  • Loading branch information
freelansam authored Sep 13, 2022
1 parent 6279ebc commit 0583091
Show file tree
Hide file tree
Showing 75 changed files with 654 additions and 634 deletions.
47 changes: 24 additions & 23 deletions algorithms-modules/algorithms-miscellaneous-4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,33 @@
<version>1.0.0-SNAPSHOT</version>
</parent>

<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.dpaukov</groupId>
<artifactId>combinatoricslib3</artifactId>
<version>${combinatoricslib3.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>${commons-collections4.version}</version>
</dependency>
</dependencies>

<properties>
<combinatoricslib3.version>3.3.3</combinatoricslib3.version>
<commons-collections4.version>4.4</commons-collections4.version>
</properties>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.dpaukov</groupId>
<artifactId>combinatoricslib3</artifactId>
<version>${combinatoricslib3.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>${commons-collections4.version}</version>
</dependency>
</dependencies>

</project>
1 change: 1 addition & 0 deletions aws-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
<aws-java-sdk.version>1.11.290</aws-java-sdk.version>
<maven-shade-plugin.version>3.0.0</maven-shade-plugin.version>
</properties>

</project>
1 change: 0 additions & 1 deletion core-groovy-modules/core-groovy-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@
<mainClass>com.baeldung.MyJointCompilationApp</mainClass>
</manifest>
</archive>

</configuration>
<executions>
<execution>
Expand Down
23 changes: 11 additions & 12 deletions core-java-modules/core-java-collections-list-4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,6 @@
</dependency>
</dependencies>

<properties>
<trove4j.version>3.0.2</trove4j.version>
<fastutil.version>8.1.0</fastutil.version>
<colt.version>1.2.0</colt.version>
<apache-commons.version>3.0</apache-commons.version>
<assertj.version>3.22.0</assertj.version>
<maven.compiler.source.version>17</maven.compiler.source.version>
<maven.compiler.target.version>17</maven.compiler.target.version>

</properties>

<build>
<plugins>
<plugin>
Expand All @@ -83,4 +72,14 @@
</plugins>
</build>

</project>
<properties>
<trove4j.version>3.0.2</trove4j.version>
<fastutil.version>8.1.0</fastutil.version>
<colt.version>1.2.0</colt.version>
<apache-commons.version>3.0</apache-commons.version>
<assertj.version>3.22.0</assertj.version>
<maven.compiler.source.version>17</maven.compiler.source.version>
<maven.compiler.target.version>17</maven.compiler.target.version>
</properties>

</project>
2 changes: 1 addition & 1 deletion core-java-modules/core-java-jar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -286,4 +286,4 @@
<target.version>1.8</target.version>
</properties>

</project>
</project>
4 changes: 3 additions & 1 deletion core-java-modules/core-java-lang-5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<artifactId>core-java-modules</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<build>
<finalName>core-java-lang-5</finalName>
<resources>
Expand All @@ -22,4 +23,5 @@
</resource>
</resources>
</build>
</project>

</project>
21 changes: 11 additions & 10 deletions core-java-modules/core-java-numbers-5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@
<version>0.0.1-SNAPSHOT</version>
</parent>

<build>
<finalName>core-java-numbers-5</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand All @@ -40,4 +30,15 @@
<version>${guava.version}</version>
</dependency>
</dependencies>

<build>
<finalName>core-java-numbers-5</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>

</project>
2 changes: 1 addition & 1 deletion core-java-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<module>core-java-collections-maps-2</module>
<module>core-java-collections-maps-3</module>
<module>core-java-collections-maps-5</module>
<module>core-java-concurrency-simple</module>
<module>core-java-concurrency-simple</module>
<module>core-java-concurrency-2</module>
<module>core-java-concurrency-advanced</module>
<module>core-java-concurrency-advanced-2</module>
Expand Down
20 changes: 10 additions & 10 deletions docker-modules/docker-java-jar/pom.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
<?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>docker-java-jar</artifactId>

<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-2</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>docker-java-jar</artifactId>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>

<build>
<plugins>
Expand All @@ -34,4 +29,9 @@
</plugins>
</build>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>

</project>
3 changes: 1 addition & 2 deletions jackson-modules/jackson-conversions-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@
<artifactId>jackson-dataformat-csv</artifactId>
<version>${jackson.version}</version>
</dependency>

<dependency>
<groupId>org.mock-server</groupId>
<artifactId>mockserver-netty</artifactId>
<version>${mockserver-netty.version}</version>
<scope>test</scope>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.json</groupId>
Expand Down
2 changes: 1 addition & 1 deletion jackson-modules/jackson-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</dependencies>

<build>
<finalName>jackson</finalName>
<finalName>jackson-core</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
Expand Down
2 changes: 1 addition & 1 deletion jackson-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<relativePath>../parent-java</relativePath>
</parent>

<modules>
<modules>
<module>jackson-annotations</module>
<module>jackson-conversions</module>
<module>jackson-conversions-2</module>
Expand Down
2 changes: 1 addition & 1 deletion javaxval/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<scope>test</scope>
</dependency>
</dependencies>

<!-- uncomment in order to enable Hibernate Validator Anotation Processor -->
<!-- <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version> <configuration> <source>${maven.compiler.source}</source>
Expand Down
10 changes: 5 additions & 5 deletions json-modules/json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
</parent>

<dependencies>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>json-schema-validator</artifactId>
<version>${networknt.json.schema.version}</version>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>json-schema-validator</artifactId>
<version>${networknt.json.schema.version}</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion lightrun/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<name>lightrun</name>
<description>Services for LightRun Article</description>
<packaging>pom</packaging>

<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId>
Expand Down
17 changes: 9 additions & 8 deletions maven-modules/host-maven-repo-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
<connection>scm:git:[email protected]:${repository-owner}/${repository-name}.git</connection>
<developerConnection>scm:git:[email protected]:${repository-owner}/${repository-name}.git</developerConnection>
</scm>
<distributionManagement>
<repository>
<id>internal.repo</id>
<name>Temporary Staging Repository</name>
<url>file://${project.build.directory}/mvn-artifact</url>
</repository>
</distributionManagement>

<build>
<plugins>
Expand Down Expand Up @@ -97,6 +90,14 @@
</repository>
</repositories>

<distributionManagement>
<repository>
<id>internal.repo</id>
<name>Temporary Staging Repository</name>
<url>file://${project.build.directory}/mvn-artifact</url>
</repository>
</distributionManagement>

<properties>
<!--Put your own properties -->
<repository-owner>Put-repo-owner</repository-owner>
Expand All @@ -107,4 +108,4 @@
<maven.compiler.target>8</maven.compiler.target>
</properties>

</project>
</project>
10 changes: 5 additions & 5 deletions maven-modules/maven-classifier/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
<packaging>pom</packaging>
<version>0.0.1-SNAPSHOT</version>

<modules>
<module>maven-classifier-example-consumer</module>
<module>maven-classifier-example-provider</module>
</modules>

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

<modules>
<module>maven-classifier-example-consumer</module>
<module>maven-classifier-example-provider</module>
</modules>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
Expand Down
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>maven-download-artifacts</artifactId>
<name>maven-download-artifacts</name>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xmlns="http://maven.apache.org/POM/4.0.0"
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>maven-snapshot-repository</artifactId>
<name>maven-snapshot-repository</name>
Expand Down
4 changes: 2 additions & 2 deletions maven-modules/maven-repositories/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>maven-repositories</artifactId>
<version>1.0.0-SNAPSHOT</version>
Expand Down
Loading

0 comments on commit 0583091

Please sign in to comment.