Skip to content

Commit

Permalink
JAVA-21189: Formatting pom.xml modules starting from KLM (eugenp#14096)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bipinkumar27 authored and valituguran committed May 27, 2023
1 parent fbd7bf3 commit 07e4742
Show file tree
Hide file tree
Showing 22 changed files with 116 additions and 118 deletions.
4 changes: 2 additions & 2 deletions kubernetes-modules/k8s-java-heap-dump/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<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>k8s-java-heap-dump</artifactId>
<version>0.0.1-SNAPSHOT</version>
Expand Down
28 changes: 13 additions & 15 deletions libraries-4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,24 +109,21 @@
<artifactId>javafx-fxml</artifactId>
<version>${javafx.version}</version>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson-core.version}</version>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson-annotations.version}</version>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson-core.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson-annotations.version}</version>
</dependency>
</dependencies>

<properties>
<jackson-annotations.version>2.14.2</jackson-annotations.version>
<jackson-core.version>2.14.2</jackson-core.version>
<jackson-annotations.version>2.14.2</jackson-annotations.version>
<jackson-core.version>2.14.2</jackson-core.version>
<jdeferred.version>1.2.6</jdeferred.version>
<eclipse-collections.version>8.2.0</eclipse-collections.version>
<noexception.version>1.1.0</noexception.version>
Expand All @@ -144,6 +141,7 @@
<glassfish.web.version>2.2.4</glassfish.web.version>
<olap4j.version>1.2.0</olap4j.version>
<javafx.version>19</javafx.version>
<spoon-core.version>10.3.0</spoon-core.version>
</properties>

</project>
2 changes: 1 addition & 1 deletion libraries-ai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<groupId>org.apache.opennlp</groupId>
<artifactId>opennlp-tools</artifactId>
<version>${opennlp-tools.version}</version>
</dependency>
</dependency>
</dependencies>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion libraries-concurrency/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<argument>-javaagent:${co.paralleluniverse:quasar-core:jar}</argument>
<!-- Classpath -->
<argument>-classpath</argument>
<classpath />
<classpath/>
<!-- Main class -->
<argument>com.baeldung.quasar.App</argument>
</arguments>
Expand Down
11 changes: 5 additions & 6 deletions libraries-data-db/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,23 +178,22 @@
<configuration>
<tasks>
<property name="plugin_classpath"
refid="maven.plugin.classpath" />
refid="maven.plugin.classpath"/>
<taskdef name="gen-reladomo" classpath="plugin_classpath"
classname="com.gs.fw.common.mithra.generator.MithraGenerator" />
classname="com.gs.fw.common.mithra.generator.MithraGenerator"/>
<gen-reladomo
xml="${project.basedir}/src/main/resources/reladomo/ReladomoClassList.xml"
generatedDir="${project.build.directory}/generated-sources/reladomo"
nonGeneratedDir="${project.basedir}/src/main/java" />

