Re: [maven-scm-api] Looking to perform svn remote move

2018-05-19 Thread Gary Gregory
On Fri, May 18, 2018 at 8:00 PM, Hervé BOUTEMY 
wrote:

> Le vendredi 18 mai 2018, 22:36:20 CEST Rob Tompkins a écrit :
> > > On May 18, 2018, at 3:30 PM, Michael Osipov 
> wrote:
> > >
> > > Am 2018-05-17 um 15:12 schrieb Rob Tompkins:
> > > > Hello maven guys,
> > > >
> > > > Over on commons we’ve been writing our own release-plugin
> > >
> > > What is wrong with the current Maven Release Plugin and why are you
> > > writing your own whereas we could improve the current one, can't we?
> > We are trying to fit the Apache release paradigm where we are dealing
> with
> > assemblies that we don’t want to deliver to Nexus. Further we are
> > publishing the site up to our dev dist area for comparison with RC
> > validation. We could contribute it back to the release plugin, but I’m
> not
> > sure if it’s sufficiently general. Thoughts?
>
> IIUC, the "release plugin" from Commons provides 3 mojos to prepare 3
> assemblies: it does not replace "release plugin" from Maven, which
> modifies
> pom.xml to switch from -SNAPSHOT to release version then to next SNAPSHOT
>
> How is Commons release plugin used during a Commons release vs Maven
> release
> plugin?


Please see "Create the Release Candidate with the Commons Release Plugin."
here: https://commons.apache.org/releases/prepare.html

Before our plugin, you had to follow "Create the Release Candidate
Manually" (same page).

I'm not sure what is done under the covers WRT the Maven release plugin.

Do Commons use "mvn release:prepare" then "mvn release:perform", and
> the build in the release profile runs the 3 mojos to get the 3 assemblies?
>
> Because what I see in this Commons release plugin look like custom steps
> to
> add to Maven release plugin, in addition to currently provided ones: as
> Robert
> wrote, there is a WIP in Maven release plugin to document how to add new
> steps. The Maven release plugin is already organized in steps, to be
> flexible,
> but just has not documented how to add new steps.
>

It would be great to iterate with the Maven team so that we can make
releasing Commons component easier. It's a giant pain ATM IMO. Creating a
release candidate [1] is "easy" compared to what has to happens after a
successful VOTE [2]. It should be easier instead of 50 steps.

Gary

[1] https://commons.apache.org/releases/prepare.html
[2] http://commons.apache.org/releases/release.html


>
> Regards,
>
> Hervé
>
> >
> > -Rob
> >
> > > Michael
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
>
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: [maven-scm-api] Looking to perform svn remote move

2018-05-18 Thread Hervé BOUTEMY
Le vendredi 18 mai 2018, 22:36:20 CEST Rob Tompkins a écrit :
> > On May 18, 2018, at 3:30 PM, Michael Osipov  wrote:
> > 
> > Am 2018-05-17 um 15:12 schrieb Rob Tompkins:
> > > Hello maven guys,
> > > 
> > > Over on commons we’ve been writing our own release-plugin
> > 
> > What is wrong with the current Maven Release Plugin and why are you
> > writing your own whereas we could improve the current one, can't we?
> We are trying to fit the Apache release paradigm where we are dealing with
> assemblies that we don’t want to deliver to Nexus. Further we are
> publishing the site up to our dev dist area for comparison with RC
> validation. We could contribute it back to the release plugin, but I’m not
> sure if it’s sufficiently general. Thoughts?

IIUC, the "release plugin" from Commons provides 3 mojos to prepare 3 
assemblies: it does not replace "release plugin" from Maven, which modifies 
pom.xml to switch from -SNAPSHOT to release version then to next SNAPSHOT

How is Commons release plugin used during a Commons release vs Maven release 
plugin? Do Commons use "mvn release:prepare" then "mvn release:perform", and 
the build in the release profile runs the 3 mojos to get the 3 assemblies?

