Hello, 
I tried to follow the instructions for debugging Jenkins plugins given here. 
https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial#Plugintutorial-DebuggingaPlugin

I cloned the Git repo for JUnit (and later Maven) Jenkins plugin, starting
the Jenkins from cloned repository with mvnDebug hpi:run command (Maven
3.3.3, JDK 1.8.0_74). 

https://github.com/jenkinsci/junit-plugin
https://github.com/jenkinsci/maven-plugin

Jenkins eventually starts but there's an issue with plugins cycle
dependency, so the plugin that I wish to debug is always disabled: 

INFO: Started initialization 
B?e 11, 2016 10:29:43 DOP. hudson.PluginManager$1$3$1 isDuplicate 
INFO: Ignoring E:\git\junit-plugin\.\work\plugins\junit.jpi because
E:\git\junit-plugin\.\work\plugins\junit.hpl is already loaded 
B?e 11, 2016 10:29:44 DOP. hudson.PluginManager$1$3$2$1 reactOnCycle 
SEVERE: found cycle in plugin dependencies: (root=Plugin:junit, deactivating
all involved) Plugin:junit -> Plugin:matrix-project -> Plugin:junit 

Similarly for Maven plugin (when starting the debuggin from Maven Jenkins
plugin cloned repository): 

INFO: Started initialization 
B?e 11, 2016 10:40:13 DOP. hudson.PluginManager$1$3$1 isDuplicate 
INFO: Ignoring E:\git\maven-plugin\.\work\plugins\maven-plugin.jpi because
E:\git\maven-plugin\.\work\plugins\maven-plugin.hpl is already loaded 
B?e 11, 2016 10:40:13 DOP. hudson.PluginManager$1$3$2$1 reactOnCycle 
SEVERE: found cycle in plugin dependencies: (root=Plugin:maven-plugin,
deactivating all involved) Plugin:maven-plugin -> Plugin:promoted-builds ->
Plugin:maven- 
plugin 

I was not able to find some solution online, could I ask you kindly for a
help here in this forum? 

Thank you, 
Jan Pridal 



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Debugging-Maven-JUnit-Plugins-Issue-Cycle-Dependency-tp4799641.html
Sent from the Jenkins dev mailing list archive at Nabble.com.

-- 
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/1458045636788-4799641.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to