On Wed, 14 Dec 2022 at 00:49, Gilles Sadowski <gillese...@gmail.com> wrote:
>
> Hello.
>
> Next problem:
> $ JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 mvn -Duser.name=erans
> clean deploy -Prelease
> [...]
> [INFO] Reactor Summary for Apache Commons Math 4.0-beta1:
> [INFO]
> [INFO] Apache Commons Math ................................ SUCCESS [ 11.845 
> s]
> [INFO] Miscellaneous core classes ......................... SUCCESS [ 26.164 
> s]
> [INFO] Artificial neural networks ......................... SUCCESS [ 20.008 
> s]
> [INFO] Transforms ......................................... SUCCESS [ 17.360 
> s]
> [INFO] Exception classes (Legacy) ......................... SUCCESS [ 18.615 
> s]
> [INFO] Miscellaneous core classes (Legacy) ................ SUCCESS [ 29.017 
> s]
> [INFO] Apache Commons Math (Legacy) ....................... SUCCESS [01:54 
> min]
> [INFO] Example applications ............................... SUCCESS [  4.542 
> s]
> [INFO] SOFM ............................................... SUCCESS [  4.651 
> s]
> [INFO] SOFM: Chinese Rings ................................ SUCCESS [ 18.144 
> s]
> [INFO] SOFM: Traveling Salesman Problem ................... SUCCESS [ 15.359 
> s]
> [INFO] K-Means ............................................ SUCCESS [  4.529 
> s]
> [INFO] K-Means: Image Clustering .......................... SUCCESS [ 16.085 
> s]
> [INFO] Apache Commons Math (full distribution) ............ FAILURE [  1.303 
> s]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  05:02 min
> [INFO] Finished at: 2022-12-13T18:47:14+01:00
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.commons:commons-release-plugin:1.8.0:clean-staging
> (clean-staging) on project commons-math: Failed to commit files: null
> [null]
> [...]
>
> I could see on the console that files are being uploaded to Nexus.
> But no trace there.[1]

This seems to be where the plugin tries to remove any old staged files
from the dev area. I've just checked and this directory does exist:

svn co https://dist.apache.org/repos/dist/dev/commons/math

If it is missing I think you get a different error. It was missing for
statistics.

When I run the release goal I add this [-Duser.password=<yourApacheIdsPassword]

I found that my system does not cache my svn credentials. From the
statistics release guide:

"The apache ID password is required to clean and deploy the binary distribution
files to svn if the svn client is not configured to locally cache the user
password."

You could restart from the failed module and run with -X to get more
info on the point it fails

mvn [release goals] -rf :commons-math -Duser.password=<yourApacheIdsPassword> -X

Alex

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

Reply via email to