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 2018/04/30 21:52:24 UTC
[maven-project-info-reports-plugin] branch MPIR-362 created (now
49d6734)
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a change to branch MPIR-362
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git.
at 49d6734 [MPIR-362] Dependency Management report doesn't exclude system scoped dependencies
This branch includes the following new commits:
new 49d6734 [MPIR-362] Dependency Management report doesn't exclude system scoped dependencies
The 1 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.
--
To stop receiving notification emails like this one, please contact
michaelo@apache.org.
[maven-project-info-reports-plugin] 01/01: [MPIR-362] Dependency
Management report doesn't exclude system scoped dependencies
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch MPIR-362
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git
commit 49d6734bb1d50cb3d43f901e9344e33fc96b5fcd
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon Apr 30 23:50:18 2018 +0200
[MPIR-362] Dependency Management report doesn't exclude system scoped dependencies
The upstream information about the scope never arrives at the DependencyManagementRenderer.
Pass this information and the report is rendered correctly.
---
.../dependencies/renderer/DependencyManagementRenderer.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependencyManagementRenderer.java b/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependencyManagementRenderer.java
index eb6f83e..c11f6d8 100644
--- a/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependencyManagementRenderer.java
+++ b/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependencyManagementRenderer.java
@@ -212,8 +212,8 @@ public class DependencyManagementRenderer
private String[] getDependencyRow( Dependency dependency, boolean hasClassifier )
{
Artifact artifact =
- repositorySystem.createProjectArtifact( dependency.getGroupId(), dependency.getArtifactId(),
- dependency.getVersion() );
+ repositorySystem.createArtifact( dependency.getGroupId(), dependency.getArtifactId(),
+ dependency.getVersion(), dependency.getScope(), dependency.getType() );
StringBuilder licensesBuffer = new StringBuilder();
String url = null;
--
To stop receiving notification emails like this one, please contact
michaelo@apache.org.