You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Oliver Heger <ol...@oliver-heger.de> on 2018/07/28 15:21:45 UTC

[RELEASE PLUGIN] Questions

Hi,

for the 2.3 release of [configuration] I am trying out the cool release
plugin.

Everything works fine, but I get a build failure when it adds the site
to SVN (see below). Do I have to prepare something in the dist area
before this can be done?

And another question: How can I generate such a nice release vote mail?

Thanks
Oliver

[INFO] --- commons-release-plugin:1.3:stage-distributions
(stage-distributions) @ commons-configuration2 ---
[INFO] Preparing to stage distributions
[INFO] Checking out dist from:
scm:svn:https://dist.apache.org/repos/dist/dev/commons/configuration
Executing: cmd.exe /X /C "svn --username oheger --no-auth-cache
--non-interactive checkout
https://dist.apache.org/repos/dist/dev/commons/configuration
C:\data\dev\projects\OpenSource\Apache\release\CONFIGURATION_2_3_RC1\target\commons-release-plugin\scm"
Working directory:
C:\data\dev\projects\OpenSource\Apache\release\CONFIGURATION_2_3_RC1\target\commons-release-plugin
[INFO] Copying RELEASE-NOTES.txt to working directory.
Executing: cmd.exe /X /C "svn add --parents --non-recursive --targets
C:\Users\hacker\AppData\Local\Temp\maven-scm-4650853585445408999-targets"
Working directory:
C:\data\dev\projects\OpenSource\Apache\release\CONFIGURATION_2_3_RC1\target\commons-release-plugin\scm
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 09:55 min
[INFO] Finished at: 2018-07-28T17:14:14+02:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.commons:commons-release-plugin:1.3:stage-distributions
(stage-distributions) on project commons-configuration2: Failed to add
files to scm -> [Help 1]

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


Re: [RELEASE PLUGIN] Questions

Posted by Oliver Heger <ol...@oliver-heger.de>.
Many thanks, this did the trick!

Oliver

Am 28.07.2018 um 20:29 schrieb Gary Gregory:
> - Make sure the dev dist folder is EMPTY before you start.
> - mvn -Dcommons.release-plugin.version=1.4-SNAPSHOT
> org.apache.commons:commons-release-plugin:1.4-SNAPSHOT:vote-txt
> 
> Gary
> 
> On Sat, Jul 28, 2018 at 9:21 AM Oliver Heger <ol...@oliver-heger.de>
> wrote:
> 
>> Hi,
>>
>> for the 2.3 release of [configuration] I am trying out the cool release
>> plugin.
>>
>> Everything works fine, but I get a build failure when it adds the site
>> to SVN (see below). Do I have to prepare something in the dist area
>> before this can be done?
>>
>> And another question: How can I generate such a nice release vote mail?
>>
>> Thanks
>> Oliver
>>
>> [INFO] --- commons-release-plugin:1.3:stage-distributions
>> (stage-distributions) @ commons-configuration2 ---
>> [INFO] Preparing to stage distributions
>> [INFO] Checking out dist from:
>> scm:svn:https://dist.apache.org/repos/dist/dev/commons/configuration
>> Executing: cmd.exe /X /C "svn --username oheger --no-auth-cache
>> --non-interactive checkout
>> https://dist.apache.org/repos/dist/dev/commons/configuration
>>
>> C:\data\dev\projects\OpenSource\Apache\release\CONFIGURATION_2_3_RC1\target\commons-release-plugin\scm"
>> Working directory:
>>
>> C:\data\dev\projects\OpenSource\Apache\release\CONFIGURATION_2_3_RC1\target\commons-release-plugin
>> [INFO] Copying RELEASE-NOTES.txt to working directory.
>> Executing: cmd.exe /X /C "svn add --parents --non-recursive --targets
>> C:\Users\hacker\AppData\Local\Temp\maven-scm-4650853585445408999-targets"
>> Working directory:
>>
>> C:\data\dev\projects\OpenSource\Apache\release\CONFIGURATION_2_3_RC1\target\commons-release-plugin\scm
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 09:55 min
>> [INFO] Finished at: 2018-07-28T17:14:14+02:00
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.commons:commons-release-plugin:1.3:stage-distributions
>> (stage-distributions) on project commons-configuration2: Failed to add
>> files to scm -> [Help 1]
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
> 

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


Re: [RELEASE PLUGIN] Questions

Posted by Gary Gregory <ga...@gmail.com>.
- Make sure the dev dist folder is EMPTY before you start.
- mvn -Dcommons.release-plugin.version=1.4-SNAPSHOT
org.apache.commons:commons-release-plugin:1.4-SNAPSHOT:vote-txt

Gary

On Sat, Jul 28, 2018 at 9:21 AM Oliver Heger <ol...@oliver-heger.de>
wrote:

> Hi,
>
> for the 2.3 release of [configuration] I am trying out the cool release
> plugin.
>
> Everything works fine, but I get a build failure when it adds the site
> to SVN (see below). Do I have to prepare something in the dist area
> before this can be done?
>
> And another question: How can I generate such a nice release vote mail?
>
> Thanks
> Oliver
>
> [INFO] --- commons-release-plugin:1.3:stage-distributions
> (stage-distributions) @ commons-configuration2 ---
> [INFO] Preparing to stage distributions
> [INFO] Checking out dist from:
> scm:svn:https://dist.apache.org/repos/dist/dev/commons/configuration
> Executing: cmd.exe /X /C "svn --username oheger --no-auth-cache
> --non-interactive checkout
> https://dist.apache.org/repos/dist/dev/commons/configuration
>
> C:\data\dev\projects\OpenSource\Apache\release\CONFIGURATION_2_3_RC1\target\commons-release-plugin\scm"
> Working directory:
>
> C:\data\dev\projects\OpenSource\Apache\release\CONFIGURATION_2_3_RC1\target\commons-release-plugin
> [INFO] Copying RELEASE-NOTES.txt to working directory.
> Executing: cmd.exe /X /C "svn add --parents --non-recursive --targets
> C:\Users\hacker\AppData\Local\Temp\maven-scm-4650853585445408999-targets"
> Working directory:
>
> C:\data\dev\projects\OpenSource\Apache\release\CONFIGURATION_2_3_RC1\target\commons-release-plugin\scm
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 09:55 min
> [INFO] Finished at: 2018-07-28T17:14:14+02:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.commons:commons-release-plugin:1.3:stage-distributions
> (stage-distributions) on project commons-configuration2: Failed to add
> files to scm -> [Help 1]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>