There must be a bug in the assembly descriptors... Gary
On Sun, Jan 28, 2024 at 12:31 PM Gary Gregory <garydgreg...@gmail.com> wrote: > > Ah, I guess I can add do 'site' and 'deploy' at the same time: > > mvn -V -Ptest-deploy -Prelease -P japicmp -P jacoco site deploy > > to get: > > [INFO] --- assembly:3.6.0:single (binary) @ commons-vfs2-distribution --- > [INFO] Reading assembly descriptor: src/assembly/bin.xml > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary for Apache Commons VFS Project 2.10.0-SNAPSHOT: > [INFO] > [INFO] Apache Commons VFS Project ......................... SUCCESS [02:31 > min] > [INFO] Apache Commons VFS ................................. SUCCESS [08:21 > min] > [INFO] Apache Commons VFS Ant Tasks ....................... SUCCESS [ 34.096 > s] > [INFO] Apache Commons VFS HDFS ............................ SUCCESS [01:32 > min] > [INFO] Apache Commons VFS Jackrabbit 1 .................... SUCCESS [ 36.853 > s] > [INFO] Apache Commons VFS Jackrabbit 2 .................... SUCCESS [01:06 > min] > [INFO] Apache Commons VFS Examples ........................ SUCCESS [ 39.702 > s] > [INFO] Apache Commons VFS Distribution .................... FAILURE [ 13.174 > s] > [INFO] Apache Commons VFS Bill of Materials ............... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 15:36 min > [INFO] Finished at: 2024-01-28T17:29:01Z > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-assembly-plugin:3.6.0:single (binary) > on project commons-vfs2-distribution: Failed to create assembly: Error > adding file 'org.apache.commons:commons-vfs2:jar:sources:2.10.0-SNAPSHOT' > to archive: /Users/garydgregory/git/commons-vfs/commons-vfs2/target/classes > isn't a file. -> [Help 1] > [ERROR] > > ... > > Gary > > On Sun, Jan 28, 2024 at 10:15 AM Gary Gregory <garydgreg...@gmail.com> wrote: > > > > Hi All and Rob: > > > > To build a local test VFS release candidate, or any multi-module > > project, I normally do this: > > > > mvn -V -Ptest-deploy -Prelease clean install > > mvn -V -Ptest-deploy -Prelease -P japicmp -P jacoco site > > mvn -V -Ptest-deploy -Prelease deploy > > then more stuff but this 3rd step fails with: > > > > [INFO] --- commons-release:1.8.1:stage-distributions > > (stage-distributions) @ commons-vfs2-project --- > > [INFO] Preparing to stage distributions > > [INFO] Checking out dist from: > > scm:svn:https://dist.apache.org/repos/dist/dev/commons/vfs > > [INFO] Executing: /bin/sh -c cd > > '/Users/garydgregory/git/commons-vfs/target/commons-release-plugin' && > > 'svn' '--username' 'garydgregory' '--no-auth-cache' > > '--non-interactive' 'checkout' > > 'https://dist.apache.org/repos/dist/dev/commons/vfs@' > > '/Users/garydgregory/git/commons-vfs/target/commons-release-plugin/scm' > > [INFO] Copying RELEASE-NOTES.txt to working directory. > > [WARNING] configuration key 'resource.loader' has been deprecated in > > favor of 'resource.loaders' > > [WARNING] configuration key 'classpath.resource.loader.class' has been > > deprecated in favor of 'resource.loader.classpath.class' > > [WARNING] configuration key 'resource.loader' has been deprecated in > > favor of 'resource.loaders' > > [WARNING] configuration key 'classpath.resource.loader.class' has been > > deprecated in favor of 'resource.loader.classpath.class' > > [ERROR] "mvn site" was not run before this goal, or a siteDirectory > > did not exist. > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Reactor Summary for Apache Commons VFS Project 2.10.0-SNAPSHOT: > > [INFO] > > [INFO] Apache Commons VFS Project ......................... FAILURE [ > > 28.591 s] > > [INFO] Apache Commons VFS ................................. SKIPPED > > [INFO] Apache Commons VFS Ant Tasks ....................... SKIPPED > > [INFO] Apache Commons VFS HDFS ............................ SKIPPED > > [INFO] Apache Commons VFS Jackrabbit 1 .................... SKIPPED > > [INFO] Apache Commons VFS Jackrabbit 2 .................... SKIPPED > > [INFO] Apache Commons VFS Examples ........................ SKIPPED > > [INFO] Apache Commons VFS Distribution .................... SKIPPED > > [INFO] Apache Commons VFS Bill of Materials ............... SKIPPED > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 28.904 s > > [INFO] Finished at: 2024-01-28T15:14:19Z > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > > org.apache.commons:commons-release-plugin:1.8.1:stage-distributions > > (stage-distributions) on project commons-vfs2-project: "mvn site" was > > not run before this goal, or a siteDirectory did not exist. -> [Help > > 1] > > [ERROR] > > > > Any ideas? > > > > TY! > > Gary --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org