JAVA-5223: Fix formatting of POMs (Part 9)

This commit is contained in:
sampadawagde
2021-05-09 17:29:24 +05:30
parent 1a53db30c9
commit 40772fadc0
43 changed files with 207 additions and 234 deletions
@@ -1,5 +1,6 @@
<?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"
<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>custom-rule</artifactId>
@@ -45,12 +46,6 @@
</dependency>
</dependencies>
<properties>
<api.version>3.0.0-M2</api.version>
<maven.version>2.0.9</maven.version>
<plexus-container-default.version>1.0-alpha-9</plexus-container-default.version>
</properties>
<build>
<plugins>
<plugin>
@@ -64,4 +59,10 @@
</plugins>
</build>
</project>
<properties>
<api.version>3.0.0-M2</api.version>
<maven.version>2.0.9</maven.version>
<plexus-container-default.version>1.0-alpha-9</plexus-container-default.version>
</properties>
</project>
+5 -4
View File
@@ -1,15 +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>jaxws</artifactId>
<parent>
<artifactId>maven-plugins</artifactId>
<groupId>com.baeldung</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jaxws</artifactId>
<build>
<plugins>
<plugin>
@@ -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-enforcer</artifactId>
<name>maven-enforcer</name>
@@ -18,13 +18,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<!--<dependencies>-->
<!--<dependency>-->
<!--<groupId>com.baeldung</groupId>-->
<!--<artifactId>custom-rule</artifactId>-->
<!--<version>1.0</version>-->
<!--</dependency>-->
<!--</dependencies>-->
<!--<dependencies> -->
<!--<dependency> -->
<!--<groupId>com.baeldung</groupId> -->
<!--<artifactId>custom-rule</artifactId> -->
<!--<version>1.0</version> -->
<!--</dependency> -->
<!--</dependencies> -->
<executions>
<execution>
<id>enforce</id>
@@ -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>
@@ -55,7 +55,7 @@
<level>WARN</level>
</requireActiveProfile>
<!--other rules -->
<!--<myCustomRule implementation="com.baeldung.enforcer.MyCustomRule"/>-->
<!--<myCustomRule implementation="com.baeldung.enforcer.MyCustomRule"/> -->
</rules>
</configuration>
</execution>
+2 -1
View File
@@ -1,5 +1,6 @@
<?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"
<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-plugins</artifactId>