commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject Re: [All][RNG] Relase plugin failure
Date Mon, 03 Dec 2018 10:29:06 GMT
On Mon, 03 Dec 2018 11:08:38 +0100, Gilles wrote:
> Hi.
>
> Trying to release [RNG], the last step of the mvn "reactor" fails:
> ---CUT---
> Executing: /bin/sh -c cd
> 
> '/home/gilles/devel/java/apache/commons-rng/trunk/dist-archive/target/commons-release-plugin/scm'
> && 'svn' 'add' '--parents'
> '--non-recursive' '--targets' 
> '/tmp/maven-scm-16059116148158923750-targets'
> [INFO]
> 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Commons RNG ................................. SUCCESS
> [01:19 min]
> [INFO] Apache Commons RNG Client API ...................... SUCCESS
> [01:28 min]
> [INFO] Apache Commons RNG Core ............................ SUCCESS
> [01:43 min]
> [INFO] Apache Commons RNG Simple .......................... SUCCESS
> [01:37 min]
> [INFO] Apache Commons RNG Sampling ........................ SUCCESS
> [02:27 min]
> [INFO] Apache Commons RNG Examples ........................ SUCCESS [
> 9.483 s]
> [INFO] Stress test example ................................ SUCCESS
> [01:27 min]
> [INFO] Sampling example ................................... SUCCESS
> [01:27 min]
> [INFO] Quadrature example ................................. SUCCESS
> [01:25 min]
> [INFO] JMH Benchmark ...................................... SUCCESS
> [02:04 min]
> [INFO] JPMS Integration test .............................. SUCCESS [
> 7.812 s]
> [INFO] JPMS module example (library) ...................... SUCCESS
> [01:25 min]
> [INFO] JPMS module example (application) .................. SUCCESS
> [01:26 min]
> [INFO] Apache Commons RNG (full distribution) ............. FAILURE [
> 42.149 s]
> [INFO]
> 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> 
> ------------------------------------------------------------------------
> [INFO] Total time: 18:53 min
> [INFO] Finished at: 2018-12-03T10:44:20+01:00
> [INFO] Final Memory: 143M/479M
> [INFO]
> 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.commons:commons-release-plugin:1.3:stage-distributions
> (stage-distributions) on project commons-rng: Failed
> to add files to scm -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal
> org.apache.commons:commons-release-plugin:1.3:stage-distributions
> (stag
> e-distributions) on project commons-rng: Failed to add files to scm
> [...]
> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to
> add files to scm
>     at
> 
> org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojo.execute
> (CommonsDistributionStagingMojo.java:207)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> (DefaultBuildPluginManager.java:134)
> [...]
>
> Not much clue about what could be the root cause of the failure,
> and how to remedy it.
> Any ideas?

The exception message
---CUT---
Failed to add files to scm
---CUT---
seems to predate this change in "commons-release-plugin" code:

  commit 2543f323dca0aeecf023a11b3cab295871851ee9
  Author: Gary Gregory <garydgregory@gmail.com>
  Date:   Mon Jul 2 20:04:21 2018 -0400

Maybe this "Better error message" commit would have helped
figuring out what the problem is.
Is it OK to use a SNAPSHOT version of the plugin to perform
a release? If so, how to invoke it on the command line?


Thanks,
Gilles

>
> Regards,
> Gilles
>
>


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


Mime
View raw message