Am 2019-08-24 um 21:41 schrieb Gabriel Belingueres:
Hi:
Regarding MPIR-375, I noted that the merge of the PR into master branch was
done *before* I made changes using PatternExcludesArtifactFilter based on
the reviews.
See https://github.com/apache/maven-project-info-reports-plugin/pull/7.
The commit in master is:
https://github.com/apache/maven-project-info-reports-plugin/commit/82f4bf23b79fe87d2e414c70ab2058e8f1b4146b
The patch should work anyway so I decided to test it with the
maven-shared-utils library.
I added this to the pom.xml file (in addition to adding the staged-releases
profile to settings.xml with the staged repo):
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<pluginManagementExcludes>
<pluginManagementExclude>org.eclipse.m2e</pluginManagementExclude>
</pluginManagementExcludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
With version 3.0.1, running 'mvn -V -Pstaged-releases clean site >
3.0.1.log' throws an exception. (see 3.0.1.log attached file)
However, when building 3.0.2-SNAPSHOT and installing in the local repo
(please see that in git repo there are no new commits after the 3.0.1
release), changing the version to 3.0.2-SNAPSHOT works as expected:
mvn -V -Pstaged-releases clean site > 3.0.2-SNAPSHOT.log
Does anyone else is having this problem? Or am I doing something wrong?
I cannot confirm:
$ mvn -V -Pstaged-releases clean site
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T20:33:14+02:00)
Maven home: D:\Entwicklung\Programme\apache-maven-3.5.4
Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk1.8.0_192\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
[INFO] Scanning for projects...
[INFO]
[INFO] -------------< org.apache.maven.shared:maven-shared-utils >-------------
[INFO] Building Apache Maven Shared Utils 3.2.2-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ maven-shared-utils
---
[INFO] Deleting D:\Entwicklung\Projekte\maven-shared-utils\target
[INFO]
[INFO] --- maven-site-plugin:3.7.1:site (default-site) @ maven-shared-utils ---
[INFO] configuring report plugin
org.apache.maven.plugins:maven-project-info-reports-plugin:3.0.1
[INFO] 15 reports configured for maven-project-info-reports-plugin:3.0.1:
index, summary, dependency-info, modules, team, scm, issue-management,
mailing-lists, dependency-management, dependencies, dependency-convergence,
ci-management, plugin-management, plugins, distribution-management
[INFO] Rendering site with default locale English (en)
[INFO] Relativizing decoration links with respect to localized project URL:
https://maven.apache.org/shared/maven-shared-utils/
[INFO] Rendering content with org.apache.maven.skins:maven-fluido-skin:jar:1.7
skin.
[INFO] Skipped "About" report (maven-project-info-reports-plugin:3.0.1:index), file
"index.html" already exists.
[INFO] Rendering 2 Doxia documents: 1 apt, 1 xdoc
[INFO] Generating "Summary" report ---
maven-project-info-reports-plugin:3.0.1:summary
[INFO] Generating "Dependency Information" report ---
maven-project-info-reports-plugin:3.0.1:dependency-info
[INFO] Generating "Team" report ---
maven-project-info-reports-plugin:3.0.1:team
[INFO] Generating "Source Code Management" report ---
maven-project-info-reports-plugin:3.0.1:scm
[INFO] Generating "Issue Management" report ---
maven-project-info-reports-plugin:3.0.1:issue-management
[INFO] Generating "Mailing Lists" report ---
maven-project-info-reports-plugin:3.0.1:mailing-lists
[INFO] Generating "Dependency Management" report ---
maven-project-info-reports-plugin:3.0.1:dependency-management
[INFO] Generating "Dependencies" report ---
maven-project-info-reports-plugin:3.0.1:dependencies
[INFO] Generating "Dependency Convergence" report ---
maven-project-info-reports-plugin:3.0.1:dependency-convergence
[INFO] Generating "CI Management" report ---
maven-project-info-reports-plugin:3.0.1:ci-management
[INFO] Generating "Plugin Management" report ---
maven-project-info-reports-plugin:3.0.1:plugin-management
[INFO] Generating "Plugins" report ---
maven-project-info-reports-plugin:3.0.1:plugins
[INFO] Generating "Distribution Management" report ---
maven-project-info-reports-plugin:3.0.1:distribution-management
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.428 s
[INFO] Finished at: 2019-08-25T17:12:40+02:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "staged-releases" could not be activated
because it does not exist.
with this patch:
$ git diff
diff --git a/pom.xml b/pom.xml
index 01763d98f..f3b4d7882 100644
--- a/pom.xml
+++ b/pom.xml
@@ -154,5 +154,21 @@
</plugin>
</plugins>
</build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>3.0.1</version>
+ <configuration>
+ <pluginManagementExcludes>
+
+<pluginManagementExclude>org.eclipse.m2e</pluginManagementExclude>
+ </pluginManagementExcludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org