[RELEASE PLUGIN] Questions

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

[RELEASE PLUGIN] Questions

Oliver Heger-3
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [RELEASE PLUGIN] Questions

garydgregory
- 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 <[hidden email]>
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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [RELEASE PLUGIN] Questions

Oliver Heger-3
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 <[hidden email]>
> 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: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>

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