Hello, This plugin has been build (as I can see in the sources) with a very old hudson version 1.301. The current Jenkins version 1.399 is not anymore backward compatible with. IMHO the best is to modify Jenkins and the current MavenRedeployer to prevent deploying SNAPSHOT (this should off by default for backward compatibility). So you can probably add a jira entry [1]. I'm pretty sure you will find people to help :-)
Thanks, -- Olivier Lamy http://twitter.com/olamy http://www.linkedin.com/in/olamy [1] http://issues.jenkins-ci.org/ 2011/3/4 Marshall Schor <[email protected]>: > After this plugin (https://issues.apache.org/jira/browse/INFRA-3484) was > installed and this issue closed, I checked the new box that causes this new > plugin to be used, and got an error on the next build. > > I went to the job configure screen to "uncheck" the box, and the screen is now > missing the lower parts, including this box... So I can't uncheck it... > > Can someone take a look? > > Here's the details: > > 1) The error: https://hudson.apache.org/hudson/job/UIMA-AS/39/console > > ... the new plugin is being run, but seems to be missing a library ? Here's > the > relevant snippet: > > java.lang.RuntimeException: java.lang.NoSuchMethodError: > hudson.maven.reporters.MavenArtifact.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V > at > fr.idm.hudson.plugins.MavenSnapshotArtifactDeployer.postBuild(MavenSnapshotArtifactDeployer.java:67) > at > hudson.maven.Maven3Builder$MavenExecutionListener.reccordProjectSucceeded(Maven3Builder.java:417) > > > 2) The Job configuration that is being "truncated" in the GUI: > > UIMA-AS https://hudson.apache.org/hudson/job/UIMA-AS/configure > > Is there a workaround for editing the configuration, to turn off using this > new > (and not yet quite working) plugin? > > -Marshall Schor > > > > > On 3/2/2011 11:34 AM, Marshall Schor wrote: >> >> On 3/2/2011 9:04 AM, Niklas Gustavsson wrote: >>> On Wed, Mar 2, 2011 at 2:32 PM, Scott O'Bryan <[email protected]> wrote: >>>> You might be right about he "safety" issue but trying to enforce this >>>> all the time across all projects is not real feasible. I don't think >>>> the plugin would hurt in either case and it prevents releases from >>>> getting accidentally uploaded to the snapshot repository. >>> I don't see any problem with installing the plugin. Could you open a >>> JIRA issue in the INFRA project, Hudson component and I'll take care >>> of it. >>> >> OK, thanks, added https://issues.apache.org/jira/browse/INFRA-3484 >> >> -Marshall >>> /niklas >>> >>> >> >
