You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2021/04/04 13:48:00 UTC
[jira] [Commented] (MNG-7137) maven core-its fails on empty repo
[ https://issues.apache.org/jira/browse/MNG-7137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314501#comment-17314501 ]
Slawomir Jaranowski commented on MNG-7137:
------------------------------------------
Probably we should resolve plugins dependency by {{maven-dependency-plugin:resolve-plugins}}
Move
{code}
<dependency>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>1.11.0</version>
</dependency>
{code}
from {{bootstrap/group-11/pom.xml}} to {{bootstrap/pom.xml}}
as
{code}
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>1.11.0</version>
</plugin>
{code}
resolve this issue.
Maybe another maven plugins from bootstrap/* should be moved from {{dependency}} to {{plugin}} tags and should be resolve by {{maven-dependency-plugin:resolve-plugins}}
> maven core-its fails on empty repo
> ----------------------------------
>
> Key: MNG-7137
> URL: https://issues.apache.org/jira/browse/MNG-7137
> Project: Maven
> Issue Type: Bug
> Components: Integration Tests
> Reporter: Slawomir Jaranowski
> Assignee: Maarten Mulders
> Priority: Major
>
> When we have fresh checkout of {{apache/maven-integration-testing}} and run test by
> {code:java}
> MAVENCODEBASE=../maven ./run-its.sh
> {code}
> test {{mng7045 DropUselessAndOutdatedCdiApi.ShouldNotLeakCdiApi()}}
> fail with:
> {code:java}
> [ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.11.0:execute (run) on project test: Execution run of goal org.codehaus.gmavenplus:gmavenplus-plugin:1.11.0:execute failed: Plugin org.codehaus.gmavenplus:gmavenplus-plugin:1.11.0 or one of its dependencies could not be resolved: Could not find artifact org.apache.ant:ant:jar:1.10.8 in central (file:target/null)
> {code}
>
> Probable cause is the commit: [https://github.com/apache/maven-integration-testing/commit/39a2071ffc68e6f2908609fc8deef54bb30f5f39]
> After it dependencies of {{org.codehaus.gmavenplus:gmavenplus-plugin}} is not resolved in proper way.
> org.apache.groovy:groovy-ant:4.0.0-alpha-2 has dependency to {{org.apache.ant:ant:jar:1.10.9}} and version of {{org.apache.ant:ant:jar:1.10.8}} is skipped.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)