release plugin without SCM

View: New views
3 Messages — Rating Filter:   Alert me  

release plugin without SCM

by Kallin Nagelberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there a way to use the release plugin without invoking the SCM
activities? (I'm using SVN)

The release plugin doesn't seem to be compatible with my project's branching
strategy for a number of reasons:

1) It seems to always want to release from the trunk. Sometimes we need to
release from branches.
2.) Releasing a non-module nested component doesn't work. Say I have a
project in myproject/reports, and I just want to release reports. I'm
getting the error 'myproject/tags/reports-1.0' doesn't exist.

I would be happy just using the deploy goal directly, but I can't because I
need to change the version of the project throughout multiple POMs.

Any ideas?

Re: release plugin without SCM

by Kallin Nagelberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Maybe I should clarify:


My project structure is like this:

myproject
+--module1
+--module2
+--nonmodule1

so the SVN path is something like http://svnserver/myproject/trunk.

I happen to be working on a branch now, so i checked out from
http://svnserver/myproject/branches/branch1.

How would I go about releasing nonmodule1 off my branch?

On Tue, Jul 8, 2008 at 11:57 AM, Kallin Nagelberg <
kallin.nagelberg@...> wrote:

> Is there a way to use the release plugin without invoking the SCM
> activities? (I'm using SVN)
>
> The release plugin doesn't seem to be compatible with my project's
> branching strategy for a number of reasons:
>
> 1) It seems to always want to release from the trunk. Sometimes we need to
> release from branches.
> 2.) Releasing a non-module nested component doesn't work. Say I have a
> project in myproject/reports, and I just want to release reports. I'm
> getting the error 'myproject/tags/reports-1.0' doesn't exist.
>
> I would be happy just using the deploy goal directly, but I can't because I
> need to change the version of the project throughout multiple POMs.
>
> Any ideas?
>

Re: release plugin without SCM

by TomHuybrechts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The plugin at https://svn.dev.java.net/svn/hudson/branches/tom/plugins/staging/maven-stagingrelease-plugin/
has a set-version goal, which you could use to create your own release
process.

On Tue, Jul 8, 2008 at 5:57 PM, Kallin Nagelberg
<kallin.nagelberg@...> wrote:

> Is there a way to use the release plugin without invoking the SCM
> activities? (I'm using SVN)
>
> The release plugin doesn't seem to be compatible with my project's branching
> strategy for a number of reasons:
>
> 1) It seems to always want to release from the trunk. Sometimes we need to
> release from branches.
> 2.) Releasing a non-module nested component doesn't work. Say I have a
> project in myproject/reports, and I just want to release reports. I'm
> getting the error 'myproject/tags/reports-1.0' doesn't exist.
>
> I would be happy just using the deploy goal directly, but I can't because I
> need to change the version of the project throughout multiple POMs.
>
> Any ideas?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

LightInTheBox - Buy quality products at wholesale price