Because what I see in this Commons release plugin look like custom steps to 
add to Maven release plugin, in addition to currently provided ones: as Robert 
wrote, there is a WIP in Maven release plugin to document how to add new 
steps. The Maven release plugin is already organized in steps, to be flexible, 
but just has not documented how to add new steps.

Regards,

Hervé

> 
> -Rob
> 
> > Michael
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org





-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [maven-scm-api] Looking to perform svn remote move

2018-05-18 Thread Gary Gregory
On Fri, May 18, 2018 at 2:36 PM, Rob Tompkins  wrote:

>
>
> > On May 18, 2018, at 3:30 PM, Michael Osipov  wrote:
> >
> > Am 2018-05-17 um 15:12 schrieb Rob Tompkins:
> > > Hello maven guys,
> > >
> > > Over on commons we’ve been writing our own release-plugin
> >
> > What is wrong with the current Maven Release Plugin and why are you
> writing your own whereas we could improve the current one, can't we?
> >
>
> We are trying to fit the Apache release paradigm where we are dealing with
> assemblies that we don’t want to deliver to Nexus. Further we are
> publishing the site up to our dev dist area for comparison with RC
> validation. We could contribute it back to the release plugin, but I’m not
> sure if it’s sufficiently general. Thoughts?
>

We are also committing the RC files and site to the SVN dist repo.

Gary


> -Rob
>
> > Michael
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: [maven-scm-api] Looking to perform svn remote move

2018-05-18 Thread Rob Tompkins


> On May 18, 2018, at 3:30 PM, Michael Osipov  wrote:
> 
> Am 2018-05-17 um 15:12 schrieb Rob Tompkins:
> > Hello maven guys,
> >
> > Over on commons we’ve been writing our own release-plugin
> 
> What is wrong with the current Maven Release Plugin and why are you writing 
> your own whereas we could improve the current one, can't we?
> 

We are trying to fit the Apache release paradigm where we are dealing with 
assemblies that we don’t want to deliver to Nexus. Further we are publishing 
the site up to our dev dist area for comparison with RC validation. We could 
contribute it back to the release plugin, but I’m not sure if it’s sufficiently 
general. Thoughts?

-Rob

> Michael
> 

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [maven-scm-api] Looking to perform svn remote move

2018-05-18 Thread Gary Gregory
On Fri, May 18, 2018 at 1:30 PM, Michael Osipov  wrote:

> Am 2018-05-17 um 15:12 schrieb Rob Tompkins:
> > Hello maven guys,
> >
> > Over on commons we’ve been writing our own release-plugin
>
> What is wrong with the current Maven Release Plugin and why are you
> writing your own whereas we could improve the current one, can't we?
>

FTR: https://commons.apache.org/proper/commons-release-plugin/index.html

Gary


>
> Michael
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: [maven-scm-api] Looking to perform svn remote move

2018-05-18 Thread Michael Osipov

Am 2018-05-17 um 15:12 schrieb Rob Tompkins:
> Hello maven guys,
>
> Over on commons we’ve been writing our own release-plugin

What is wrong with the current Maven Release Plugin and why are you 
writing your own whereas we could improve the current one, can't we?


Michael


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [maven-scm-api] Looking to perform svn remote move

2018-05-17 Thread Gary Gregory
Could we also just do an Ant Mojo that executes SVN's svnmucc directly?

Gary

On Thu, May 17, 2018 at 7:12 AM, Rob Tompkins  wrote:

> Hello maven guys,
>
> Over on commons we’ve been writing our own release-plugin, and have the
> idea to do the release promotion using a mojo. The goal here would be do do
> something analogous to svn mv  . Is that available in the
> [maven-scm-api]? At first read it doesn’t look like it. Would you instead
> just use the local file system?j Curious what your thoughts are on the
> matter.
>
> Many thanks and all the best,
> -Rob
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>