You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Thomas DuBuisson (Jira)" <ji...@apache.org> on 2022/02/06 17:13:00 UTC
[jira] [Updated] (TOMEE-3834) Maven-package target does not work but mvn install does
[ https://issues.apache.org/jira/browse/TOMEE-3834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas DuBuisson updated TOMEE-3834:
------------------------------------
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:
{code:java}
[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{code}
was:
As I understand, the "package" target should work 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:
{code:java}
[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{code}
> Maven-package target does not work but mvn install does
> -------------------------------------------------------
>
> Key: TOMEE-3834
> URL: https://issues.apache.org/jira/browse/TOMEE-3834
> Project: TomEE
> Issue Type: Improvement
> Reporter: Thomas DuBuisson
> Priority: Major
>
> 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:
>
> {code:java}
> [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{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)