Problems releasing first version plugin

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems releasing first version plugin

smithgcovert
Hi everyone,

I'm trying to release my first plugin, and I'm having a problem with the release:perform task.  I'm not sure what's wrong -- but I have tried going through all of the notices on the wiki about what things to try.  My problem does not match any of the current items.

Here's the last bit of the log (BTW, I've been trying on Linux and Mac, with same results)

[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd /home/smithg/devel/workspaces/hudson/release/staf && svn --non-interactive commit --file /tmp/maven-scm-885843956.commit --targets /tmp/maven-scm-8681099343390809105-targets
[INFO] Working directory: /home/smithg/devel/workspaces/hudson/release/staf
[INFO] Tagging release with the label staf-0.1...
[INFO] Executing: /bin/sh -c cd /home/smithg/devel/workspaces/hudson/release/staf && svn --non-interactive copy --file /tmp/maven-scm-722879586.commit --revision 25602 https://svn.dev.java.net/svn/hudson/tags/staf-0.1 https://svn.dev.java.net/svn/hudson/tags/staf-0.1
[INFO] Working directory: /home/smithg/devel/workspaces/hudson/release/staf
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Path 'https://svn.dev.java.net/svn/hudson/tags/staf-0.1' does not exist in revision 25602


It looks like the commit for the pom.xml is working, but then the svn command to create the tag is failing.  

Any ideas?

Thanks much,
Greg
Reply | Threaded
Open this post in threaded view
|

Re: Problems releasing first version plugin

Ash Lux
Remove the scm section of the pom, commit, and try again. You should be good to go then.

Ash Lux

On Sat, Jan 9, 2010 at 18:52, smithgcovert <[hidden email]> wrote:

Hi everyone,

I'm trying to release my first plugin, and I'm having a problem with the
release:perform task.  I'm not sure what's wrong -- but I have tried going
through all of the notices on the wiki about what things to try.  My problem
does not match any of the current items.

Here's the last bit of the log (BTW, I've been trying on Linux and Mac, with
same results)

[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd
/home/smithg/devel/workspaces/hudson/release/staf && svn --non-interactive
commit --file /tmp/maven-scm-885843956.commit --targets
/tmp/maven-scm-8681099343390809105-targets
[INFO] Working directory: /home/smithg/devel/workspaces/hudson/release/staf
[INFO] Tagging release with the label staf-0.1...
[INFO] Executing: /bin/sh -c cd
/home/smithg/devel/workspaces/hudson/release/staf && svn --non-interactive
copy --file /tmp/maven-scm-722879586.commit --revision 25602
https://svn.dev.java.net/svn/hudson/tags/staf-0.1
https://svn.dev.java.net/svn/hudson/tags/staf-0.1
[INFO] Working directory: /home/smithg/devel/workspaces/hudson/release/staf
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Path 'https://svn.dev.java.net/svn/hudson/tags/staf-0.1' does not exist
in revision 25602


It looks like the commit for the pom.xml is working, but then the svn
command to create the tag is failing.

Any ideas?

Thanks much,
Greg

--
View this message in context: http://n4.nabble.com/Problems-releasing-first-version-plugin-tp1010516p1010516.html
Sent from the Hudson dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Problems releasing first version plugin

smithgcovert

Hi Ash,

Thanks!  That was it.  I had run into some of the problems with svn on Mac mentioned on the wiki, and somehow I guess I ended up with a committed semi-processed pom.xml.

Looks like the release:perform is working now.

Cheers,
Greg

Ash Lux wrote
Remove the scm section of the pom, commit, and try again. You should be good
to go then.

Ash Lux
Reply | Threaded
Open this post in threaded view
|

Re: Problems releasing first version plugin

Ash Lux
I'm glad to hear you got it working.

I haven't had any problems releasing on my Mac. I wonder what the problem is/was?

Only Mac-specific steps I see involve non-interactive, but I haven't been releasing non-interactively either. I don't know why, but I'm happy just hitting enter three times for the release verison/tag/next version input.

Ash Lux

On Sat, Jan 9, 2010 at 19:53, smithgcovert <[hidden email]> wrote:


Hi Ash,

Thanks!  That was it.  I had run into some of the problems with svn on Mac
mentioned on the wiki, and somehow I guess I ended up with a committed
semi-processed pom.xml.

Looks like the release:perform is working now.

Cheers,
Greg


Ash Lux wrote:
>
> Remove the scm section of the pom, commit, and try again. You should be
> good
> to go then.
>
> Ash Lux
>
>

--
View this message in context: http://n4.nabble.com/Problems-releasing-first-version-plugin-tp1010516p1010538.html
Sent from the Hudson dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]