You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2020/07/12 13:39:00 UTC
[jira] [Comment Edited] (MSHARED-916) Require Maven 3+
[ https://issues.apache.org/jira/browse/MSHARED-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17156314#comment-17156314 ]
Elliotte Rusty Harold edited comment on MSHARED-916 at 7/12/20, 1:38 PM:
-------------------------------------------------------------------------
In 3.0 MavenProject.getArtifacts is sometimes returning an empty list. That is, it's not reporting the project's dependencies. That is, this is failing in DefaultProjectDependencyAnalyzerTest:
{{compileProject( "jarWithCompileDependency/pom.xml" );}}
{{ MavenProject project2 = getProject( "jarWithCompileDependency/project2/pom.xml" );}}
{{ assertFalse(project2.getArtifacts().isEmpty());}}
was (Author: elharo):
In 3.0 MavenProject.getArtifacts is sometimes returning an empty list. That is, it's not reporting the project's dependencies. That is, this is failing in DefaultProjectDependencyAnalyzerTest:
{{ compileProject( "jarWithCompileDependency/pom.xml" );
MavenProject project2 = getProject( "jarWithCompileDependency/project2/pom.xml" );
assertFalse(project2.getArtifacts().isEmpty());}}
> Require Maven 3+
> ----------------
>
> Key: MSHARED-916
> URL: https://issues.apache.org/jira/browse/MSHARED-916
> Project: Maven Shared Components
> Issue Type: Dependency upgrade
> Components: maven-dependency-analyzer
> Reporter: Sylwester Lachiewicz
> Assignee: Elliotte Rusty Harold
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)