nonGeneratedDir="${project.basedir}/src/main/java"/>
<taskdef name="gen-ddl"
classname="com.gs.fw.common.mithra.generator.dbgenerator.MithraDbDefinitionGenerator"
loaderRef="reladomoGenerator">
<classpath refid="maven.plugin.classpath" />
<classpath refid="maven.plugin.classpath"/>
</taskdef>
<gen-ddl
xml="${project.basedir}/src/main/resources/reladomo/ReladomoClassList.xml"
generatedDir="${project.build.directory}/generated-db/sql"
databaseType="postgres" />
databaseType="postgres"/>
</tasks>
</configuration>
</execution>
Expand Down
4 changes: 2 additions & 2 deletions libraries-data/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>libraries-data</artifactId>
<name>libraries-data</name>
Expand Down
10 changes: 5 additions & 5 deletions logging-modules/logback/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
<artifactId>logback-jackson</artifactId>
<version>${logback.contrib.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion lombok-modules/lombok-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion lombok-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<modules>
<module>lombok</module>
<module>lombok-2</module>
<!-- <module>lombok-custom</module>--> <!-- this module uses legacy jdk-8 features (tools.jar), so can't upgrade to jdk9 or above-->
<!-- <module>lombok-custom</module>--> <!-- this module uses legacy jdk-8 features (tools.jar), so can't upgrade to jdk9 or above-->
</modules>

<build>
Expand Down
4 changes: 2 additions & 2 deletions maven-modules/dependency-exclusion/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: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>
<groupId>com.baeldung.dependency-exclusion</groupId>
<artifactId>dependency-exclusion</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions maven-modules/maven-copy-files/maven-antrun-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
<phase>generate-sources</phase>
<configuration>
<target>
<mkdir dir="${basedir}/target/destination-folder" />
<mkdir dir="${basedir}/target/destination-folder"/>
<copy todir="${basedir}/target/destination-folder">
<fileset dir="${basedir}/source-files"
includes="foo.txt" />
includes="foo.txt"/>
</copy>
</target>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<executions>
<execution>
<id>enforce-file-exists</id>
<phase />
<phase/>
</execution>
</executions>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion maven-modules/maven-plugins/maven-enforcer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</goals>
<configuration>
<rules>
<banDuplicatePomDependencyVersions />
<banDuplicatePomDependencyVersions/>
<requireMavenVersion>
<version>3.0</version>
<message>Invalid Maven version. It should, at least, be 3.0</message>
Expand Down
2 changes: 1 addition & 1 deletion maven-modules/maven-pom-types/pom-4.0.0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@
</profiles>

</project>
<!-- END SNIPPET: superpom -->
<!-- END SNIPPET: superpom -->
8 changes: 4 additions & 4 deletions maven-modules/maven-printing-plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
</goals>
<configuration>
<target>
<echo message="Hello, world" />
<echo message="Embed a line break: ${line.separator}" />
<echo message="Hello, world"/>
<echo message="Embed a line break: ${line.separator}"/>
<echo message="Build dir: ${project.build.directory}"
level="info" />
level="info"/>
<echo file="${basedir}/logs/log-ant-run.txt" append="true"
message="Save to file!" />
message="Save to file!"/>
</target>
</configuration>
</execution>
Expand Down
34 changes: 17 additions & 17 deletions maven-modules/maven-reactor/patient-data/pom.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<?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">
<modelVersion>4.0.0</modelVersion>
<artifactId>patient-data</artifactId>
<name>patient-data</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>maven-reactor</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>com.baeldung</groupId>
<artifactId>patient-domain</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
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>patient-data</artifactId>
<name>patient-data</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>maven-reactor</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>com.baeldung</groupId>
<artifactId>patient-domain</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
20 changes: 10 additions & 10 deletions maven-modules/maven-reactor/patient-domain/pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?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">
<modelVersion>4.0.0</modelVersion>
<artifactId>patient-domain</artifactId>
<name>patient-domain</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>maven-reactor</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
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>patient-domain</artifactId>
<name>patient-domain</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>maven-reactor</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
</project>
44 changes: 22 additions & 22 deletions maven-modules/maven-reactor/patient-web/pom.xml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
<?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">
<modelVersion>4.0.0</modelVersion>
<artifactId>patient-web</artifactId>
<version>1.0-SNAPSHOT</version>
<name>patient-web</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>maven-reactor</artifactId>
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>patient-web</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>com.baeldung</groupId>
<artifactId>patient-data</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.baeldung</groupId>
<artifactId>patient-domain</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<name>patient-web</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>maven-reactor</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>com.baeldung</groupId>
<artifactId>patient-data</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.baeldung</groupId>
<artifactId>patient-domain</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>

</project>
36 changes: 18 additions & 18 deletions maven-modules/maven-reactor/pom.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<?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">
<modelVersion>4.0.0</modelVersion>
<artifactId>maven-reactor</artifactId>
<version>1.0-SNAPSHOT</version>
<name>maven-reactor</name>
<packaging>pom</packaging>
<description>Sample multi-module project to explain maven reactor</description>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>maven-modules</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<modules>
<module>patient-web</module>
<module>patient-data</module>
<module>patient-domain</module>
</modules>
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-reactor</artifactId>
<version>1.0-SNAPSHOT</version>
<name>maven-reactor</name>
<packaging>pom</packaging>
<description>Sample multi-module project to explain maven reactor</description>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>maven-modules</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<modules>
<module>patient-web</module>
<module>patient-data</module>
<module>patient-domain</module>
</modules>

</project>
2 changes: 1 addition & 1 deletion messaging-modules/spring-apache-camel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<camel.version>3.15.0</camel.version>
</properties>

<profiles>
<profiles>
<profile>
<id>spring-boot</id>
<build>
Expand Down
4 changes: 2 additions & 2 deletions microservices-modules/micronaut/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<mainClass>${exec.mainClass}</mainClass>
</transformer>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
</transformers>
</configuration>
</execution>
Expand All @@ -103,7 +103,7 @@
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath />
<classpath/>
<argument>${exec.mainClass}</argument>
</arguments>
</configuration>
Expand Down
Loading

0 comments on commit 07e4742

Please sign in to comment.