Hi all, I had similar problem when releasing biouno plug-ins. Even though it uses a custom update center and maven repository, the problem was similar; my releases were going to the snapshot repository [1].
I think the solution so far has been changing the release-plugin version. In my case I changed a configuration in my git repository as in [2]. Apparently git changed the status message, what caused the release plugin to interpret my release as a snapshot - in my case. What I did in my git repositories for Java projects was: `git config --add status.displayCommentPrefix true` Not sure if it is the same issue that is happening for some plugins, but worth a shot in case you don't want to change your maven settings. HTH, Bruno [1] http://jira.codehaus.org/browse/SCM-740 [2] http://ilikeorangutans.github.io/2014/04/29/maven-release-plugin-and-git-19 >________________________________ > From: Ulli Hafner <[email protected]> >To: [email protected] >Sent: Wednesday, May 28, 2014 12:44 PM >Subject: Re: Plugin release to wrong maven repo? > > > >Add this to the build section of your log: > > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-release-plugin</artifactId> > <version>2.5</version> > <dependencies> > <dependency> > <groupId>org.apache.maven.scm</groupId> > <artifactId>maven-scm-provider-gitexe</artifactId> > <version>1.9</version> > </dependency> > </dependencies> > </plugin> > > >PS: Please update the wiki if that works:-) > >Am 28.05.2014 um 11:49 schrieb Cees Bos <[email protected]>: > >Hi Ulli, >> >>Thanks for you quick response! >>Based on the referred mail thread it is not clear to me what to change to >>publish it is in the right way. I am not that familiar with maven. >> >>Is there something I need to change in my pom.xml of settings.xml? >>I am using maven 3.0.5. >> >>Regards, >>Cees >> >> >> >> >>On Wed, May 28, 2014 at 11:30 AM, Ulli Hafner <[email protected]> >>wrote: >> >>You also hit the maven snapshot bug, seems that the wiki note >>https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins needs to be more >>prominent… >>> >>> >>>See https://groups.google.com/forum/#!topic/jenkinsci-dev/qkmbl3HrYgk >>> >>> >>>Am 28.05.2014 um 10:51 schrieb Cees Bos <[email protected]>: >>> >>>Hi all, >>>> >>>>I followed the steps on >>>>https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins to release the >>>>send-stacktrace-to-eclipse-plugin. >>>> >>>>As mentioned on the wiki page I did check >>>>http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/ to see if the >>>>plugin is there, but it is not. >>>> >>>>This is what was published by the release process: >>>> >>>> >>>> >>>>[INFO] Uploaded: >>>>http://maven.jenkins-ci.org:8081/content/repositories/snapshots/org/jenkins-ci/plugins/send-stacktrace-to-eclipse-plugin/1.5-SNAPSHOT/send-stacktrace-to-eclipse-plugin-1.5-20140528.083705-1-javadoc.jar >>>> (37 KB at 22.1 KB/sec) >>>>[INFO] Uploading: >>>>http://maven.jenkins-ci.org:8081/content/repositories/snapshots/org/jenkins-ci/plugins/send-stacktrace-to-eclipse-plugin/1.5-SNAPSHOT/maven-metadata.xml >>>>[INFO] 2/2 KB >>>>[INFO] >>>>[INFO] Uploaded: >>>>http://maven.jenkins-ci.org:8081/content/repositories/snapshots/org/jenkins-ci/plugins/send-stacktrace-to-eclipse-plugin/1.5-SNAPSHOT/maven-metadata.xml >>>> (2 KB at 1.4 KB/sec) >>>> >>>> >>>>Maven build was successful. >>>> >>>> >>>>It looks like it did publish the content to a different maven repository. >>>> >>>> >>>> >>>>The POM of my plugin can be found here. >>>> >>>> >>>>Regards, >>>> >>>>Cees >>>> >>>> >>>>-- >>>>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]. >>>>For more options, visit https://groups.google.com/d/optout. >>>> >>> >> >> >> -- >>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]. >>For more options, visit https://groups.google.com/d/optout. >> > > > -- 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]. For more options, visit https://groups.google.com/d/optout.
