Mark McKelvy created MNG-6669:
---------------------------------
Summary: Maven 3.6.1 + Tycho cannot resolve project dependencies
Key: MNG-6669
URL: https://issues.apache.org/jira/browse/MNG-6669
Project: Maven
Issue Type: Bug
Components: Artifacts and Repositories, General
Affects Versions: 3.6.1
Environment: Windows, CentOS
Reporter: Mark McKelvy
Attachments: org.jfree.jfreechart.zip
Building a project that uses the Tycho plug-in with Maven version 3.6.1 fails
because dependencies cannot be resolved.
Building the same project in Maven version 3.6.0 succeeds.
I've tested using 'mvn clean' as well as 'mvn install' with similar results.
{code:none}
10:31:21 [jem_libs-updates-3] $ mvn -f org.jfree.jfreechart/pom.xml install -P
packaging-eclipse
10:31:22 [INFO] Scanning for projects...
10:31:24 [INFO] Computing target platform for MavenProject:
org.jfree.jfreechart:org.jfree.jfreechart:1.5.0 @
/home/tomcat/jenkins/workspace/jem_libs-updates-3/org.jfree.jfreechart/pom.xml
10:31:24 [INFO] Resolving dependencies of MavenProject:
org.jfree.jfreechart:org.jfree.jfreechart:1.5.0 @
/home/tomcat/jenkins/workspace/jem_libs-updates-3/org.jfree.jfreechart/pom.xml
10:31:24 [INFO] {osgi.os=win32, osgi.ws=win32,
org.eclipse.update.install.features=true, osgi.arch=x86_64}
10:31:24 [ERROR] Cannot resolve project dependencies:
10:31:24 [ERROR] Software being installed: org.jfree.jfreechart 1.5.0
10:31:24 [ERROR] Missing requirement: org.jfree.jfreechart 1.5.0 requires
'bundle org.eclipse.swt 0.0.0' but it could not be found
10:31:24 [ERROR]
10:31:24 [ERROR] See
http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
10:31:24 [ERROR] Cannot resolve dependencies of MavenProject:
org.jfree.jfreechart:org.jfree.jfreechart:1.5.0 @
/home/tomcat/jenkins/workspace/jem_libs-updates-3/org.jfree.jfreechart/pom.xml:
See log for details -> [Help 1]
10:31:24 [ERROR]
10:31:24 [ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
10:31:24 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
10:31:24 [ERROR]
10:31:24 [ERROR] For more information about the errors and possible solutions,
please read the following articles:
10:31:24 [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
{code}
Please see the attached project.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)