Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
3.0.0-M6
-
None
-
None
-
None
-
GitHub action
Description
My project uses the nonstandard location of pom.xml:
inside pom folder
e.g.
pom/pom.xml module/pom.xml
instead of
pom.xml module/pom.xml
Version 3.0.0-M6 fails to build it
[INFO] Executing: /bin/sh -c cd '/home/runner/work/gwt-time-apt/gwt-time-apt' && 'git' 'commit' '--verbose' '-F' '/tmp/maven-scm-1301126221.commit' 2985[INFO] Working directory: /home/runner/work/gwt-time-apt/gwt-time-apt 2986[INFO] 17/17 prepare:end-release 2987[INFO] Release preparation complete. 2988[INFO] 2989[INFO] --- maven-release-plugin:3.0.0-M6:perform (default-cli) @ org.jresearch.gwt.time.apt.pom --- 2990[INFO] starting perform goal, composed of 3 phases: verify-completed-prepare-phases, checkout-project-from-scm, run-perform-goals 2991[INFO] 1/3 perform:verify-completed-prepare-phases 2992[INFO] 2/3 perform:checkout-project-from-scm 2993[INFO] Performing a LOCAL checkout from scm:git:file:///home/runner/work/gwt-time-apt/gwt-time-apt 2994[INFO] Checking out the project to perform the release ... 2995[INFO] Executing: /bin/sh -c cd '/home/runner/work/gwt-time-apt/gwt-time-apt/pom/target' && 'git' 'clone' '--depth' '1' '--branch' 'v2.0.9' 'file:///home/runner/work/gwt-time-apt/gwt-time-apt' 'checkout' 2996[INFO] Working directory: /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target 2997[INFO] Executing: /bin/sh -c cd '/tmp' && 'git' 'ls-remote' 'file:///home/runner/work/gwt-time-apt/gwt-time-apt' 2998[INFO] Working directory: /tmp 2999[INFO] Executing: /bin/sh -c cd '/home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout' && 'git' 'fetch' 'file:///home/runner/work/gwt-time-apt/gwt-time-apt' 3000[INFO] Working directory: /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout 3001[INFO] Executing: /bin/sh -c cd '/home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout' && 'git' 'checkout' 'v2.0.9' 3002[INFO] Working directory: /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout 3003[INFO] Executing: /bin/sh -c cd '/home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout' && 'git' 'ls-files' 3004[INFO] Working directory: /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout 3005[INFO] 3/3 perform:run-perform-goals 3006[INFO] Executing goals 'deploy'... 3007Error: POM file pom/pom.xml specified with the -f/--file command line argument does not exist 3008[INFO] [INFO] Scanning for projects... 3009Error: [ERROR] Some problems were encountered while processing the POMs: 3010[INFO] [FATAL] Non-readable POM /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout/pom/pom/pom.xml: /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout/pom/pom/pom.xml (No such file or directory) @ 3011[INFO] @ 3012Error: [ERROR] The build could not read 1 project -> [Help 1] 3013Error: [ERROR] 3014Error: [ERROR] The project (/home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout/pom/pom/pom.xml) has 1 error 3015Error: [ERROR] Non-readable POM /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout/pom/pom/pom.xml: /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout/pom/pom/pom.xml (No such file or directory) 3016Error: [ERROR] 3017Error: [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 3018Error: [ERROR] Re-run Maven using the -X switch to enable full debug logging. 3019Error: [ERROR] 3020Error: [ERROR] For more information about the errors and possible solutions, please read the following articles: 3021Error: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException 3022[INFO] ------------------------------------------------------------------------ 3023[INFO] Reactor Summary for JRESEARCH-COMMONS: GWT time APT POM 2.0.9-SNAPSHOT: 3024[INFO] 3025[INFO] JRESEARCH-COMMONS: GWT time APT POM ................ FAILURE [01:00 min] 3026[INFO] JRESEARCH-COMMONS: GWT time support APT annotations SKIPPED 3027[INFO] JRESEARCH-COMMONS: GWT time support APT processor .. SKIPPED 3028[INFO] ------------------------------------------------------------------------ 3029[INFO] BUILD FAILURE 3030[INFO] ------------------------------------------------------------------------ 3031[INFO] Total time: 01:02 min 3032[INFO] Finished at: 2022-09-24T14:24:13Z 3033[INFO] ------------------------------------------------------------------------
but version 3.0.0-M5 works correctly
[INFO] --- maven-release-plugin:3.0.0-M5:perform (default-cli) @ org.jresearch.gwt.time.apt.pom --- 3048[INFO] phase verify-release-configuration 3049[INFO] starting perform goal, composed of 3 phases: verify-completed-prepare-phases, checkout-project-from-scm, run-perform-goals 3050[INFO] [perform] 1/3 verify-completed-prepare-phases 3051[INFO] [perform] 2/3 checkout-project-from-scm 3052[INFO] Performing a LOCAL checkout from scm:git:file:///home/runner/work/gwt-time-apt/gwt-time-apt 3053[INFO] Checking out the project to perform the release ... 3054[INFO] Executing: /bin/sh -c cd '/home/runner/work/gwt-time-apt/gwt-time-apt/pom/target' && 'git' 'clone' '--depth' '1' '--branch' 'v2.0.8' 'file:///home/runner/work/gwt-time-apt/gwt-time-apt' 'checkout' 3055[INFO] Working directory: /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target 3056[INFO] Executing: /bin/sh -c cd '/tmp' && 'git' 'ls-remote' 'file:///home/runner/work/gwt-time-apt/gwt-time-apt' 3057[INFO] Working directory: /tmp 3058[INFO] Executing: /bin/sh -c cd '/home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout' && 'git' 'fetch' 'file:///home/runner/work/gwt-time-apt/gwt-time-apt' 3059[INFO] Working directory: /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout 3060[INFO] Executing: /bin/sh -c cd '/home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout' && 'git' 'checkout' 'v2.0.8' 3061[INFO] Working directory: /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout 3062[INFO] Executing: /bin/sh -c cd '/home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout' && 'git' 'ls-files' 3063[INFO] Working directory: /home/runner/work/gwt-time-apt/gwt-time-apt/pom/target/checkout 3064[INFO] [perform] 3/3 run-perform-goals 3065[INFO] Executing goals 'deploy'... 3066[INFO] pomFileName is already set, ignoring the -f argument 3067[INFO] [INFO] Scanning for projects... 3068[INFO] [INFO] Inspecting build with total of 3 modules... 3069[INFO] [INFO] Installing Nexus Staging features: 3070[INFO] [INFO] ... total of 3 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin 3071[INFO] [INFO] ------------------------------------------------------------------------ 3072[INFO] [INFO] Reactor Build Order: 3073[INFO] [INFO] 3074[INFO] [INFO] JRESEARCH-COMMONS: GWT time APT POM [pom] 3075[INFO] [INFO] JRESEARCH-COMMONS: GWT time support APT annotations [gwt-lib] 3076[INFO] [INFO] JRESEARCH-COMMONS: GWT time support APT processor [jar] 3077[INFO] [INFO] 3078[INFO] [INFO] -------< org.jresearch.gwt.time:org.jresearch.gwt.time.apt.pom >-------- 3079[INFO] [INFO] Building JRESEARCH-COMMONS: GWT time APT POM 2.0.8 [1/3] 3080[INFO] [INFO] --------------------------------[ pom ]---------------------------------