Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6669

Tycho cannot resolve project dependencies

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.1
    • Fix Version/s: 3.6.2
    • Labels:
      None
    • Environment:
      Windows, CentOS

      Description

      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.

      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
      

      Please see the attached project.

        Attachments

        1. org.jfree.jfreechart.zip
          3 kB
          Mark McKelvy

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                mckelvym Mark McKelvy
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: