Skip to content

Commit

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

* correct build error
  • Loading branch information
freelansam authored Aug 2, 2021
1 parent 09613d4 commit 69a1db0
Show file tree
Hide file tree
Showing 144 changed files with 494 additions and 480 deletions.
5 changes: 0 additions & 5 deletions algorithms-miscellaneous-3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,16 @@
<version>${org.assertj.core.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>${commons-collections4.version}</version>
</dependency>

<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>

<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit</artifactId>
Expand All @@ -43,13 +40,11 @@
<artifactId>converter-jackson</artifactId>
<version>${retrofit.version}</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons.lang3.version}</version>
</dependency>

<dependency>
<groupId>pl.pragmatists</groupId>
<artifactId>JUnitParams</artifactId>
Expand Down
1 change: 0 additions & 1 deletion algorithms-miscellaneous-5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
<artifactId>junit-platform-commons</artifactId>
<version>${junit.platform.version}</version>
</dependency>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion apache-cxf/cxf-aegis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
</dependency>
</dependencies>

</project>
</project>
2 changes: 1 addition & 1 deletion apache-cxf/cxf-introduction/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
</plugins>
</build>

</project>
</project>
2 changes: 1 addition & 1 deletion apache-cxf/cxf-jaxrs-implementation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@
<httpclient.version>4.5.2</httpclient.version>
</properties>

</project>
</project>
2 changes: 1 addition & 1 deletion apache-cxf/cxf-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
</properties>

</project>
</project>
2 changes: 1 addition & 1 deletion apache-cxf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
<cxf.version>3.1.8</cxf.version>
</properties>

</project>
</project>
2 changes: 1 addition & 1 deletion apache-cxf/sse-jaxrs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
<module>sse-jaxrs-client</module>
</modules>

</project>
</project>
4 changes: 1 addition & 3 deletions apache-cxf/sse-jaxrs/sse-jaxrs-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</parent>

<dependencies>

<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
Expand All @@ -33,7 +32,6 @@
<version>${bind-api.version}</version>
<scope>provided</scope>
</dependency>

</dependencies>

<build>
Expand Down Expand Up @@ -85,4 +83,4 @@
<bind-api.version>1.0</bind-api.version>
</properties>

</project>
</project>
3 changes: 1 addition & 2 deletions apache-libraries/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@
</execution>
</executions>
</plugin>

<!-- meecrowave -->
<plugin>
<groupId>org.apache.meecrowave</groupId>
Expand Down Expand Up @@ -216,4 +215,4 @@
<solr.solr-solrj.version>6.4.0</solr.solr-solrj.version>
</properties>

</project>
</project>
1 change: 1 addition & 0 deletions apache-rocketmq/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
<geode.core>1.6.0</geode.core>
<rocketmq.version>2.0.4</rocketmq.version>
</properties>

</project>
2 changes: 1 addition & 1 deletion apache-spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
</plugins>
</build>

<repositories>
<repositories>
<repository>
<id>SparkPackagesRepo</id>
<url>https://repos.spark-packages.org</url>
Expand Down
3 changes: 0 additions & 3 deletions apache-tapestry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
<optimize>true</optimize>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand All @@ -88,7 +87,6 @@
</systemPropertyVariables>
</configuration>
</plugin>

<!-- Run the application using "mvn jetty:run" -->
<plugin>
<groupId>org.mortbay.jetty</groupId>
Expand Down Expand Up @@ -119,7 +117,6 @@
<id>jboss</id>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
</repository>

<!-- This repository is only needed when the Tapestry version is a preview release, rather than
a final release. -->
<repository>
Expand Down
2 changes: 1 addition & 1 deletion asciidoctor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@
<asciidoctorj-pdf.plugin.version>1.5.0-alpha.15</asciidoctorj-pdf.plugin.version>
</properties>

