Hi,

I am learning the gradle-jpi-plugin, and need some help.
I introduced a build.gradle file for the build-flow-dsl plugin.

If I do:


*git clone -b gradle https://github.com/jenkinsci/build-flow-plugin
<https://github.com/jenkinsci/build-flow-plugin>*

*cd build-flow-plugin*

*./gradlew build*
then the plugin successfully builds, but the tests fail with:

j
*ava.io.IOException: Could not resolve jgrapht-jdk1.5:0.7.3 in
....::/Users/crodrigues/.gradle/caches/modules-2/files-2.1/org.jgrapht/jgrapht-jdk1.5/0.7.3/54dc2b1b17b003b6fd62211946cb49acdc7d0364/jgrapht-jdk1.5-0.7.3.jar:...*

jgrapht-jdk1.5-0.7.3.jar  exists on my system in the gradle cache in the
path mentioned above, and it is a valid jar file.

I tried comparing the.hpl generated with mvn and gradle (see attahed
files), and I noticed that the
file generated with gradle looks different from the one generated with mvn.
Specifically, the gradle version uses *Plugin-Dependencies:* while the mvn
version does not.  Also, the mvn version adds jgraph-jdk1.5-0.7.3.jar to
*Libraries:* while the gradle version does not.

How can I fix this?
Thanks.

--
Craig

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3DrPVfjHLZkfK3GUsjMkc1VK%2BTudeuJyfT9zAn514VQGxTHtw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Manifest-Version: 1.0
Plugin-Class: com.cloudbees.plugins.flow.BuildFlowPlugin
Group-Id: com.cloudbees.plugins
Short-Name: build-flow-plugin
Long-Name: Build Flow plugin
Url: https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin
Compatible-Since-Version: 0.11
Plugin-Version: 0.20-SNAPSHOT (private-89a9037d-crodrigues)
Hudson-Version: 1.609.1
Jenkins-Version: 1.609.1
Plugin-Developers: Craig Rodrigues:rodrigc:
Libraries: /Users/crodrigues/build-flow-plugin/target/classes,/Users/c
 rodrigues/.m2/repository/org/jgrapht/jgrapht-jdk1.5/0.7.3/jgrapht-jdk
 1.5-0.7.3.jar
Resource-Path: /Users/crodrigues/build-flow-plugin/src/main/webapp

Manifest-Version: 1.0
Plugin-Dependencies: jgrapht-jdk1.5:0.7.3
Long-Name: Build Flow plugin
Group-Id: org.jenkins-ci.plugins
Resource-Path: /Users/crodrigues/3/build-flow-plugin/src/main/webapp
Libraries: /Users/crodrigues/3/build-flow-plugin/src/main/resources,/U
 sers/crodrigues/3/build-flow-plugin/build/classes/main,/Users/crodrig
 ues/3/build-flow-plugin/build/resources/main
Plugin-Version: 0.7-SNAPSHOT (private-05/16/2016 13:05-crodrigues)
Jenkins-Version: 1.609.1
Url: https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin
PluginFirstClassLoader: true
Short-Name: build-flow-plugin
Plugin-Developers: Craig Rodrigues:rodrigc:[email protected]
Extension-Name: build-flow-plugin
Plugin-Class: com.cloudbees.plugins.flow.BuildFlowPlugin

Reply via email to