You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2017/02/04 13:22:52 UTC

[jira] [Commented] (MNG-6166) mvn dependency:go-offline fails due to missing transitive dependency jdom:jdom:jar:1.1

    [ https://issues.apache.org/jira/browse/MNG-6166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852782#comment-15852782 ] 

Michael Osipov commented on MNG-6166:
-------------------------------------

You analysis is correct:

{code:none}
diff --git a/maven-core/src/test/resources-project-builder/foo/sub/pom.xml b/maven-core/src/test/resources-project-builder/foo/sub/pom.xml
index c5e3d9a..dc10bd1 100644
--- a/maven-core/src/test/resources-project-builder/foo/sub/pom.xml
+++ b/maven-core/src/test/resources-project-builder/foo/sub/pom.xml
@@ -25,10 +25,6 @@
       <artifactId>dom4j</artifactId>
     </dependency>
     <dependency>
-      <groupId>jdom</groupId>
-      <artifactId>jdom</artifactId>
-    </dependency>
-    <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-model</artifactId>
     </dependency>
diff --git a/pom.xml b/pom.xml
index 7d44da6..cfc5cb7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,7 +49,7 @@
     <commonsCliVersion>1.2</commonsCliVersion>
     <commonsLangVersion>3.4</commonsLangVersion>
     <junitVersion>4.11</junitVersion>
-    <plexusVersion>1.6</plexusVersion>
+    <plexusVersion>1.7.1</plexusVersion>
     <plexusInterpolationVersion>1.21</plexusInterpolationVersion>
     <plexusUtilsVersion>3.0.22</plexusUtilsVersion>
     <!-- Latest version of Guava that works with Sisu -->
{code}

> mvn dependency:go-offline fails due to missing transitive dependency jdom:jdom:jar:1.1
> --------------------------------------------------------------------------------------
>
>                 Key: MNG-6166
>                 URL: https://issues.apache.org/jira/browse/MNG-6166
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3.9
>            Reporter: Archimedes Trajano
>            Assignee: Michael Osipov
>             Fix For: 3.5.0
>
>
> When running mvn dependency:go-offline it reports that 
> Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:resolve-plugins (resolve-plugins) on project maven-artifact: Nested: Could not find artifact jdom:jdom:jar:1.1 in central (http://repo.maven.apache.org/maven2)
> It is likely in one of the external dependencies because I don't see it on the code base itself.
> https://travis-ci.org/trajano/maven/builds/198102606
> Just an FYI there is no jdom:jdom:jar:1.1 in central it is a POM project.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)