ppkarwasz opened a new issue, #41: URL: https://github.com/apache/logging-log4j-transform/issues/41
As reported by @rgoers on [the mailing list](https://lists.apache.org/thread/dbbt5j3q8ry30q6tqcy1v422nm6q597t), the Log4j Maven Transform plugin can fail if if runs multiple times: > I built and ran my test project and it ran fine. However, the first time I ran my project build it failed as below. I ran it several more times and it worked the second time, failed the same way the third time and then worked the few times I ran it again after that. > ``` > [ERROR] Failed to execute goal org.apache.logging.log4j:log4j-transform-maven-plugin:0.1.0:process-classes (default) on project customer-engagement-service: Execution default of goal org.apache.logging.log4j:log4j-transform-maven-plugin:0.1.0:process-classes failed: > An API incompatibility was encountered while executing org.apache.logging.log4j:log4j-transform-maven-plugin:0.1.0:process-classes: java.lang.ClassFormatError: Truncated class file > [ERROR] ----------------------------------------------------- > [ERROR] realm = plugin>org.apache.logging.log4j:log4j-transform-maven-plugin:0.1.0 > [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy > [ERROR] urls[0] = file:/Users/rgoers/.m2/repository/org/apache/logging/log4j/log4j-transform-maven-plugin/0.1.0/log4j-transform-maven-plugin-0.1.0.jar > [ERROR] urls[1] = file:/Users/rgoers/.m2/repository/org/apache/logging/log4j/log4j-weaver/0.1.0/log4j-weaver-0.1.0.jar > [ERROR] urls[2] = file:/Users/rgoers/.m2/repository/org/ow2/asm/asm/9.5/asm-9.5.jar > [ERROR] urls[3] = file:/Users/rgoers/.m2/repository/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar > [ERROR] urls[4] = file:/Users/rgoers/.m2/repository/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar > [ERROR] urls[5] = file:/Users/rgoers/.m2/repository/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar > [ERROR] urls[6] = file:/Users/rgoers/.m2/repository/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar > [ERROR] urls[7] = file:/Users/rgoers/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar > [ERROR] urls[8] = file:/Users/rgoers/.m2/repository/org/codehaus/plexus/plexus-utils/3.5.1/plexus-utils-3.5.1.jar > [ERROR] Number of foreign imports: 1 > [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] > [ERROR] > [ERROR] ----------------------------------------------------- > ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
