JAVA-15409: Fix formatting of POMs (#12992)

This commit is contained in:
freelansam
2022-11-18 00:26:06 +05:30
committed by GitHub
parent 178aed574e
commit 5bfbf38f59
62 changed files with 235 additions and 214 deletions
+2 -2
View File
@@ -62,8 +62,8 @@
<artifactId>json-simple</artifactId>
<version>${json-simple.version}</version>
<exclusions>
<!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine
included in parent-modules. -->
<!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine -->
<!-- included in parent-modules. -->
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
+2 -2
View File
@@ -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>axon</artifactId>
<name>axon</name>
@@ -56,7 +56,7 @@
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
@@ -36,4 +36,4 @@
<maven.compiler.target>8</maven.compiler.target>
</properties>
</project>
</project>
@@ -20,4 +20,4 @@
<properties>
</properties>
</project>
</project>
+2 -2
View File
@@ -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>core-java-function</artifactId>
<version>0.1.0-SNAPSHOT</version>
@@ -16,4 +16,5 @@
<build>
<finalName>core-java-networking-4</finalName>
</build>
</project>
</project>
@@ -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>core-java-string-operations-5</artifactId>
<version>0.1.0-SNAPSHOT</version>
@@ -21,6 +21,7 @@
<version>${apache.commons.lang3.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
+1 -1
View File
@@ -150,4 +150,4 @@
</dependencies>
</dependencyManagement>
</project>
</project>
@@ -5,11 +5,13 @@
<groupId>com.baeldung</groupId>
<artifactId>maven-to-gradle</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
</dependency>
</dependencies>
</project>
</project>
+1 -1
View File
@@ -35,4 +35,4 @@
<module>graphql-spqr-boot-starter</module>
</modules>
</project>
</project>
+8 -7
View File
@@ -48,13 +48,14 @@
</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>
<target>${maven.compiler.target}</target> <fork>true</fork> <compilerArgs> <arg>-Averbose=true</arg>
<arg>-AmethodConstraintsSupported=true</arg> <arg>-AdiagnosticKind=ERROR</arg> </compilerArgs> <annotationProcessorPaths>
<path> <groupId>org.hibernate.validator</groupId> <artifactId>hibernate-validator-annotation-processor</artifactId>
<version>${hibernate-validator.ap.version}</version> </path> </annotationProcessorPaths> </configuration>
</plugin> </plugins> </build> -->
<!-- <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> -->
<!--<target>${maven.compiler.target}</target> <fork>true</fork> <compilerArgs> <arg>-Averbose=true</arg> -->
<!--<arg>-AmethodConstraintsSupported=true</arg> <arg>-AdiagnosticKind=ERROR</arg> </compilerArgs> -->
<!--<annotationProcessorPaths> -->
<!--<path> <groupId>org.hibernate.validator</groupId> <artifactId>hibernate-validator-annotation-processor</artifactId> -->
<!--<version>${hibernate-validator.ap.version}</version> </path> </annotationProcessorPaths> </configuration> -->
<!--</plugin> </plugins> </build> -->
<properties>
<hibernate-validator.version>6.2.3.Final</hibernate-validator.version>
+2 -2
View File
@@ -80,8 +80,8 @@
</pluginRepositories>
<properties>
<!-- Baseline Jenkins version you use to build the plugin. Users must have this version or newer
to run. -->
<!-- Baseline Jenkins version you use to build the plugin. -->
<!-- Users must have this version or newer to run. -->
<jenkins.version>2.7.3</jenkins.version>
<structs.version>1.7</structs.version>
<workflow-step-api.version>2.12</workflow-step-api.version>
+2 -2
View File
@@ -113,8 +113,8 @@
<build>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no
influence on the Maven build itself. -->
<!--This plugin's configuration is used to store Eclipse m2e settings only. -->
<!-- It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
+2 -2
View File
@@ -49,8 +49,8 @@
<artifactId>jbpm-test</artifactId>
<version>${jbpm.version}</version>
<exclusions>
<!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine
included in parent-modules. -->
<!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine -->
<!-- included in parent-modules. -->
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
+4 -4
View File
@@ -176,8 +176,8 @@
</path>
</annotationProcessorPaths>
<compilerArgs>
<!-- NullAway will warn by default, uncomment the next line to make the build
fail -->
<!-- NullAway will warn by default, uncomment the next line to make the build -->
<!-- fail -->
<!-- <arg>-Xep:NullAway:ERROR</arg> -->
<arg>-XepExcludedPaths:(.*)/test/.*|(.*)/jcabi/.*</arg>
<arg>-XepOpt:NullAway:AnnotatedPackages=com.baeldung.nullaway</arg>
@@ -189,8 +189,8 @@
<artifactId>plexus-compiler-javac-errorprone</artifactId>
<version>2.8</version>
</dependency>
<!-- override plexus-compiler-javac-errorprone's dependency on Error Prone with the
latest version -->
<!-- override plexus-compiler-javac-errorprone's dependency on Error Prone with the -->
<!-- latest version -->
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
+1 -1
View File
@@ -78,4 +78,4 @@
</plugins>
</build>
</project>
</project>
+1 -1
View File
@@ -44,4 +44,4 @@
<commons-configuration2>2.8.0</commons-configuration2>
</properties>
</project>
</project>
+4 -3
View File
@@ -62,9 +62,10 @@
<verbose>false</verbose>
</configuration>
</execution>
<!-- This is for delomboking also your tests sources. <execution> <id>test-delombok</id>
<phase>generate-test-sources</phase> <goals> <goal>testDelombok</goal> </goals> <configuration> <verbose>false</verbose>
</configuration> </execution> -->
<!-- This is for delomboking also your tests sources. -->
<!--<execution> <id>test-delombok</id> -->
<!-- <phase>generate-test-sources</phase> <goals> <goal>testDelombok</goal> </goals> -->
<!--<configuration> <verbose>false</verbose> </configuration> </execution> -->
</executions>
</plugin>
</plugins>
@@ -23,8 +23,8 @@
<version>0.0.1-SNAPSHOT</version>
<classifier>arbitrary</classifier>
</dependency>
<!-- For example purpose not building as it requires both JDK 8 and 11 executables on the build
machine -->
<!-- For example purpose not building as it requires both JDK 8 and 11 executables -->
<!-- on the build machine -->
<!-- <dependency> -->
<!-- <groupId>com.baeldung</groupId> -->
<!-- <artifactId>maven-classifier-example-provider</artifactId> -->
@@ -31,8 +31,8 @@
<fork>true</fork>
</configuration>
</execution>
<!-- For example purpose not building as it requires both JDK 8 and 11 executables
on the build machine -->
<!-- For example purpose not building as it requires both JDK 8 and 11 executables -->
<!-- on the build machine -->
<!-- <execution> -->
<!-- <id>JDK 11</id> -->
<!-- <phase>compile</phase> -->
@@ -69,8 +69,8 @@
<goal>test-jar</goal>
</goals>
</execution>
<!-- For example purpose not building as it requires both JDK 8 and 11 executables
on the build machine -->
<!-- For example purpose not building as it requires both JDK 8 and 11 executables -->
<!-- on the build machine -->
<!-- <execution> -->
<!-- <id>default-package-jdk11</id> -->
<!-- <phase>package</phase> -->
+2 -2
View File
@@ -57,8 +57,8 @@
<properties>
<name>${project.name}</name>
<my.awesome.property>property-from-pom</my.awesome.property>
<!--these properties are normally set in the parent POM and would be overidden by the plugin
specific properties above. -->
<!--these properties are normally set in the parent POM -->
<!-- and would be overidden by the plugin specific properties above. -->
<!--project.build.sourceEncoding></project.build.sourceEncoding -->
<!--project.build.sourceEncoding>US-ASCII</project.build.sourceEncoding -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+4 -3
View File
@@ -35,9 +35,10 @@
<Bundle-Version>${project.version}</Bundle-Version>
<!-- Qualified name of the class that exposes the activator iface. -->
<Bundle-Activator>com.baeldung.osgi.sample.activator.HelloWorld</Bundle-Activator>
<!-- One important thing to note: since you are not exporting the package "com.baeldung.osgi.sample.activator",
you should at least add it to the Private-Package instruction. Otherwise, the classes inside the package
will not be copied to your bundle, as the default value of this instruction is empty. -->
<!-- One important thing to note: since you are not exporting the package "com.baeldung.osgi.sample.activator", -->
<!-- you should at least add it to the Private-Package instruction. Otherwise, -->
<!-- the classes inside the package will not be copied to your bundle, -->
<!-- as the default value of this instruction is empty. -->
<Private-Package>com.baeldung.osgi.sample.activator</Private-Package>
</instructions>
</configuration>
+1
View File
@@ -26,6 +26,7 @@
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.rest-assured</groupId>
+2 -1
View File
@@ -33,6 +33,7 @@
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.rest-assured</groupId>
@@ -92,4 +93,4 @@
<aspectjweaver.version>1.9.1</aspectjweaver.version>
</properties>
</project>
</project>
+1
View File
@@ -74,6 +74,7 @@
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
-1
View File
@@ -13,7 +13,6 @@
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<dependencies>
+1 -1
View File
@@ -29,4 +29,4 @@
<spring-boot-starter-test.version>1.5.10.RELEASE</spring-boot-starter-test.version>
</properties>
</project>
</project>
+5 -5
View File
@@ -1,14 +1,14 @@
<?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>coupling</artifactId>
<parent>
<artifactId>patterns-modules</artifactId>
<groupId>com.baeldung</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>coupling</artifactId>
</project>
@@ -32,10 +32,13 @@
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.driver.version}</version>
</dependency>
<!-- ================================================================== This jar is not in maven
central repo due to some license issues. We need to manually download and install to maven repository.
================================================================== <dependency> <groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId> <version>${oracle.driver.version}</version> </dependency> -->
<!-- This jar is not in maven central repo due to some license issues. -->
<!-- We need to manually download and install to maven repository. -->
<!-- <dependency> -->
<!-- <groupId>com.oracle</groupId> -->
<!-- <artifactId>ojdbc14</artifactId> -->
<!-- <version>${oracle.driver.version}</version> -->
<!-- </dependency> -->
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>

Some files were not shown because too many files have changed in this diff Show More