You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2023/05/08 20:59:55 UTC
[maven-project-info-reports-plugin] branch master updated (1f8c108 -> cb8c257)
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git
from 1f8c108 Auto-link MPIR Jira
new 2cea544 Fix typos
new 3ddd7bd Code simplifications
new cb8c257 [MPIR-434] Upgrade plugins and components (in ITs)
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
pom.xml | 16 ++++++++--------
src/it/multi-module/pom.xml | 2 +-
.../projectinfo/AbstractProjectInfoReport.java | 7 +------
.../report/projectinfo/DependenciesReport.java | 4 ++--
.../projectinfo/DependencyManagementReport.java | 4 ++--
.../dependencies/renderer/DependenciesRenderer.java | 21 +++++++--------------
.../projectinfo/AbstractProjectInfoTestCase.java | 4 ++--
.../maven/report/projectinfo/ScmReportTest.java | 4 ++--
.../plugin-configs/ci-management-plugin-config.xml | 3 ++-
.../ci-management-plugin-with-ci-section-config.xml | 3 ++-
.../dependency-convergence-plugin-config.xml | 3 ++-
.../dependency-management-plugin-config.xml | 1 +
.../plugin-configs/index-plugin-config.xml | 3 ++-
.../issue-management-plugin-config.xml | 3 ++-
.../licenses-plugin-config-linkonly.xml | 3 ++-
.../plugin-configs/licenses-plugin-config.xml | 3 ++-
.../mailing-lists-plugin-config-invalidlink.xml | 1 +
.../plugin-configs/mailing-lists-plugin-config.xml | 1 +
.../plugin-configs/modules-plugin-config.xml | 6 ++----
...variable-settings-interpolated-plugin-config.xml | 8 ++------
.../plugin-management-plugin-config-MPIR-375.xml | 6 +++---
.../plugin-management-plugin-config.xml | 2 +-
.../resources/plugin-configs/scm-plugin-config.xml | 3 ++-
.../plugin-configs/scm-wrong-url-plugin-config.xml | 3 ++-
.../plugin-configs/summary-plugin-config.xml | 3 ++-
.../resources/plugin-configs/team-plugin-config.xml | 3 ++-
26 files changed, 58 insertions(+), 62 deletions(-)
[maven-project-info-reports-plugin] 01/03: Fix typos
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git
commit 2cea544e6590524366354f3ef5e7b4df66a3c078
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon May 8 22:43:51 2023 +0200
Fix typos
---
.../apache/maven/report/projectinfo/AbstractProjectInfoTestCase.java | 4 ++--
src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/test/java/org/apache/maven/report/projectinfo/AbstractProjectInfoTestCase.java b/src/test/java/org/apache/maven/report/projectinfo/AbstractProjectInfoTestCase.java
index b46d356..f115418 100644
--- a/src/test/java/org/apache/maven/report/projectinfo/AbstractProjectInfoTestCase.java
+++ b/src/test/java/org/apache/maven/report/projectinfo/AbstractProjectInfoTestCase.java
@@ -138,7 +138,7 @@ public abstract class AbstractProjectInfoTestCase extends AbstractMojoTestCase {
File report = new File(outputDirectory, name);
if (!report.exists()) {
- throw new IOException("File not found. Attempted :" + report);
+ throw new IOException("File not found. Attempted: " + report);
}
return report;
@@ -160,7 +160,7 @@ public abstract class AbstractProjectInfoTestCase extends AbstractMojoTestCase {
protected AbstractProjectInfoReport createReportMojo(String goal, File pluginXmlFile) throws Exception {
AbstractProjectInfoReport mojo = (AbstractProjectInfoReport) lookupMojo(goal, pluginXmlFile);
- assertNotNull("Mojo found.", mojo);
+ assertNotNull("Mojo not found.", mojo);
LegacySupport legacySupport = lookup(LegacySupport.class);
legacySupport.setSession(newMavenSession(new MavenProjectStub()));
diff --git a/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java b/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java
index 506496c..3570b1e 100644
--- a/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java
+++ b/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java
@@ -96,7 +96,7 @@ public class ScmReportTest extends AbstractProjectInfoTestCase {
setUp();
mojo = lookupMojo("scm", pluginXmlFile);
- assertNotNull("Mojo found.", mojo);
+ assertNotNull("Mojo not found.", mojo);
setVariableValueToObject(mojo, "anonymousConnection", "scm:svn:http");
try {
mojo.execute();
@@ -109,7 +109,7 @@ public class ScmReportTest extends AbstractProjectInfoTestCase {
setUp();
mojo = lookupMojo("scm", pluginXmlFile);
- assertNotNull("Mojo found.", mojo);
+ assertNotNull("Mojo not found.", mojo);
setVariableValueToObject(mojo, "anonymousConnection", "scm");
try {
mojo.execute();
[maven-project-info-reports-plugin] 02/03: Code simplifications
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git
commit 3ddd7bd470ed27fdb0054c88823723a6078aabb4
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon May 8 22:45:31 2023 +0200
Code simplifications
---
.../projectinfo/AbstractProjectInfoReport.java | 7 +------
.../report/projectinfo/DependenciesReport.java | 4 ++--
.../projectinfo/DependencyManagementReport.java | 4 ++--
.../dependencies/renderer/DependenciesRenderer.java | 21 +++++++--------------
4 files changed, 12 insertions(+), 24 deletions(-)
diff --git a/src/main/java/org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java b/src/main/java/org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java
index 3270a22..2ad27bf 100644
--- a/src/main/java/org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java
+++ b/src/main/java/org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java
@@ -96,7 +96,7 @@ public abstract class AbstractProjectInfoReport extends AbstractMavenReport {
*
* @since 3.1.0
*/
- @Parameter(property = "project.pluginArtifactRepositories")
+ @Parameter(defaultValue = "${project.pluginArtifactRepositories}", readonly = true, required = true)
protected List<ArtifactRepository> pluginRepositories;
/**
@@ -211,11 +211,6 @@ public abstract class AbstractProjectInfoReport extends AbstractMavenReport {
return session;
}
- /**
- * Reactor projects
- *
- * @return List of projects
- */
protected List<MavenProject> getReactorProjects() {
return reactorProjects;
}
diff --git a/src/main/java/org/apache/maven/report/projectinfo/DependenciesReport.java b/src/main/java/org/apache/maven/report/projectinfo/DependenciesReport.java
index 7db0220..9011399 100644
--- a/src/main/java/org/apache/maven/report/projectinfo/DependenciesReport.java
+++ b/src/main/java/org/apache/maven/report/projectinfo/DependenciesReport.java
@@ -140,8 +140,8 @@ public class DependenciesReport extends AbstractProjectInfoReport {
projectBuilder,
repositorySystem,
resolver,
- project.getRemoteArtifactRepositories(),
- project.getPluginArtifactRepositories(),
+ remoteRepositories,
+ pluginRepositories,
buildingRequest,
repositoryMetadataManager);
diff --git a/src/main/java/org/apache/maven/report/projectinfo/DependencyManagementReport.java b/src/main/java/org/apache/maven/report/projectinfo/DependencyManagementReport.java
index 38601fc..ca68828 100644
--- a/src/main/java/org/apache/maven/report/projectinfo/DependencyManagementReport.java
+++ b/src/main/java/org/apache/maven/report/projectinfo/DependencyManagementReport.java
@@ -96,8 +96,8 @@ public class DependencyManagementReport extends AbstractProjectInfoReport {
projectBuilder,
repositorySystem,
resolver,
- project.getRemoteArtifactRepositories(),
- project.getPluginArtifactRepositories(),
+ remoteRepositories,
+ pluginRepositories,
buildingRequest,
repositoryMetadataManager);
diff --git a/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java b/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
index cbe5c63..c846c84 100644
--- a/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
+++ b/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
@@ -249,7 +249,7 @@ public class DependenciesRenderer extends AbstractProjectInfoRenderer {
* @param name not null
*/
// TODO Remove me when MSHARED-390 has been resolved
- protected void startSection(String anchor, String name) {
+ protected void startSection(String name, String anchor) {
section = section + 1;
super.sink.anchor(HtmlTools.encodeId(anchor));
@@ -435,8 +435,6 @@ public class DependenciesRenderer extends AbstractProjectInfoRenderer {
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
- pw.println("");
- pw.println("<script language=\"javascript\" type=\"text/javascript\">");
pw.println(" function toggleDependencyDetails( divId, imgId )");
pw.println(" {");
pw.println(" var div = document.getElementById( divId );");
@@ -454,9 +452,8 @@ public class DependenciesRenderer extends AbstractProjectInfoRenderer {
pw.printf(" img.alt='%s';%n", getI18nString("graph.icon.close"));
pw.println(" }");
pw.println(" }");
- pw.println("</script>");
- sink.rawText(sw.toString());
+ javaScript(sw.toString());
// for Dependencies Graph Tree
startSection(getI18nString("graph.tree.title"));
@@ -701,7 +698,7 @@ public class DependenciesRenderer extends AbstractProjectInfoRenderer {
String anchorByScope = (isTransitive
? getI18nString("transitive.title") + "_" + scope
: getI18nString("title") + "_" + scope);
- startSection(anchorByScope, scope);
+ startSection(scope, anchorByScope);
paragraph(getI18nString("intro." + scope));
@@ -849,8 +846,7 @@ public class DependenciesRenderer extends AbstractProjectInfoRenderer {
List<License> licenses = artifactProject.getLicenses();
- sink.table();
- sink.tableRows(null, false);
+ startTable();
sink.tableRow();
sink.tableHeaderCell();
@@ -931,8 +927,7 @@ public class DependenciesRenderer extends AbstractProjectInfoRenderer {
sink.tableCell_();
sink.tableRow_();
- sink.tableRows_();
- sink.table_();
+ endTable();
} catch (ProjectBuildingException e) {
sink.text(getI18nString("index", "nodescription"));
if (log.isDebugEnabled()) {
@@ -945,8 +940,7 @@ public class DependenciesRenderer extends AbstractProjectInfoRenderer {
}
}
} else {
- sink.table();
- sink.tableRows(null, false);
+ startTable();
sink.tableRow();
sink.tableHeaderCell();
@@ -976,8 +970,7 @@ public class DependenciesRenderer extends AbstractProjectInfoRenderer {
sink.tableCell_();
sink.tableRow_();
- sink.tableRows_();
- sink.table_();
+ endTable();
}
sink.rawText("</div>");
[maven-project-info-reports-plugin] 03/03: [MPIR-434] Upgrade plugins and components (in ITs)
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git
commit cb8c2575b793dd6758879712802e02207407a612
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon May 8 22:53:39 2023 +0200
[MPIR-434] Upgrade plugins and components (in ITs)
---
pom.xml | 16 ++++++++--------
src/it/multi-module/pom.xml | 2 +-
.../plugin-configs/ci-management-plugin-config.xml | 3 ++-
.../ci-management-plugin-with-ci-section-config.xml | 3 ++-
.../dependency-convergence-plugin-config.xml | 3 ++-
.../dependency-management-plugin-config.xml | 1 +
.../resources/plugin-configs/index-plugin-config.xml | 3 ++-
.../plugin-configs/issue-management-plugin-config.xml | 3 ++-
.../plugin-configs/licenses-plugin-config-linkonly.xml | 3 ++-
.../resources/plugin-configs/licenses-plugin-config.xml | 3 ++-
.../mailing-lists-plugin-config-invalidlink.xml | 1 +
.../plugin-configs/mailing-lists-plugin-config.xml | 1 +
.../resources/plugin-configs/modules-plugin-config.xml | 6 ++----
...ules-variable-settings-interpolated-plugin-config.xml | 8 ++------
.../plugin-management-plugin-config-MPIR-375.xml | 6 +++---
.../plugin-configs/plugin-management-plugin-config.xml | 2 +-
src/test/resources/plugin-configs/scm-plugin-config.xml | 3 ++-
.../plugin-configs/scm-wrong-url-plugin-config.xml | 3 ++-
.../resources/plugin-configs/summary-plugin-config.xml | 3 ++-
src/test/resources/plugin-configs/team-plugin-config.xml | 3 ++-
20 files changed, 42 insertions(+), 34 deletions(-)
diff --git a/pom.xml b/pom.xml
index 701edc4..24d6c27 100644
--- a/pom.xml
+++ b/pom.xml
@@ -115,13 +115,13 @@ under the License.
<properties>
<doxiaVersion>1.11.1</doxiaVersion>
- <doxia-sitetoolsVersion>1.11.1</doxia-sitetoolsVersion>
+ <doxiaSitetoolsVersion>1.11.1</doxiaSitetoolsVersion>
<mavenVersion>3.2.5</mavenVersion>
<scmVersion>1.13.0</scmVersion>
<aetherVersion>1.0.0.v20140518</aetherVersion>
<sitePluginVersion>3.12.1</sitePluginVersion>
<fluidoSkinVersion>1.11.1</fluidoSkinVersion>
- <surefire.version>2.22.2</surefire.version>
+ <surefire.version>3.1.0</surefire.version>
<checkstyle.violation.ignore>ParameterNumber,MethodLength</checkstyle.violation.ignore>
<project.build.outputTimestamp>2023-04-15T14:36:20Z</project.build.outputTimestamp>
</properties>
@@ -214,7 +214,7 @@ under the License.
<dependency>
<groupId>org.apache.bcel</groupId>
<artifactId>bcel</artifactId>
- <version>6.6.0</version>
+ <version>6.7.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
@@ -345,12 +345,12 @@ under the License.
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-decoration-model</artifactId>
- <version>${doxia-sitetoolsVersion}</version>
+ <version>${doxiaSitetoolsVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-site-renderer</artifactId>
- <version>${doxia-sitetoolsVersion}</version>
+ <version>${doxiaSitetoolsVersion}</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
@@ -365,7 +365,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-integration-tools</artifactId>
- <version>${doxia-sitetoolsVersion}</version>
+ <version>${doxiaSitetoolsVersion}</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
@@ -389,7 +389,7 @@ under the License.
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
- <version>3.4.2</version>
+ <version>3.5.1</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
@@ -461,7 +461,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-lightweight</artifactId>
- <version>3.5.1</version>
+ <version>3.5.3</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/src/it/multi-module/pom.xml b/src/it/multi-module/pom.xml
index 60cd695..0cbf1da 100644
--- a/src/it/multi-module/pom.xml
+++ b/src/it/multi-module/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
- <version>16</version>
+ <version>29</version>
</parent>
<groupId>org.apache.maven.plugins.project-info-reports.its</groupId>
diff --git a/src/test/resources/plugin-configs/ci-management-plugin-config.xml b/src/test/resources/plugin-configs/ci-management-plugin-config.xml
index 1aede55..56eff3d 100644
--- a/src/test/resources/plugin-configs/ci-management-plugin-config.xml
+++ b/src/test/resources/plugin-configs/ci-management-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>ci mangement project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -44,4 +45,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/ci-management-plugin-with-ci-section-config.xml b/src/test/resources/plugin-configs/ci-management-plugin-with-ci-section-config.xml
index 3ec898e..b329f91 100644
--- a/src/test/resources/plugin-configs/ci-management-plugin-with-ci-section-config.xml
+++ b/src/test/resources/plugin-configs/ci-management-plugin-with-ci-section-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>ci management project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -48,4 +49,4 @@ under the License.
<system>TeamCity</system>
<url>https://example.com</url>
</ciManagement>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/dependency-convergence-plugin-config.xml b/src/test/resources/plugin-configs/dependency-convergence-plugin-config.xml
index 831f98e..e252f05 100644
--- a/src/test/resources/plugin-configs/dependency-convergence-plugin-config.xml
+++ b/src/test/resources/plugin-configs/dependency-convergence-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>dependency convergence project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -48,4 +49,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/dependency-management-plugin-config.xml b/src/test/resources/plugin-configs/dependency-management-plugin-config.xml
index 867689a..7630a65 100644
--- a/src/test/resources/plugin-configs/dependency-management-plugin-config.xml
+++ b/src/test/resources/plugin-configs/dependency-management-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>dependency management project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
diff --git a/src/test/resources/plugin-configs/index-plugin-config.xml b/src/test/resources/plugin-configs/index-plugin-config.xml
index 7827725..7cc0fc5 100644
--- a/src/test/resources/plugin-configs/index-plugin-config.xml
+++ b/src/test/resources/plugin-configs/index-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>index project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -44,4 +45,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/issue-management-plugin-config.xml b/src/test/resources/plugin-configs/issue-management-plugin-config.xml
index 889df8c..56c6f49 100644
--- a/src/test/resources/plugin-configs/issue-management-plugin-config.xml
+++ b/src/test/resources/plugin-configs/issue-management-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>issue management project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -48,4 +49,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/licenses-plugin-config-linkonly.xml b/src/test/resources/plugin-configs/licenses-plugin-config-linkonly.xml
index a6be1a9..62c3265 100644
--- a/src/test/resources/plugin-configs/licenses-plugin-config-linkonly.xml
+++ b/src/test/resources/plugin-configs/licenses-plugin-config-linkonly.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>licenses project info</name>
+ <url>http://maven.apache.org</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
@@ -54,4 +55,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/licenses-plugin-config.xml b/src/test/resources/plugin-configs/licenses-plugin-config.xml
index 88028d4..d03ba8e 100644
--- a/src/test/resources/plugin-configs/licenses-plugin-config.xml
+++ b/src/test/resources/plugin-configs/licenses-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>licenses project info</name>
+ <url>http://maven.apache.org</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
@@ -53,4 +54,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/mailing-lists-plugin-config-invalidlink.xml b/src/test/resources/plugin-configs/mailing-lists-plugin-config-invalidlink.xml
index 6f4cde9..3ed9413 100644
--- a/src/test/resources/plugin-configs/mailing-lists-plugin-config-invalidlink.xml
+++ b/src/test/resources/plugin-configs/mailing-lists-plugin-config-invalidlink.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>mailing lists project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
diff --git a/src/test/resources/plugin-configs/mailing-lists-plugin-config.xml b/src/test/resources/plugin-configs/mailing-lists-plugin-config.xml
index 2cd6e45..c35c710 100644
--- a/src/test/resources/plugin-configs/mailing-lists-plugin-config.xml
+++ b/src/test/resources/plugin-configs/mailing-lists-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>mailing lists project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
diff --git a/src/test/resources/plugin-configs/modules-plugin-config.xml b/src/test/resources/plugin-configs/modules-plugin-config.xml
index b78319e..1340a64 100644
--- a/src/test/resources/plugin-configs/modules-plugin-config.xml
+++ b/src/test/resources/plugin-configs/modules-plugin-config.xml
@@ -24,7 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>modules project info</name>
-
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -33,12 +33,10 @@ under the License.
<scope>test</scope>
</dependency>
</dependencies>
-
<modules>
<module>subproject1</module>
<module>subproject2</module>
</modules>
-
<build>
<plugins>
<plugin>
@@ -51,4 +49,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/modules-variable-settings-interpolated-plugin-config.xml b/src/test/resources/plugin-configs/modules-variable-settings-interpolated-plugin-config.xml
index 318521c..1560b78 100644
--- a/src/test/resources/plugin-configs/modules-variable-settings-interpolated-plugin-config.xml
+++ b/src/test/resources/plugin-configs/modules-variable-settings-interpolated-plugin-config.xml
@@ -24,7 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>modules project info</name>
-
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -33,11 +33,9 @@ under the License.
<scope>test</scope>
</dependency>
</dependencies>
-
<modules>
<module>subproject-site-url</module>
</modules>
-
<build>
<plugins>
<plugin>
@@ -51,12 +49,10 @@ under the License.
</plugin>
</plugins>
</build>
-
<distributionManagement>
<site>
<id>projectSite</id>
<url>${sitePublishLocation}/foo/${project.artifactId}</url>
</site>
</distributionManagement>
-
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/plugin-management-plugin-config-MPIR-375.xml b/src/test/resources/plugin-configs/plugin-management-plugin-config-MPIR-375.xml
index fc99bcd..114447a 100644
--- a/src/test/resources/plugin-configs/plugin-management-plugin-config-MPIR-375.xml
+++ b/src/test/resources/plugin-configs/plugin-management-plugin-config-MPIR-375.xml
@@ -24,11 +24,11 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>plugin management project info</name>
-
+ <url>http://maven.apache.org</url>
<build>
<pluginManagement>
<plugins>
- <!--This plugin's configuration is used to store Eclipse m2e settings only.
+ <!--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>
@@ -71,7 +71,7 @@ under the License.
<outputDirectory>target/test-harness/plugin-management</outputDirectory>
<localRepository>${localRepository}</localRepository>
<project implementation="org.apache.maven.report.projectinfo.stubs.PluginManagementMPIR375Stub"/>
-
+
<pluginManagementExcludes>
<pluginManagementExclude>org.eclipse.m2e:lifecycle-mapping</pluginManagementExclude>
</pluginManagementExcludes>
diff --git a/src/test/resources/plugin-configs/plugin-management-plugin-config.xml b/src/test/resources/plugin-configs/plugin-management-plugin-config.xml
index c06ed75..ac962fe 100644
--- a/src/test/resources/plugin-configs/plugin-management-plugin-config.xml
+++ b/src/test/resources/plugin-configs/plugin-management-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>plugin management project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -31,7 +32,6 @@ under the License.
<version>3.8.1</version>
</dependency>
</dependencies>
-
<build>
<pluginManagement>
<plugins>
diff --git a/src/test/resources/plugin-configs/scm-plugin-config.xml b/src/test/resources/plugin-configs/scm-plugin-config.xml
index cc4fa04..6f0cded 100644
--- a/src/test/resources/plugin-configs/scm-plugin-config.xml
+++ b/src/test/resources/plugin-configs/scm-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>scm project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -50,4 +51,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/scm-wrong-url-plugin-config.xml b/src/test/resources/plugin-configs/scm-wrong-url-plugin-config.xml
index ce9c1eb..ceaf5ae 100644
--- a/src/test/resources/plugin-configs/scm-wrong-url-plugin-config.xml
+++ b/src/test/resources/plugin-configs/scm-wrong-url-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>scm project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -45,4 +46,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/summary-plugin-config.xml b/src/test/resources/plugin-configs/summary-plugin-config.xml
index d47e9c8..e53e574 100644
--- a/src/test/resources/plugin-configs/summary-plugin-config.xml
+++ b/src/test/resources/plugin-configs/summary-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>summary project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -44,4 +45,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/resources/plugin-configs/team-plugin-config.xml b/src/test/resources/plugin-configs/team-plugin-config.xml
index f94a7b6..d6f2f89 100644
--- a/src/test/resources/plugin-configs/team-plugin-config.xml
+++ b/src/test/resources/plugin-configs/team-plugin-config.xml
@@ -24,6 +24,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>team project info</name>
+ <url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -61,4 +62,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>