jenkinsci / scm-sync-configuration-plugin

Jenkins scm-sync-configuration plugin
https://plugins.jenkins.io/scm-sync-configuration/
MIT License
115 stars 123 forks source link

plugin won't build for jenkins 1.463 #5

Closed therewillbeblood closed 12 years ago

therewillbeblood commented 12 years ago

hi,

i checked out the lates commit d59c49ce1b66089c67b8d2b651f72184f032af6b on master. Building from scratch works well. However, changing jenkins plugin version in the pom.xml file from:

-    1.409
+    1.463

Cause the plugin not to build anymore:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: Exception thrown while constructing Processor object: com/google/common/collect/Multimap
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.884s
[INFO] Finished at: Thu May 10 16:22:39 CEST 2012
[INFO] Final Memory: 27M/1450M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project scm-sync-configuration: Compilation failure
[ERROR] error: Exception thrown while constructing Processor object: com/google/common/collect/Multimap
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project scm-sync-configuration: Compilation failure
error: Exception thrown while constructing Processor object: com/google/common/collect/Multimap

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
error: Exception thrown while constructing Processor object: com/google/common/collect/Multimap

        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[Linux]

is this aknown issue?

thanks

fcamblor commented 12 years ago

Hi Florent,

Frankly, I won't try to test my plugin against every weekly releases of jenkins (I however started the plugin compatibility tester (https://wiki.jenkins-ci.org/display/JENKINS/Plugin+Compatibility+Tester) for this purpose) : this would represent much of a burden !

Moreover, to help you a bit, I heard here and there that the jenkins version you're testing against is not the more stable the jenkins team has released (see https://twitter.com/#!/aheritier/status/200341196479016960) Could you try with 1.461 ? In all cases, I assume it works in latest LTS (1.447.1) : I'm using the plugin right now on this version :-)

therewillbeblood commented 12 years ago

Hi Frédéric,

i understand your POV, and the plugin compatibilty tester is a great idea.

I used 1.463 because there are some bug fixes in that release that i needed. FYI, the plugin won't build with 1.461 either (same error as 1.463), but you are right, 1.447 builds fine.

Thanks, Florent

fcamblor commented 12 years ago

Thanks for your feedback though.

I'll keep an eye on future releases (particularly 1.464 which would maybe fix the java 1.5 problems) in order to see if this is only a temporary glitch in jenkins core or if there is really an incompatibility starting from a given core version.