</project>
</project>
2 changes: 1 addition & 1 deletion atomix/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
<atomix-all.version>1.0.0-rc9</atomix-all.version>
</properties>

</project>
</project>
2 changes: 1 addition & 1 deletion aws-lambda/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
<module>todo-reminder/ToDoFunction</module>
</modules>

</project>
</project>
63 changes: 33 additions & 30 deletions aws-lambda/todo-reminder/ToDoFunction/pom.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>helloworld</groupId>
<artifactId>ToDoFunction</artifactId>
<version>1.0</version>
<packaging>jar</packaging>
<name>ToDoFunction</name>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<dependencies>
<dependency>
Expand All @@ -18,9 +15,9 @@
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-events</artifactId>
<version>3.6.0</version>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-events</artifactId>
<version>3.6.0</version>
</dependency>
<dependency>
<groupId>uk.org.webcompere</groupId>
Expand Down Expand Up @@ -58,10 +55,10 @@
<version>5.0.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>uk.org.webcompere</groupId>
Expand All @@ -84,22 +81,28 @@
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<configuration>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<configuration>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

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

</project>
1 change: 1 addition & 0 deletions aws-reactive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,5 @@
<spring.version>2.2.1.RELEASE</spring.version>
<awssdk.version>2.10.27</awssdk.version>
</properties>

</project>
1 change: 0 additions & 1 deletion blade/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${assembly.plugin.version}</version>
Expand Down
2 changes: 0 additions & 2 deletions bootique/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@

<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
</plugin>

</plugins>
</build>

Expand Down
5 changes: 2 additions & 3 deletions cloud-foundry-uaa/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 All @@ -20,4 +19,4 @@
<module>cf-uaa-oauth2-resource-server</module>
</modules>

</project>
</project>
2 changes: 1 addition & 1 deletion core-groovy-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@
<groovy.compiler.version>3.3.0-01</groovy.compiler.version>
</properties>

</project>
</project>
2 changes: 1 addition & 1 deletion core-java-modules/core-java-concurrency-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>0.1.0-SNAPSHOT</version>
<name>core-java-concurrency-2</name>
<packaging>jar</packaging>

<parent>
<groupId>com.baeldung.core-java-modules</groupId>
<artifactId>core-java-modules</artifactId>
Expand Down
1 change: 0 additions & 1 deletion core-java-modules/core-java-concurrency-advanced-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh-generator.version}</version>
</dependency>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core-java-modules/core-java-concurrency-advanced/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>0.1.0-SNAPSHOT</version>
<name>core-java-concurrency-advanced</name>
<packaging>jar</packaging>

<parent>
<groupId>com.baeldung.core-java-modules</groupId>
<artifactId>core-java-modules</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core-java-modules/core-java-concurrency-basic-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>0.1.0-SNAPSHOT</version>
<name>core-java-concurrency-basic-2</name>
<packaging>jar</packaging>

<parent>
<groupId>com.baeldung.core-java-modules</groupId>
<artifactId>core-java-modules</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core-java-modules/core-java-concurrency-basic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>0.1.0-SNAPSHOT</version>
<name>core-java-concurrency-basic</name>
<packaging>jar</packaging>

<parent>
<groupId>com.baeldung.core-java-modules</groupId>
<artifactId>core-java-modules</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<version>0.1.0-SNAPSHOT</version>
<name>core-java-concurrency-collections-2</name>
<packaging>jar</packaging>

<parent>
<groupId>com.baeldung.core-java-modules</groupId>
<artifactId>core-java-modules</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>0.1.0-SNAPSHOT</version>
<name>core-java-concurrency-collections</name>
<packaging>jar</packaging>

<parent>
<groupId>com.baeldung.core-java-modules</groupId>
<artifactId>core-java-modules</artifactId>
Expand Down
1 change: 0 additions & 1 deletion core-java-modules/core-java-date-operations-1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<filtering>true</filtering>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
Loading

0 comments on commit 69a1db0

Please sign in to comment.