From 4244d7e6b9ce509b04e2a2c2bb4aca1c7fbd11f3 Mon Sep 17 00:00:00 2001 From: Martin Foot Date: Sun, 29 Jan 2023 09:35:54 +0000 Subject: [PATCH] Add formatting for pom.xml via Spotless and Eclipse WTP --- pom.xml | 162 +++++++++--------- src/it/basic-dependencyManagement/pom.xml | 7 +- .../pom.xml | 4 +- src/it/basic-single-dependency/pom.xml | 7 +- src/it/dependency-defined-twice/pom.xml | 7 +- src/it/no-dependencies/pom.xml | 4 +- 6 files changed, 97 insertions(+), 94 deletions(-) diff --git a/pom.xml b/pom.xml index 3dd9917..72debce 100644 --- a/pom.xml +++ b/pom.xml @@ -1,17 +1,22 @@ - + 4.0.0 + com.github.mfoo libyear-maven-plugin - maven-plugin 0.0.1 - libyear-maven-plugin Maven Mojo - This plugin helps you see how outdated your Maven project dependencies are via the libyear dependency freshness measure. + This plugin helps you see how outdated your Maven project + dependencies are via the libyear dependency freshness measure. https://github.com/mfoo/libyear-maven-plugin + maven-plugin + GitHub https://github.com/mfoo/libyear-maven-plugin/issues + github @@ -19,13 +24,16 @@ https://maven.pkg.github.com/mfoo/libyear-maven-plugin + 2023 + Martin Foot https://github.com/mfoo + Apache License, Version 2.0 @@ -33,12 +41,12 @@ repo + scm:git:git://github.com/mfoo/libyear-maven-plugin.git scm:git:git@github.com:mfoo/libyear-maven-plugin.git https://github.com/mfoo/libyear-maven-plugin/tree/main - libyear-maven-plugin-0.0.1 - + 3.6.3 @@ -78,17 +86,6 @@ ${maven.dependencies.version} provided - - org.codehaus.mojo.versions - versions-common - ${codehaus.versions.dependencies.version} - - - org.codehaus.mojo.versions - versions-test - ${codehaus.versions.dependencies.version} - test - org.apache.maven.plugin-tools maven-plugin-annotations @@ -101,12 +98,6 @@ 1.9.4 provided - - org.apache.maven.plugin-testing - maven-plugin-testing-harness - 3.3.0 - test - org.apache.maven maven-project @@ -120,16 +111,67 @@ provided - org.json - json - 20220924 + javax.inject + javax.inject + 1 + provided + org.eclipse.aether aether-api 1.1.0 runtime + + + org.apache.commons + commons-lang3 + 3.12.0 + + + com.google.guava + guava + 31.1-jre + + + org.apache.httpcomponents + httpclient + 4.5.14 + + + org.apache.httpcomponents + httpcore + 4.4.16 + + + org.codehaus.plexus + plexus-utils + 3.5.0 + + + org.json + json + 20220924 + + + org.codehaus.mojo.versions + versions-common + ${codehaus.versions.dependencies.version} + + + + org.codehaus.mojo.versions + versions-test + ${codehaus.versions.dependencies.version} + test + + + org.apache.maven.plugin-testing + maven-plugin-testing-harness + 3.3.0 + test + org.junit.jupiter junit-jupiter-api @@ -154,17 +196,6 @@ 5.0.0 test - - javax.inject - javax.inject - 1 - provided - - - org.apache.commons - commons-lang3 - 3.12.0 - com.github.tomakehurst wiremock-jre8 @@ -172,30 +203,8 @@ test - com.google.guava - guava - 31.1-jre - - - org.apache.httpcomponents - httpclient - 4.5.14 - - - org.apache.httpcomponents - httpcore - 4.4.16 - - - org.codehaus.plexus - plexus-utils - 3.5.0 - - - + org.slf4j slf4j-simple 2.0.6 @@ -296,6 +305,17 @@ + + + + **/pom.xml + + + XML + + + + @@ -306,26 +326,6 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/src/it/basic-dependencyManagement/pom.xml b/src/it/basic-dependencyManagement/pom.xml index 770f83c..7a0ee84 100644 --- a/src/it/basic-dependencyManagement/pom.xml +++ b/src/it/basic-dependencyManagement/pom.xml @@ -1,6 +1,6 @@ + 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"> 4.0.0 localhost basic-single-dependency @@ -10,7 +10,8 @@ http://localhost/ - Testing that versions from dependencyManagement are handled correctly + Testing that versions from dependencyManagement are + handled correctly diff --git a/src/it/basic-single-dependency-with-version-in-property/pom.xml b/src/it/basic-single-dependency-with-version-in-property/pom.xml index 4aea836..3c26cb3 100644 --- a/src/it/basic-single-dependency-with-version-in-property/pom.xml +++ b/src/it/basic-single-dependency-with-version-in-property/pom.xml @@ -1,6 +1,6 @@ + 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"> 4.0.0 localhost basic-single-dependency diff --git a/src/it/basic-single-dependency/pom.xml b/src/it/basic-single-dependency/pom.xml index 2e53742..3f6729e 100644 --- a/src/it/basic-single-dependency/pom.xml +++ b/src/it/basic-single-dependency/pom.xml @@ -1,6 +1,6 @@ + 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"> 4.0.0 localhost basic-single-dependency @@ -10,7 +10,8 @@ http://localhost/ - Very basic test to see that dependency updates are suggested correctly + Very basic test to see that dependency updates are + suggested correctly diff --git a/src/it/dependency-defined-twice/pom.xml b/src/it/dependency-defined-twice/pom.xml index daef8ce..2948b9b 100644 --- a/src/it/dependency-defined-twice/pom.xml +++ b/src/it/dependency-defined-twice/pom.xml @@ -1,7 +1,7 @@ + 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"> 4.0.0 localhost basic-single-dependency @@ -11,7 +11,8 @@ http://localhost/ - Testing how the plugin sees dependencies that are defined twice + Testing how the plugin sees dependencies that are defined + twice diff --git a/src/it/no-dependencies/pom.xml b/src/it/no-dependencies/pom.xml index 6463766..51a71e7 100644 --- a/src/it/no-dependencies/pom.xml +++ b/src/it/no-dependencies/pom.xml @@ -1,6 +1,6 @@ + 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"> 4.0.0 localhost basic-single-dependency