Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
As I understand, any time install works so should package since install is just one additional step beyond packaging. For TomEE on a fresh machine (ex: a docker container) the package step does not work without a prior install of the project.
I'm using the command: mvn -B -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false package
N.B. the package step fails with:
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11:14 min [INFO] Finished at: 2022-02-06T16:35:17Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.gmaven:groovy-maven-plugin:2.0:execute (execute-web-profile-installer) on project apache-tomee: Execution execute-web-profile-installer of goal org.codehaus.gmaven:groovy-maven-plugin:2.0:execute failed: src '/home/lift/.m2/repository/org/apache/tomee/tomee-webapp/8.0.10-SNAPSHOT/tomee-webapp-8.0.10-SNAPSHOT.war' doesn't exist. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :apache-tomee