You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#12 17.83 [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ quickstart-se ---
#12 17.83 [WARNING] JAR will be empty - no content was marked for inclusion!
#12 17.83 [INFO] ------------------------------------------------------------------------
#12 17.83 [INFO] BUILD FAILURE
#12 17.83 [INFO] ------------------------------------------------------------------------
#12 17.83 [INFO] Total time: 17.157 s
#12 17.83 [INFO] Finished at: 2023-02-21T12:37:18Z
#12 17.83 [INFO] ------------------------------------------------------------------------
#12 17.84 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar (default-jar) on project quickstart-se: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them. -> [Help 1]
#12 17.84 [ERROR]
#12 17.84 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#12 17.84 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#12 17.84 [ERROR]
#12 17.84 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#12 17.84 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------
executor failed running [/bin/sh -c mvn package -Pnative-image -Dnative.image.skip -Dmaven.test.skip -Declipselink.weave.skip]: exit code: 1
It was likely introduced by #5308 when we switched to the official native image Maven plugin.
A workaround is to remove -Pnative-image -Dnative.image.skip from the first RUN.
The text was updated successfully, but these errors were encountered:
* Update application parent poms to support -Dnative.image.skip and -Dnative.image.buildStatic
This makes the Dockerfiles backward compatible.
Fixes#6307Fixes#6283
* Move native goals out of pluginManagement as they get included with any declaration of the native-image plugin.
Follow-up to #6260
It was likely introduced by #5308 when we switched to the official native image Maven plugin.
A workaround is to remove
-Pnative-image -Dnative.image.skip
from the first RUN.The text was updated successfully, but these errors were encountered: