Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
8.0.7, 9.0.0-M7
-
OS: WIndows 10
JVM: Java 1.8.0_272 (AdoptOpenJDK)
Maven: Maven 3.6.2
Description
When I try to compile tomee from master branch in Windows 10. I run mvn clean install and I got this error.
[INFO] Replacing C:\Jobs\Apache-TomEE\tomee\deps\cxf-shade\target\cxf-shade-8.0.8-SNAPSHOT.jar with C:\Jobs\Apache-TomEE\tomee\deps\cxf-shade\target\cxf-shade-8.0.8-SNAPSHOT-shaded.jar
[INFO] Replacing original source artifact with shaded source artifact.
[INFO] Replacing C:\Jobs\Apache-TomEE\tomee\deps\cxf-shade\target\cxf-shade-8.0.8-SNAPSHOT-sources.jar with C:\Jobs\Apache-TomEE\tomee\deps\cxf-shade\target\cxf-shade-8.0.8-SNAPSHOT-shaded-sources.jar
[INFO]
[INFO] — tomee-patch-plugin:0.5:run (default) @ cxf-shade —
[INFO] Compiling 167 source files to C:\Jobs\Apache-TomEE\tomee\deps\cxf-shade\target\patch-classes
[INFO] Applied 0 patches to 0 locations
[ERROR] Failed to apply 365 patches
[ERROR] org\apache\cxf\annotations\Policy$DEFAULT.class
[ERROR] org\apache\cxf\annotations\Policy$Placement.class
[ERROR] org\apache\cxf\annotations\Policy.class
[ERROR] org\apache\cxf\annotations\WSDLDocumentation$DEFAULT.class
[ERROR] org\apache\cxf\annotations\WSDLDocumentation$Placement.class
[ERROR] org\apache\cxf\annotations\WSDLDocumentation.class
[ERROR] org\apache\cxf\attachment\AttachmentDataSource.class
[ERROR] org\apache\cxf\attachment\AttachmentDeserializer.class
[INFO] TomEE :: TomEE :: Overlay Runner ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:16 min
[INFO] Finished at: 2021-07-07T15:20:55-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.tomee.patch:tomee-patch-plugin:0.5:run (default) on project cxf-shade: Execution default of goal org.apache.tomee.patch:tomee-patch-plugin:0.5:run failed: Failed to apply 365 patches -> [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 :cxf-shade