[Maven] maven插件系列之maven-compiler-plugin
插件简介
- 使用
maven
编译Java项目时,maven-compiler-plugin
是默认的编译插件。
可以理解为
maven-compiler-plugin
插件做了javac
的工作,而且通过配置能实现自由编译我们的源代码。
- 编译器插件(maven-compiler-plugin)用于编译项目的源代码。
从3.0开始,默认编译器是
javax.tools.JavaCompiler
(如果您使用的是java 1.6),用于编译java源代码。
如果要使用javac强制插件,则必须配置插件选项forceJavacCompilerUse
。
另请注意,目前默认源设置为1.8
,默认目标设置为1.8
。
强烈建议您通过设置Java编译器的-source
和-target
中所述的设置源和目标来更改这些默认值。
可以使用
javac
以外的其他编译器,AspectJ
, NET和C# 的工作已经开始。
注意:要了解有关JDK javac的更多信息,请参阅:https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html.
使用示范
pom.xml
demo1
<properties>
<java.version>17</java.verison>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<!-- <maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version> -->
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version> <!-- 使用适合您项目的版本 -->
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
</plugins>
</build>
查看 jdk 版本(
java
:运行 /javac
:编译)
$ java --version
openjdk 17.0.2 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)
$ javac --version
javac 17.0.2
demo2
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<verbose>true</verbose>
<fork>true</fork>
<executable>${JAVA_HOME}/bin/javac</executable>
<meminitial>128m</meminitial>
<maxmem>512m</maxmem>
<compilerVersion>1.8</compilerVersion>
<source>1.8</source>
<target>1.8</target>
<compilerArgs>
<arg>-verbose</arg>
<arg>-Xlint:all,-options,-path</arg>
</compilerArgs>
</configuration>
</plugin>
- verbose : 表示输出编译的详细细节,方便了解编译的具体情况
- fork、executable :
这两个参数一般会搭配使用,如果省略executable并设置true,maven编译器插件将默认选择JAVA_HOME/bin/javac二进制文件;如果设置了false,maven编译器插件将通过ToolProvider接口选择编译器。
这意味着不会启动新进程,Maven正在运行的JavaVM也会进行编译。
executable表示javac的绝对路径,默认会寻找环境变量JAVA_HOME的位置,当前也可以自己设置一个路径。
- meminitial、maxmem : 设置编译时的最小内存和最大内存
- compilerArgs : 这里可以设置编译时的属性,和使用javac命令一样。
- compilerVersion : 设置编译时jdk的版本信息
- source、target : 设置编译的源代码和目标代码的语言级别,特别是在jdk8以后的版本中,每个Java版本的语法会有差异,在这里可以精确指定。
这两个属性还可以通过配置pom.xml全局属性来完成,配置如下:
<project>
[...]
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
[...]
</project>
- release :
source/target
这两个属性也可以使用release属性来代替,release属性需要高版本的maven-compiler-plugin才行。具体配置如下:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.1</version>
<configuration>
<release>8</release>
</configuration>
</plugin>
- 或者设置pom.xml全局属性:
<project>
[...]
<properties>
<maven.compiler.release>8</maven.compiler.release>
</properties>
[...]
</project>
使用外部编译器
- 正常情况下,我们编译Java代码时,都会使用我们本机安装的javac命令,当然我们也可以不使用本机的javac来进行编译。
- 可以借助
Plexus Compiler
组件来编译Java
项目,Plexus Compiler
是一个编译套件,类似于gcc/clang
等编译器。 - 可以编译Java代码,甚至可以来编译C#的代码,具体的组件介绍点击官网可以查看详细文档。
比如下面我们使用Plexus Compiler来编译Java代码:
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.1</version>
<configuration>
<fork>false</fork>
<compilerId>javac</compilerId>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac</artifactId>
<version>1.6</version>
</dependency>
</dependencies>
</plugin>
需要使用compilerId标签和fork标签配合
编译
mvn clean install
# 若要查看详细日志,可加上 -X 参数 : mvn clean install -X
IDEA 中
mvn install
实际执行的命令:
D:\Program\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2\bin\java.exe -Dmaven.multiModuleProjectDirectory=D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils -Djansi.passthrough=true -Dmaven.home=D:\Program\Maven\apache-maven-3.9.9-bin -Dclassworlds.conf=D:\Program\Maven\apache-maven-3.9.9-bin\bin\m2.conf -Dmaven.ext.class.path=D:\Program\Intellij-IDEA\ideaIC-2024.3.win\plugins\maven\lib\maven-event-listener.jar -javaagent:D:\Program\Intellij-IDEA\ideaIC-2024.3.win\lib\idea_rt.jar=54231:D:\Program\Intellij-IDEA\ideaIC-2024.3.win\bin -Dfile.encoding=UTF-8 -classpath D:\Program\Maven\apache-maven-3.9.9-bin\boot\plexus-classworlds-2.8.0.jar;D:\Program\Maven\apache-maven-3.9.9-bin\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2024.3 -s D:\Program\Maven\apache-maven-3.9.9-bin\conf\settings.xml -Dmaven.repo.local=D:\Program-Data\Maven-Repository install
- 一个完整的编译日志
$ mvn clean install -X
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: D:\Program\Maven\apache-maven-3.9.9-bin
Java version: 17.0.2, vendor: Oracle Corporation, runtime: D:\Program\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: javax.annotation.* < plexus.core
[DEBUG] Imported: javax.annotation.security.* < plexus.core
[DEBUG] Imported: javax.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.* < plexus.core
[DEBUG] Imported: org.apache.maven.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.classrealm < plexus.core
[DEBUG] Imported: org.apache.maven.cli < plexus.core
[DEBUG] Imported: org.apache.maven.configuration < plexus.core
[DEBUG] Imported: org.apache.maven.exception < plexus.core
[DEBUG] Imported: org.apache.maven.execution < plexus.core
[DEBUG] Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG] Imported: org.apache.maven.graph < plexus.core
[DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.model < plexus.core
[DEBUG] Imported: org.apache.maven.monitor < plexus.core
[DEBUG] Imported: org.apache.maven.plugin < plexus.core
[DEBUG] Imported: org.apache.maven.profiles < plexus.core
[DEBUG] Imported: org.apache.maven.project < plexus.core
[DEBUG] Imported: org.apache.maven.reporting < plexus.core
[DEBUG] Imported: org.apache.maven.repository < plexus.core
[DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG] Imported: org.apache.maven.settings < plexus.core
[DEBUG] Imported: org.apache.maven.toolchain < plexus.core
[DEBUG] Imported: org.apache.maven.usability < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG] Imported: org.codehaus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.* < plexus.core
[DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG] Imported: org.codehaus.plexus.container < plexus.core
[DEBUG] Imported: org.codehaus.plexus.context < plexus.core
[DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG] Imported: org.eclipse.aether.* < plexus.core
[DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG] Imported: org.eclipse.aether.collection < plexus.core
[DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG] Imported: org.eclipse.aether.graph < plexus.core
[DEBUG] Imported: org.eclipse.aether.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.installation < plexus.core
[DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG] Imported: org.eclipse.aether.repository < plexus.core
[DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG] Imported: org.eclipse.aether.spi < plexus.core
[DEBUG] Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG] Imported: org.eclipse.aether.util < plexus.core
[DEBUG] Imported: org.eclipse.aether.version < plexus.core
[DEBUG] Imported: org.fusesource.jansi.* < plexus.core
[DEBUG] Imported: org.slf4j.* < plexus.core
[DEBUG] Imported: org.slf4j.event.* < plexus.core
[DEBUG] Imported: org.slf4j.helpers.* < plexus.core
[DEBUG] Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] Created adapter factory; available factories [file-lock, rwlock-local, semaphore-local, noop]; available name mappers [discriminating, file-gav, file-hgav, file-sta
tic, gav, static]
[INFO] Error stacktraces are turned on.
[DEBUG] Message scheme: color
[DEBUG] Message styles: debug info warning error success failure strong mojo project
[DEBUG] Reading global settings from D:\Program\Maven\apache-maven-3.9.9-bin\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\EDY\.m2\settings.xml
[DEBUG] Reading global toolchains from D:\Program\Maven\apache-maven-3.9.9-bin\conf\toolchains.xml
[DEBUG] Reading user toolchains from C:\Users\EDY\.m2\toolchains.xml
[DEBUG] Using local repository at D:\Program-Data\Maven-Repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for D:\Program-Data\Maven-Repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.xxx:xxx-sdk-utils:jar:1.0.0: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.xxx:xxx-sdk:pom:1.0.0: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.xxx:xxx-sdk-utils:jar:1.0.0
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.xxx:xxx-sdk-pojo:jar -> version (?) vs ${project.version} @ line 42, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.xxx:xxx-sdk-utils:jar:1.0.0
[DEBUG] Tasks: [clean, install]
[DEBUG] Style: Regular
[DEBUG] =======================================================================
[INFO]
[INFO] -----------------------< com.xxx:xxx-sdk-utils >------------------------
[INFO] Building xxx-sdk-utils 1.0.0
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-source
s, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integrat
ion-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-source
s, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integrat
ion-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Creating adapter using nameMapper 'gav' and factory 'rwlock-local'
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-source
s, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integrat
ion-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-source
s, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integrat
ion-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-source
s, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integrat
ion-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-source
s, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integrat
ion-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-source
s, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integrat
ion-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-source
s, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integrat
ion-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-source
s, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integrat
ion-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-source
s, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integrat
ion-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project: com.xxx:xxx-sdk-utils:1.0.0
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, runtime, test]
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins) : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-clean-plugin:3.2.0:clean (default-clean)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<directory default-value="${project.build.directory}"/>
<excludeDefaultDirectories default-value="false">${maven.clean.excludeDefaultDirectories}</excludeDefaultDirectories>
<failOnError default-value="true">${maven.clean.failOnError}</failOnError>
<fast default-value="false">${maven.clean.fast}</fast>
<fastDir>${maven.clean.fastDir}</fastDir>
<fastMode default-value="background">${maven.clean.fastMode}</fastMode>
<followSymLinks default-value="false">${maven.clean.followSymLinks}</followSymLinks>
<outputDirectory default-value="${project.build.outputDirectory}"/>
<reportDirectory default-value="${project.build.outputDirectory}"/>
<retryOnError default-value="true">${maven.clean.retryOnError}</retryOnError>
<session default-value="${session}"/>
<skip default-value="false">${maven.clean.skip}</skip>
<testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
<verbose>${maven.clean.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources (default-resources)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<addDefaultExcludes default-value="true"/>
<buildFilters default-value="${project.build.filters}"/>
<encoding default-value="${project.build.sourceEncoding}"/>
<escapeWindowsPaths default-value="true"/>
<fileNameFiltering default-value="false"/>
<includeEmptyDirs default-value="false"/>
<outputDirectory default-value="${project.build.outputDirectory}"/>
<overwrite default-value="false"/>
<project default-value="${project}"/>
<resources default-value="${project.resources}"/>
<session default-value="${session}"/>
<skip default-value="false">${maven.resources.skip}</skip>
<supportMultiLineFiltering default-value="false"/>
<useBuildFilters default-value="true"/>
<useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<basedir default-value="${basedir}"/>
<buildDirectory default-value="${project.build.directory}"/>
<compilePath default-value="${project.compileClasspathElements}"/>
<compileSourceRoots default-value="${project.compileSourceRoots}"/>
<compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
<compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
<compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
<debug default-value="true">${maven.compiler.debug}</debug>
<debuglevel>${maven.compiler.debuglevel}</debuglevel>
<encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
<executable>${maven.compiler.executable}</executable>
<failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
<failOnWarning default-value="false">${maven.compiler.failOnWarning}</failOnWarning>
<forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
<fork default-value="false">${maven.compiler.fork}</fork>
<generatedSourcesDirectory default-value="${project.build.directory}/generated-sources/annotations"/>
<maxmem>${maven.compiler.maxmem}</maxmem>
<meminitial>${maven.compiler.meminitial}</meminitial>
<mojoExecution default-value="${mojoExecution}"/>
<optimize default-value="false">${maven.compiler.optimize}</optimize>
<outputDirectory default-value="${project.build.outputDirectory}"/>
<parameters default-value="false">${maven.compiler.parameters}</parameters>
<project default-value="${project}"/>
<projectArtifact default-value="${project.artifact}"/>
<release>${maven.compiler.release}</release>
<session default-value="${session}"/>
<showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
<showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
<skipMain>${maven.main.skip}</skipMain>
<skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
<source default-value="1.6">17.0.2</source>
<staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
<target default-value="1.6">17.0.2</target>
<useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
<verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:3.3.1:testResources (default-testResources)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<addDefaultExcludes default-value="true"/>
<buildFilters default-value="${project.build.filters}"/>
<encoding default-value="${project.build.sourceEncoding}"/>
<escapeWindowsPaths default-value="true"/>
<fileNameFiltering default-value="false"/>
<includeEmptyDirs default-value="false"/>
<outputDirectory default-value="${project.build.testOutputDirectory}"/>
<overwrite default-value="false"/>
<project default-value="${project}"/>
<resources default-value="${project.testResources}"/>
<session default-value="${session}"/>
<skip default-value="false">${maven.test.skip}</skip>
<supportMultiLineFiltering default-value="false"/>
<useBuildFilters default-value="true"/>
<useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<basedir default-value="${basedir}"/>
<buildDirectory default-value="${project.build.directory}"/>
<compilePath default-value="${project.compileClasspathElements}"/>
<compileSourceRoots default-value="${project.testCompileSourceRoots}"/>
<compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
<compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
<compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
<debug default-value="true">${maven.compiler.debug}</debug>
<debuglevel>${maven.compiler.debuglevel}</debuglevel>
<encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
<executable>${maven.compiler.executable}</executable>
<failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
<failOnWarning default-value="false">${maven.compiler.failOnWarning}</failOnWarning>
<forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
<fork default-value="false">${maven.compiler.fork}</fork>
<generatedTestSourcesDirectory default-value="${project.build.directory}/generated-test-sources/test-annotations"/>
<maxmem>${maven.compiler.maxmem}</maxmem>
<meminitial>${maven.compiler.meminitial}</meminitial>
<mojoExecution default-value="${mojoExecution}"/>
<optimize default-value="false">${maven.compiler.optimize}</optimize>
<outputDirectory default-value="${project.build.testOutputDirectory}"/>
<parameters default-value="false">${maven.compiler.parameters}</parameters>
<project default-value="${project}"/>
<release>${maven.compiler.release}</release>
<session default-value="${session}"/>
<showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
<showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
<skip>${maven.test.skip}</skip>
<skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
<source default-value="1.6">17.0.2</source>
<staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
<target default-value="1.6">17.0.2</target>
<testPath default-value="${project.testClasspathElements}"/>
<testRelease>${maven.compiler.testRelease}</testRelease>
<testSource>${maven.compiler.testSource}</testSource>
<testTarget>${maven.compiler.testTarget}</testTarget>
<useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
<verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<additionalClasspathDependencies>${maven.test.additionalClasspathDependencies}</additionalClasspathDependencies>
<additionalClasspathElements>${maven.test.additionalClasspath}</additionalClasspathElements>
<argLine>${argLine}</argLine>
<basedir default-value="${basedir}"/>
<childDelegation default-value="false">${childDelegation}</childDelegation>
<classesDirectory default-value="${project.build.outputDirectory}"/>
<classpathDependencyExcludes>${maven.test.dependency.excludes}</classpathDependencyExcludes>
<debugForkedProcess>${maven.surefire.debug}</debugForkedProcess>
<dependenciesToScan>${dependenciesToScan}</dependenciesToScan>
<disableXmlReport default-value="false">${disableXmlReport}</disableXmlReport>
<enableAssertions default-value="true">${enableAssertions}</enableAssertions>
<enableProcessChecker>${surefire.enableProcessChecker}</enableProcessChecker>
<encoding default-value="${project.reporting.outputEncoding}">${surefire.encoding}</encoding>
<excludeJUnit5Engines>${surefire.excludeJUnit5Engines}</excludeJUnit5Engines>
<excludedEnvironmentVariables>${surefire.excludedEnvironmentVariables}</excludedEnvironmentVariables>
<excludedGroups>${excludedGroups}</excludedGroups>
<excludes>${surefire.excludes}</excludes>
<excludesFile>${surefire.excludesFile}</excludesFile>
<failIfNoSpecifiedTests default-value="true">${surefire.failIfNoSpecifiedTests}</failIfNoSpecifiedTests>
<failIfNoTests default-value="false">${failIfNoTests}</failIfNoTests>
<failOnFlakeCount default-value="0">${surefire.failOnFlakeCount}</failOnFlakeCount>
<forkCount default-value="1">${forkCount}</forkCount>
<forkNode>${surefire.forkNode}</forkNode>
<forkedProcessExitTimeoutInSeconds default-value="30">${surefire.exitTimeout}</forkedProcessExitTimeoutInSeconds>
<forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
<groups>${groups}</groups>
<includeJUnit5Engines>${surefire.includeJUnit5Engines}</includeJUnit5Engines>
<includes>${surefire.includes}</includes>
<includesFile>${surefire.includesFile}</includesFile>
<junitArtifactName default-value="junit:junit">${junitArtifactName}</junitArtifactName>
<jvm>${jvm}</jvm>
<objectFactory>${objectFactory}</objectFactory>
<parallel>${parallel}</parallel>
<parallelMavenExecution default-value="${session.parallel}"/>
<parallelOptimized default-value="true">${parallelOptimized}</parallelOptimized>
<parallelTestsTimeoutForcedInSeconds>${surefire.parallel.forcedTimeout}</parallelTestsTimeoutForcedInSeconds>
<parallelTestsTimeoutInSeconds>${surefire.parallel.timeout}</parallelTestsTimeoutInSeconds>
<perCoreThreadCount default-value="true">${perCoreThreadCount}</perCoreThreadCount>
<pluginArtifactMap>${plugin.artifactMap}</pluginArtifactMap>
<pluginDescriptor default-value="${plugin}"/>
<printSummary default-value="true">${surefire.printSummary}</printSummary>
<project default-value="${project}"/>
<projectArtifactMap>${project.artifactMap}</projectArtifactMap>
<projectBuildDirectory default-value="${project.build.directory}"/>
<redirectTestOutputToFile default-value="false">${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
<reportFormat default-value="brief">${surefire.reportFormat}</reportFormat>
<reportNameSuffix default-value="">${surefire.reportNameSuffix}</reportNameSuffix>
<reportsDirectory default-value="${project.build.directory}/surefire-reports"/>
<rerunFailingTestsCount default-value="0">${surefire.rerunFailingTestsCount}</rerunFailingTestsCount>
<reuseForks default-value="true">${reuseForks}</reuseForks>
<runOrder default-value="filesystem">${surefire.runOrder}</runOrder>
<runOrderRandomSeed>${surefire.runOrder.random.seed}</runOrderRandomSeed>
<session default-value="${session}"/>
<shutdown default-value="exit">${surefire.shutdown}</shutdown>
<skip default-value="false">${maven.test.skip}</skip>
<skipAfterFailureCount default-value="0">${surefire.skipAfterFailureCount}</skipAfterFailureCount>
<skipExec>${maven.test.skip.exec}</skipExec>
<skipTests default-value="false">${skipTests}</skipTests>
<suiteXmlFiles>${surefire.suiteXmlFiles}</suiteXmlFiles>
<systemPropertiesFile>${surefire.systemPropertiesFile}</systemPropertiesFile>
<tempDir default-value="surefire">${tempDir}</tempDir>
<test>${test}</test>
<testClassesDirectory default-value="${project.build.testOutputDirectory}"/>
<testFailureIgnore default-value="false">${maven.test.failure.ignore}</testFailureIgnore>
<testNGArtifactName default-value="org.testng:testng">${testNGArtifactName}</testNGArtifactName>
<testSourceDirectory default-value="${project.build.testSourceDirectory}"/>
<threadCount>${threadCount}</threadCount>
<threadCountClasses default-value="0">${threadCountClasses}</threadCountClasses>
<threadCountMethods default-value="0">${threadCountMethods}</threadCountMethods>
<threadCountSuites default-value="0">${threadCountSuites}</threadCountSuites>
<trimStackTrace default-value="false">${trimStackTrace}</trimStackTrace>
<useFile default-value="true">${surefire.useFile}</useFile>
<useManifestOnlyJar default-value="true">${surefire.useManifestOnlyJar}</useManifestOnlyJar>
<useModulePath default-value="true">${surefire.useModulePath}</useModulePath>
<useSystemClassLoader default-value="true">${surefire.useSystemClassLoader}</useSystemClassLoader>
<useUnlimitedThreads default-value="false">${useUnlimitedThreads}</useUnlimitedThreads>
<workingDirectory>${basedir}</workingDirectory>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-jar-plugin:3.4.1:jar (default-jar)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<addDefaultExcludes default-value="true"/>
<classesDirectory default-value="${project.build.outputDirectory}"/>
<detectMultiReleaseJar default-value="true">${maven.jar.detectMultiReleaseJar}</detectMultiReleaseJar>
<finalName default-value="${project.build.finalName}"/>
<forceCreation default-value="false">${maven.jar.forceCreation}</forceCreation>
<outputDirectory default-value="${project.build.directory}"/>
<outputTimestamp default-value="${project.build.outputTimestamp}"/>
<project default-value="${project}"/>
<session default-value="${session}"/>
<skipIfEmpty default-value="false"/>
<useDefaultManifestFile default-value="false">${jar.useDefaultManifestFile}</useDefaultManifestFile>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-install-plugin:3.1.2:install (default-install)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<allowIncompleteProjects default-value="false">${allowIncompleteProjects}</allowIncompleteProjects>
<installAtEnd default-value="false">${installAtEnd}</installAtEnd>
<pluginDescriptor default-value="${plugin}"/>
<project default-value="${project}"/>
<session default-value="${session}"/>
<skip default-value="false">${maven.install.skip}</skip>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=620500, ConflictMarker.markTime=120600, ConflictMarker.nodeCount=76, ConflictIdSorter.graphTime=442100, Conf
lictIdSorter.topsortTime=349400, ConflictIdSorter.conflictIdCount=47, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=6476600, ConflictResolver.conflict
ItemCount=74, DfDependencyCollector.collectTime=461045600, DfDependencyCollector.transformTime=9893900}
[DEBUG] com.xxx:xxx-sdk-utils:jar:1.0.0
[DEBUG] com.xxx:xxx-sdk-pojo:jar:1.0.0:compile
[DEBUG] org.springframework.cloud:spring-cloud-starter-bootstrap:jar:4.1.3:compile
[DEBUG] org.springframework.cloud:spring-cloud-starter:jar:4.1.3:compile
[DEBUG] org.springframework.boot:spring-boot-starter:jar:3.2.6:compile
[DEBUG] org.springframework.boot:spring-boot:jar:3.2.6:compile
[DEBUG] org.springframework:spring-context:jar:6.1.8:compile
[DEBUG] org.springframework:spring-aop:jar:6.1.8:compile
[DEBUG] org.springframework:spring-beans:jar:6.1.8:compile
[DEBUG] org.springframework:spring-expression:jar:6.1.8:compile
[DEBUG] io.micrometer:micrometer-observation:jar:1.12.6:compile
[DEBUG] io.micrometer:micrometer-commons:jar:1.12.6:compile
[DEBUG] org.springframework.boot:spring-boot-autoconfigure:jar:3.2.6:compile
[DEBUG] org.springframework.boot:spring-boot-starter-logging:jar:3.2.6:compile
[DEBUG] ch.qos.logback:logback-classic:jar:1.4.14:compile
[DEBUG] ch.qos.logback:logback-core:jar:1.4.14:compile
[DEBUG] org.apache.logging.log4j:log4j-to-slf4j:jar:2.21.1:compile
[DEBUG] org.slf4j:jul-to-slf4j:jar:2.0.13:compile
[DEBUG] jakarta.annotation:jakarta.annotation-api:jar:2.1.1:compile
[DEBUG] org.springframework:spring-core:jar:6.1.8:compile
[DEBUG] org.springframework:spring-jcl:jar:6.1.8:compile
[DEBUG] org.yaml:snakeyaml:jar:2.2:compile
[DEBUG] org.springframework.cloud:spring-cloud-context:jar:4.1.3:compile
[DEBUG] org.springframework.security:spring-security-crypto:jar:6.2.4:compile
[DEBUG] org.springframework.cloud:spring-cloud-commons:jar:4.1.3:compile
[DEBUG] org.springframework.security:spring-security-rsa:jar:1.1.3:compile
[DEBUG] org.bouncycastle:bcprov-jdk18on:jar:1.78:compile
[DEBUG] com.xxx:xxx-sdk-dependencies:pom:1.0.0:provided
[DEBUG] org.apache.commons:commons-lang3:jar:3.9:provided
[DEBUG] commons-io:commons-io:jar:2.13.0:provided
[DEBUG] commons-codec:commons-codec:jar:1.13:provided
[DEBUG] org.slf4j:slf4j-api:jar:1.7.25:compile
[DEBUG] org.apache.logging.log4j:log4j-api:jar:2.20.0:compile
[DEBUG] org.apache.logging.log4j:log4j-core:jar:2.20.0:provided
[DEBUG] org.apache.logging.log4j:log4j-slf4j-impl:jar:2.20.0:provided
[DEBUG] com.alibaba.fastjson2:fastjson2:jar:2.0.37:provided
[DEBUG] cn.hutool:hutool-core:jar:5.8.15:provided
[DEBUG] org.lz4:lz4-java:jar:1.8.0:provided
[DEBUG] jakarta.xml.bind:jakarta.xml.bind-api:jar:4.0.2:compile
[DEBUG] jakarta.activation:jakarta.activation-api:jar:2.1.3:compile
[DEBUG] org.junit.jupiter:junit-jupiter:jar:5.8.2:test
[DEBUG] org.junit.jupiter:junit-jupiter-api:jar:5.8.2:test
[DEBUG] org.opentest4j:opentest4j:jar:1.2.0:test
[DEBUG] org.junit.platform:junit-platform-commons:jar:1.8.2:test
[DEBUG] org.apiguardian:apiguardian-api:jar:1.1.2:test
[DEBUG] org.junit.jupiter:junit-jupiter-params:jar:5.8.2:test
[DEBUG] org.junit.jupiter:junit-jupiter-engine:jar:5.8.2:test
[DEBUG] org.junit.platform:junit-platform-engine:jar:1.8.2:test
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ xxx-sdk-utils ---
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=30800, ConflictMarker.markTime=62100, ConflictMarker.nodeCount=3, ConflictIdSorter.graphTime=9000, ConflictI
dSorter.topsortTime=10700, ConflictIdSorter.conflictIdCount=3, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=150100, ConflictResolver.conflictItemCoun
t=3, DfDependencyCollector.collectTime=20477900, DfDependencyCollector.transformTime=277200}
[DEBUG] org.apache.maven.plugins:maven-clean-plugin:jar:3.2.0
[DEBUG] org.apache.maven.shared:maven-shared-utils:jar:3.3.4:compile
[DEBUG] commons-io:commons-io:jar:2.6:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-clean-plugin:3.2.0
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-clean-plugin:3.2.0
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-clean-plugin:3.2.0
[DEBUG] Included: org.apache.maven.plugins:maven-clean-plugin:jar:3.2.0
[DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:3.3.4
[DEBUG] Included: commons-io:commons-io:jar:2.6
[DEBUG] Loading mojo org.apache.maven.plugins:maven-clean-plugin:3.2.0:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:3.2.0, parent:
jdk.internal.loader.ClassLoaders$AppClassLoader@33909752]
[DEBUG] Configuring mojo execution 'org.apache.maven.plugins:maven-clean-plugin:3.2.0:clean:default-clean' with basic configurator -->
[DEBUG] (f) directory = D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target
[DEBUG] (f) excludeDefaultDirectories = false
[DEBUG] (f) failOnError = true
[DEBUG] (f) fast = false
[DEBUG] (f) fastMode = background
[DEBUG] (f) followSymLinks = false
[DEBUG] (f) outputDirectory = D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes
[DEBUG] (f) reportDirectory = D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes
[DEBUG] (f) retryOnError = true
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@3804a9a8
[DEBUG] (f) skip = false
[DEBUG] (f) testOutputDirectory = D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\test-classes
[DEBUG] -- end configuration --
[INFO] Deleting D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target
[INFO] Deleting directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\maven-status\maven-compiler-plugin\compile\default-compile
[INFO] Deleting directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\maven-status\maven-compiler-plugin\compile
[INFO] Deleting directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\maven-status\maven-compiler-plugin
[INFO] Deleting directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\maven-status
[INFO] Deleting directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\generated-sources\annotations
[INFO] Deleting directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\generated-sources
[INFO] Deleting file D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes\log4j2.properties
[INFO] Deleting directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes
[INFO] Deleting directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target
[DEBUG] Skipping non-existing directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes
[DEBUG] Skipping non-existing directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\test-classes
[DEBUG] Skipping non-existing directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ xxx-sdk-utils ---
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=77200, ConflictMarker.markTime=69300, ConflictMarker.nodeCount=13, ConflictIdSorter.graphTime=21800, Conflic
tIdSorter.topsortTime=14500, ConflictIdSorter.conflictIdCount=9, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=267100, ConflictResolver.conflictItemCo
unt=13, DfDependencyCollector.collectTime=38234600, DfDependencyCollector.transformTime=468500}
[DEBUG] org.apache.maven.plugins:maven-resources-plugin:jar:3.3.1
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.26:runtime
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.5.1:compile
[DEBUG] org.apache.maven.shared:maven-filtering:jar:3.3.1:compile
[DEBUG] javax.inject:javax.inject:jar:1:compile
[DEBUG] org.slf4j:slf4j-api:jar:1.7.36:compile
[DEBUG] org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
[DEBUG] commons-io:commons-io:jar:2.11.0:compile
[DEBUG] org.apache.commons:commons-lang3:jar:3.12.0:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.3.1
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.3.1
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.3.1
[DEBUG] Included: org.apache.maven.plugins:maven-resources-plugin:jar:3.3.1
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.26
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.5.1
[DEBUG] Included: org.apache.maven.shared:maven-filtering:jar:3.3.1
[DEBUG] Included: org.sonatype.plexus:plexus-build-api:jar:0.0.7
[DEBUG] Included: commons-io:commons-io:jar:2.11.0
[DEBUG] Included: org.apache.commons:commons-lang3:jar:3.12.0
[DEBUG] Loading mojo org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:3.3
.1, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@33909752]
[DEBUG] Configuring mojo execution 'org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources:default-resources' with basic configurator -->
[DEBUG] (f) addDefaultExcludes = true
[DEBUG] (f) buildFilters = []
[DEBUG] (f) encoding = UTF-8
[DEBUG] (f) escapeWindowsPaths = true
[DEBUG] (f) fileNameFiltering = false
[DEBUG] (s) includeEmptyDirs = false
[DEBUG] (s) outputDirectory = D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes
[DEBUG] (s) overwrite = false
[DEBUG] (f) project = MavenProject: com.xxx:xxx-sdk-utils:1.0.0 @ D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\pom.xml
[DEBUG] (s) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\resou
rces, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@3804a9a8
[DEBUG] (f) skip = false
[DEBUG] (f) supportMultiLineFiltering = false
[DEBUG] (f) useBuildFilters = true
[DEBUG] (s) useDefaultDelimiters = true
[DEBUG] -- end configuration --
[DEBUG] properties used:
[DEBUG] classworlds.conf: D:/Program/Maven/apache-maven-3.9.9-bin/bin/m2.conf
[DEBUG] commons.codec.version: 1.13
[DEBUG] commons.io.version: 2.11.0
[DEBUG] commons.lang3.version: 3.9
[DEBUG] env.=::: ::\
[DEBUG] env.=D:: D:\
[DEBUG] env.ACLOCAL_PATH: D:\Program\Git\mingw64\share\aclocal;D:\Program\Git\usr\share\aclocal
[DEBUG] env.ALLUSERSPROFILE: C:\ProgramData
[DEBUG] env.APPDATA: C:\Users\EDY\AppData\Roaming
[DEBUG] env.CLASSPATH: .;D:\Program\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2\\lib\dt.jar;D:\Program\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2\\lib\tools.jar;
[DEBUG] env.COMMONPROGRAMFILES: C:\Program Files\Common Files
[DEBUG] env.COMMONPROGRAMFILES(X86): C:\Program Files (x86)\Common Files
[DEBUG] env.COMMONPROGRAMW6432: C:\Program Files\Common Files
[DEBUG] env.COMPUTERNAME: CHINAMI-NI5948B
[DEBUG] env.COMSPEC: C:\Windows\system32\cmd.exe
[DEBUG] env.CONFIG_SITE: D:/Program/Git/etc/config.site
[DEBUG] env.DISPLAY: needs-to-be-defined
[DEBUG] env.DRIVERDATA: C:\Windows\System32\Drivers\DriverData
[DEBUG] env.EXEPATH: D:\Program\Git
[DEBUG] env.FPS_BROWSER_APP_PROFILE_STRING: Internet Explorer
[DEBUG] env.FPS_BROWSER_USER_PROFILE_STRING: Default
[DEBUG] env.GOPATH: D:\Workspace\CodeRepositories\GoHelloWorld
[DEBUG] env.GOROOT: D:\Program\Go-Lang\go1.23.3.windows-amd64\go
[DEBUG] env.HOME: C:\Users\EDY
[DEBUG] env.HOMEDRIVE: C:
[DEBUG] env.HOMEPATH: \Users\EDY
[DEBUG] env.HOSTNAME: CHINAMI-NI5948B
[DEBUG] env.INFOPATH: D:\Program\Git\mingw64\local\info;D:\Program\Git\mingw64\share\info;D:\Program\Git\usr\local\info;D:\Program\Git\usr\share\info;D:\Program\Git\usr\inf
o;D:\Program\Git\share\info
[DEBUG] env.JAVA_HOME: D:/Program/JDK/openjdk-17.0.2_windows-x64_bin/jdk-17.0.2
[DEBUG] env.LC_CTYPE: zh_CN.UTF-8
[DEBUG] env.LOCALAPPDATA: C:\Users\EDY\AppData\Local
[DEBUG] env.LOGONSERVER: \\CHINAMI-NI5948B
[DEBUG] env.M2_HOME: D:\Program\Maven\apache-maven-3.9.9-bin
[DEBUG] env.MANPATH: D:\Program\Git\mingw64\local\man;D:\Program\Git\mingw64\share\man;D:\Program\Git\usr\local\man;D:\Program\Git\usr\share\man;D:\Program\Git\usr\man;D:\P
rogram\Git\share\man
[DEBUG] env.MAVEN_CMD_LINE_ARGS: clean install -X
[DEBUG] env.MAVEN_PROJECTBASEDIR: D:/Workspace/CodeRepositories/xxx-platform/xxx-sdk/xxx-sdk-utils
[DEBUG] env.MINGW_CHOST: x86_64-w64-mingw32
[DEBUG] env.MINGW_PACKAGE_PREFIX: mingw-w64-x86_64
[DEBUG] env.MINGW_PREFIX: D:/Program/Git/mingw64
[DEBUG] env.MSYSTEM: MINGW64
[DEBUG] env.MSYSTEM_CARCH: x86_64
[DEBUG] env.MSYSTEM_CHOST: x86_64-w64-mingw32
[DEBUG] env.MSYSTEM_PREFIX: D:/Program/Git/mingw64
[DEBUG] env.NUMBER_OF_PROCESSORS: 8
[DEBUG] env.OLDPWD: D:/Workspace/CodeRepositories/xxx-platform/xxx-sdk/xxx-sdk-utils
[DEBUG] env.ONEDRIVE: C:\Users\Administrator\OneDrive
[DEBUG] env.ORIGINAL_PATH: D:\Program\Git\mingw64\bin;D:\Program\Git\usr\bin;C:\Users\EDY\bin;C:\Program Files (x86)\VMware\VMware Workstation\bin;C:\Windows\system32;C:\Wi
ndows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;D:\Program\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2\bin;D:\Progra
m\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2\jre\bin;D:\Program\Maven\apache-maven-3.9.9-bin\bin;D:\Program\Go-Lang\go1.23.3.windows-amd64\go\bin;D:\Workspace\CodeReposi
tories\GoHelloWorld\bin;D:\Program\Git\cmd;C:\Users\EDY\AppData\Local\Microsoft\WindowsApps;D:\Program\VSCode\bin
[DEBUG] env.ORIGINAL_TEMP: C:/Users/EDY/AppData/Local/Temp
[DEBUG] env.ORIGINAL_TMP: C:/Users/EDY/AppData/Local/Temp
[DEBUG] env.OS: Windows_NT
[DEBUG] env.PATH: C:\Users\EDY\bin;D:\Program\Git\mingw64\bin;D:\Program\Git\usr\local\bin;D:\Program\Git\usr\bin;D:\Program\Git\usr\bin;D:\Program\Git\mingw64\bin;D:\Progr
am\Git\usr\bin;C:\Users\EDY\bin;C:\Program Files (x86)\VMware\VMware Workstation\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowe
rShell\v1.0;C:\Windows\System32\OpenSSH;D:\Program\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2\bin;D:\Program\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2\jre\bin;D:\Pro
gram\Maven\apache-maven-3.9.9-bin\bin;D:\Program\Go-Lang\go1.23.3.windows-amd64\go\bin;D:\Workspace\CodeRepositories\GoHelloWorld\bin;D:\Program\Git\cmd;C:\Users\EDY\AppDat
a\Local\Microsoft\WindowsApps;D:\Program\VSCode\bin;D:\Program\Git\usr\bin\vendor_perl;D:\Program\Git\usr\bin\core_perl
[DEBUG] env.PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
[DEBUG] env.PKG_CONFIG_PATH: D:\Program\Git\mingw64\lib\pkgconfig;D:\Program\Git\mingw64\share\pkgconfig
[DEBUG] env.PKG_CONFIG_SYSTEM_INCLUDE_PATH: D:/Program/Git/mingw64/include
[DEBUG] env.PKG_CONFIG_SYSTEM_LIBRARY_PATH: D:/Program/Git/mingw64/lib
[DEBUG] env.PLINK_PROTOCOL: ssh
[DEBUG] env.PROCESSOR_ARCHITECTURE: AMD64
[DEBUG] env.PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
[DEBUG] env.PROCESSOR_LEVEL: 6
[DEBUG] env.PROCESSOR_REVISION: 8e0c
[DEBUG] env.PROGRAMDATA: C:\ProgramData
[DEBUG] env.PROGRAMFILES: C:\Program Files
[DEBUG] env.PROGRAMFILES(X86): C:\Program Files (x86)
[DEBUG] env.PROGRAMW6432: C:\Program Files
[DEBUG] env.PSMODULEPATH: C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
[DEBUG] env.PUBLIC: C:\Users\Public
[DEBUG] env.PWD: D:/Workspace/CodeRepositories/xxx-platform/xxx-sdk/xxx-sdk-utils
[DEBUG] env.SESSIONNAME: Console
[DEBUG] env.SHELL: D:\Program\Git\usr\bin\bash.exe
[DEBUG] env.SHLVL: 1
[DEBUG] env.SSH_ASKPASS: D:/Program/Git/mingw64/bin/git-askpass.exe
[DEBUG] env.SYSTEMDRIVE: C:
[DEBUG] env.SYSTEMROOT: C:\Windows
[DEBUG] env.TEMP: C:\Users\EDY\AppData\Local\Temp
[DEBUG] env.TERM: xterm
[DEBUG] env.TERM_PROGRAM: mintty
[DEBUG] env.TERM_PROGRAM_VERSION: 3.7.6
[DEBUG] env.TMP: C:\Users\EDY\AppData\Local\Temp
[DEBUG] env.TMPDIR: C:\Users\EDY\AppData\Local\Temp
[DEBUG] env.USERDOMAIN: CHINAMI-NI5948B
[DEBUG] env.USERDOMAIN_ROAMINGPROFILE: CHINAMI-NI5948B
[DEBUG] env.USERNAME: EDY
[DEBUG] env.USERPROFILE: C:\Users\EDY
[DEBUG] env.VBOX_MSI_INSTALL_PATH: D:\VirtualBox\
[DEBUG] env.WINDIR: C:\Windows
[DEBUG] env.ZES_ENABLE_SYSMAN: 1
[DEBUG] fastjson2.version: 2.0.37
[DEBUG] file.encoding: GBK
[DEBUG] file.separator: \
[DEBUG] hutool.version: 5.8.15
[DEBUG] jakarta.xml.version: 4.0.2
[DEBUG] java.class.path: D:/Program/Maven/apache-maven-3.9.9-bin/boot/plexus-classworlds-2.8.0.jar
[DEBUG] java.class.version: 61.0
[DEBUG] java.home: D:\Program\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2
[DEBUG] java.io.tmpdir: C:\Users\EDY\AppData\Local\Temp\
[DEBUG] java.library.path: D:\Program\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Users\EDY\bin;D:\Program\G
it\mingw64\bin;D:\Program\Git\usr\local\bin;D:\Program\Git\usr\bin;D:\Program\Git\usr\bin;D:\Program\Git\mingw64\bin;D:\Program\Git\usr\bin;C:\Users\EDY\bin;C:\Program File
s (x86)\VMware\VMware Workstation\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;D:\Prog
ram\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2\bin;D:\Program\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2\jre\bin;D:\Program\Maven\apache-maven-3.9.9-bin\bin;D:\Progra
m\Go-Lang\go1.23.3.windows-amd64\go\bin;D:\Workspace\CodeRepositories\GoHelloWorld\bin;D:\Program\Git\cmd;C:\Users\EDY\AppData\Local\Microsoft\WindowsApps;D:\Program\VSCode
\bin;D:\Program\Git\usr\bin\vendor_perl;D:\Program\Git\usr\bin\core_perl;.
[DEBUG] java.runtime.name: OpenJDK Runtime Environment
[DEBUG] java.runtime.version: 17.0.2+8-86
[DEBUG] java.specification.name: Java Platform API Specification
[DEBUG] java.specification.vendor: Oracle Corporation
[DEBUG] java.specification.version: 17
[DEBUG] java.vendor: Oracle Corporation
[DEBUG] java.vendor.url: https://java.oracle.com/
[DEBUG] java.vendor.url.bug: https://bugreport.java.com/bugreport/
[DEBUG] java.verison: 17
[DEBUG] java.version: 17.0.2
[DEBUG] java.version.date: 2022-01-18
[DEBUG] java.vm.compressedOopsMode: Zero based
[DEBUG] java.vm.info: mixed mode, sharing
[DEBUG] java.vm.name: OpenJDK 64-Bit Server VM
[DEBUG] java.vm.specification.name: Java Virtual Machine Specification
[DEBUG] java.vm.specification.vendor: Oracle Corporation
[DEBUG] java.vm.specification.version: 17
[DEBUG] java.vm.vendor: Oracle Corporation
[DEBUG] java.vm.version: 17.0.2+8-86
[DEBUG] jdk.debug: release
[DEBUG] junit.version: 5.8.2
[DEBUG] library.jansi.path: D:/Program/Maven/apache-maven-3.9.9-bin/lib/jansi-native
[DEBUG] line.separator:
[DEBUG] log4j.version: 2.20.0
[DEBUG] lombok.version: 1.18.24
[DEBUG] lz4-java.version: 1.8.0
[DEBUG] maven-assembly-plugin.version: 3.4.2
[DEBUG] maven-compiler-plugin.version: 3.8.1
[DEBUG] maven-dependency-plugin.version: 3.2.0
[DEBUG] maven-jar-plugin.version: 3.2.0
[DEBUG] maven-resources-plugin.version: 3.3.1
[DEBUG] maven-shade-plugin.version: 3.2.4
[DEBUG] maven.build.timestamp: 2024-12-25T02:05:47Z
[DEBUG] maven.build.version: Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
[DEBUG] maven.compiler.source: 17.0.2
[DEBUG] maven.compiler.target: 17.0.2
[DEBUG] maven.conf: D:/Program/Maven/apache-maven-3.9.9-bin/conf
[DEBUG] maven.home: D:\Program\Maven\apache-maven-3.9.9-bin
[DEBUG] maven.multiModuleProjectDirectory: D:/Workspace/CodeRepositories/xxx-platform/xxx-sdk/xxx-sdk-utils
[DEBUG] maven.version: 3.9.9
[DEBUG] native.encoding: GBK
[DEBUG] os.arch: amd64
[DEBUG] os.name: Windows 10
[DEBUG] os.version: 10.0
[DEBUG] path.separator: ;
[DEBUG] project.baseUri: file:/D:/Workspace/CodeRepositories/xxx-platform/xxx-sdk/xxx-sdk-utils/
[DEBUG] project.build.sourceEncoding: UTF-8
[DEBUG] project.reporting.outputEncoding: UTF-8
[DEBUG] slf4j.version: 1.7.25
[DEBUG] sun.arch.data.model: 64
[DEBUG] sun.boot.library.path: D:\Program\JDK\openjdk-17.0.2_windows-x64_bin\jdk-17.0.2\bin
[DEBUG] sun.cpu.endian: little
[DEBUG] sun.cpu.isalist: amd64
[DEBUG] sun.io.unicode.encoding: UnicodeLittle
[DEBUG] sun.java.command: org.codehaus.plexus.classworlds.launcher.Launcher clean install -X
[DEBUG] sun.java.launcher: SUN_STANDARD
[DEBUG] sun.jnu.encoding: GBK
[DEBUG] sun.management.compiler: HotSpot 64-Bit Tiered Compilers
[DEBUG] sun.os.patch.level:
[DEBUG] sun.stderr.encoding: ms936
[DEBUG] sun.stdout.encoding: ms936
[DEBUG] user.country: CN
[DEBUG] user.dir: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils
[DEBUG] user.home: C:\Users\EDY
[DEBUG] user.language: zh
[DEBUG] user.name: EDY
[DEBUG] user.script:
[DEBUG] user.variant:
[DEBUG] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] Using 'UTF-8' encoding to copy filtered properties files.
[DEBUG] resource with targetPath null
directory D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\resources
excludes []
includes []
[DEBUG] ignoreDelta true
[INFO] Copying 1 resource from src\main\resources to target\classes
[DEBUG] Copying file log4j2.properties
[DEBUG] file log4j2.properties has a filtered file extension
[DEBUG] Using 'UTF-8' encoding to copy filtered resource 'log4j2.properties'.
[DEBUG] copy D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\resources\log4j2.properties to D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx
-sdk-utils\target\classes\log4j2.properties
[DEBUG] no user filter components
[INFO]
[INFO] --- compiler:3.8.1:compile (default-compile) @ xxx-sdk-utils ---
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for codehaus.snapshots (http://snapshots.repository.codehaus.org).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for ow2-snapshot (http://repository.ow2.org/nexus/content/repositories/snapshots).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=235800, ConflictMarker.markTime=151600, ConflictMarker.nodeCount=118, ConflictIdSorter.graphTime=90900, Conf
lictIdSorter.topsortTime=34100, ConflictIdSorter.conflictIdCount=45, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1559800, ConflictResolver.conflictI
temCount=72, DfDependencyCollector.collectTime=202789500, DfDependencyCollector.transformTime=2098100}
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.1
[DEBUG] org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG] org.apache.maven:maven-model:jar:3.0:compile
[DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG] org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG] org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.4:compile
[DEBUG] org.apache.maven:maven-core:jar:3.0:compile
[DEBUG] org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG] org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG] org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG] org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG] org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG] org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG] org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG] org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile (version managed from default)
[DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG] org.apache.maven.shared:maven-shared-utils:jar:3.2.1:compile
[DEBUG] commons-io:commons-io:jar:2.5:compile
[DEBUG] org.apache.maven.shared:maven-shared-incremental:jar:1.1:compile
[DEBUG] org.codehaus.plexus:plexus-java:jar:0.9.10:compile
[DEBUG] org.ow2.asm:asm:jar:6.2:compile
[DEBUG] com.thoughtworks.qdox:qdox:jar:2.0-M9:compile (version managed from default)
[DEBUG] org.codehaus.plexus:plexus-compiler-api:jar:2.8.4:compile
[DEBUG] org.codehaus.plexus:plexus-compiler-manager:jar:2.8.4:compile
[DEBUG] org.codehaus.plexus:plexus-compiler-javac:jar:2.8.4:runtime
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.1
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.1
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.1
[DEBUG] Included: org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.1
[DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.4
[DEBUG] Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1
[DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:3.2.1
[DEBUG] Included: commons-io:commons-io:jar:2.5
[DEBUG] Included: org.apache.maven.shared:maven-shared-incremental:jar:1.1
[DEBUG] Included: org.codehaus.plexus:plexus-java:jar:0.9.10
[DEBUG] Included: org.ow2.asm:asm:jar:6.2
[DEBUG] Included: com.thoughtworks.qdox:qdox:jar:2.0-M9
[DEBUG] Included: org.codehaus.plexus:plexus-compiler-api:jar:2.8.4
[DEBUG] Included: org.codehaus.plexus:plexus-compiler-manager:jar:2.8.4
[DEBUG] Included: org.codehaus.plexus:plexus-compiler-javac:jar:2.8.4
[DEBUG] Loading mojo org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.1,
parent: jdk.internal.loader.ClassLoaders$AppClassLoader@33909752]
[DEBUG] Configuring mojo execution 'org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile:default-compile' with basic configurator -->
[DEBUG] (f) basedir = D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils
[DEBUG] (f) buildDirectory = D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target
[DEBUG] (f) compilePath = [D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes, D:\Program-Data\Maven-Repository\com\xxx\xxx-sdk-pojo\1.0.0\da
q-sdk-pojo-1.0.0.jar, D:\Program-Data\Maven-Repository\org\springframework\cloud\spring-cloud-starter-bootstrap\4.1.3\spring-cloud-starter-bootstrap-4.1.3.jar, D:\Program-D
ata\Maven-Repository\org\springframework\cloud\spring-cloud-starter\4.1.3\spring-cloud-starter-4.1.3.jar, D:\Program-Data\Maven-Repository\org\springframework\boot\spring-b
oot-starter\3.2.6\spring-boot-starter-3.2.6.jar, D:\Program-Data\Maven-Repository\org\springframework\boot\spring-boot\3.2.6\spring-boot-3.2.6.jar, D:\Program-Data\Maven-Re
pository\org\springframework\spring-context\6.1.8\spring-context-6.1.8.jar, D:\Program-Data\Maven-Repository\org\springframework\spring-aop\6.1.8\spring-aop-6.1.8.jar, D:\P
rogram-Data\Maven-Repository\org\springframework\spring-beans\6.1.8\spring-beans-6.1.8.jar, D:\Program-Data\Maven-Repository\org\springframework\spring-expression\6.1.8\spr
ing-expression-6.1.8.jar, D:\Program-Data\Maven-Repository\io\micrometer\micrometer-observation\1.12.6\micrometer-observation-1.12.6.jar, D:\Program-Data\Maven-Repository\i
o\micrometer\micrometer-commons\1.12.6\micrometer-commons-1.12.6.jar, D:\Program-Data\Maven-Repository\org\springframework\boot\spring-boot-autoconfigure\3.2.6\spring-boot-
autoconfigure-3.2.6.jar, D:\Program-Data\Maven-Repository\org\springframework\boot\spring-boot-starter-logging\3.2.6\spring-boot-starter-logging-3.2.6.jar, D:\Program-Data\
Maven-Repository\ch\qos\logback\logback-classic\1.4.14\logback-classic-1.4.14.jar, D:\Program-Data\Maven-Repository\ch\qos\logback\logback-core\1.4.14\logback-core-1.4.14.j
ar, D:\Program-Data\Maven-Repository\org\apache\logging\log4j\log4j-to-slf4j\2.21.1\log4j-to-slf4j-2.21.1.jar, D:\Program-Data\Maven-Repository\org\slf4j\jul-to-slf4j\2.0.1
3\jul-to-slf4j-2.0.13.jar, D:\Program-Data\Maven-Repository\jakarta\annotation\jakarta.annotation-api\2.1.1\jakarta.annotation-api-2.1.1.jar, D:\Program-Data\Maven-Reposito
ry\org\springframework\spring-core\6.1.8\spring-core-6.1.8.jar, D:\Program-Data\Maven-Repository\org\springframework\spring-jcl\6.1.8\spring-jcl-6.1.8.jar, D:\Program-Data\
Maven-Repository\org\yaml\snakeyaml\2.2\snakeyaml-2.2.jar, D:\Program-Data\Maven-Repository\org\springframework\cloud\spring-cloud-context\4.1.3\spring-cloud-context-4.1.3.
jar, D:\Program-Data\Maven-Repository\org\springframework\security\spring-security-crypto\6.2.4\spring-security-crypto-6.2.4.jar, D:\Program-Data\Maven-Repository\org\sprin
gframework\cloud\spring-cloud-commons\4.1.3\spring-cloud-commons-4.1.3.jar, D:\Program-Data\Maven-Repository\org\springframework\security\spring-security-rsa\1.1.3\spring-s
ecurity-rsa-1.1.3.jar, D:\Program-Data\Maven-Repository\org\bouncycastle\bcprov-jdk18on\1.78\bcprov-jdk18on-1.78.jar, D:\Program-Data\Maven-Repository\org\apache\commons\co
mmons-lang3\3.9\commons-lang3-3.9.jar, D:\Program-Data\Maven-Repository\commons-io\commons-io\2.13.0\commons-io-2.13.0.jar, D:\Program-Data\Maven-Repository\commons-codec\c
ommons-codec\1.13\commons-codec-1.13.jar, D:\Program-Data\Maven-Repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar, D:\Program-Data\Maven-Repository\org\apache\logg
ing\log4j\log4j-api\2.20.0\log4j-api-2.20.0.jar, D:\Program-Data\Maven-Repository\org\apache\logging\log4j\log4j-core\2.20.0\log4j-core-2.20.0.jar, D:\Program-Data\Maven-Re
pository\org\apache\logging\log4j\log4j-slf4j-impl\2.20.0\log4j-slf4j-impl-2.20.0.jar, D:\Program-Data\Maven-Repository\com\alibaba\fastjson2\fastjson2\2.0.37\fastjson2-2.0
.37.jar, D:\Program-Data\Maven-Repository\cn\hutool\hutool-core\5.8.15\hutool-core-5.8.15.jar, D:\Program-Data\Maven-Repository\org\lz4\lz4-java\1.8.0\lz4-java-1.8.0.jar, D
:\Program-Data\Maven-Repository\jakarta\xml\bind\jakarta.xml.bind-api\4.0.2\jakarta.xml.bind-api-4.0.2.jar, D:\Program-Data\Maven-Repository\jakarta\activation\jakarta.acti
vation-api\2.1.3\jakarta.activation-api-2.1.3.jar]
[DEBUG] (f) compileSourceRoots = [D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java]
[DEBUG] (f) compilerId = javac
[DEBUG] (f) debug = true
[DEBUG] (f) encoding = UTF-8
[DEBUG] (f) failOnError = true
[DEBUG] (f) failOnWarning = false
[DEBUG] (f) forceJavacCompilerUse = false
[DEBUG] (f) fork = false
[DEBUG] (f) generatedSourcesDirectory = D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\generated-sources\annotations
[DEBUG] (f) mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile {execution: default-compile}
[DEBUG] (f) optimize = false
[DEBUG] (f) outputDirectory = D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes
[DEBUG] (f) parameters = false
[DEBUG] (f) project = MavenProject: com.xxx:xxx-sdk-utils:1.0.0 @ D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\pom.xml
[DEBUG] (f) projectArtifact = com.xxx:xxx-sdk-utils:jar:1.0.0
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@3804a9a8
[DEBUG] (f) showDeprecation = false
[DEBUG] (f) showWarnings = false
[DEBUG] (f) skipMultiThreadWarning = false
[DEBUG] (f) source = 17.0.2
[DEBUG] (f) staleMillis = 0
[DEBUG] (s) target = 17.0.2
[DEBUG] (f) useIncrementalCompilation = true
[DEBUG] (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Adding D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\generated-sources\annotations to compile source roots:
D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java
[DEBUG] New compile source roots:
D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java
D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\generated-sources\annotations
[DEBUG] CompilerReuseStrategy: reuseCreated
[DEBUG] useIncrementalCompilation enabled
[DEBUG] Stale source detected: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java\com\xxx\sdk\utils\text\StringUtils.java
[DEBUG] Stale source detected: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java\com\xxx\sdk\utils\net\NetFileUtils.java
[DEBUG] Stale source detected: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java\com\xxx\sdk\utils\text\Base64Utils.java
[DEBUG] Stale source detected: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java\com\xxx\sdk\utils\UtilsEntry.java
[DEBUG] Stale source detected: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java\com\xxx\sdk\utils\compress\GZipUtils.java
[DEBUG] Stale source detected: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java\com\xxx\sdk\utils\compress\Lz4Utils.java
[DEBUG] Stale source detected: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java\com\xxx\sdk\utils\dbc\DbcReader.java
[DEBUG] Stale source detected: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java\com\xxx\sdk\utils\dbc\DBCFileUtils.java
[DEBUG] Stale source detected: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java\com\xxx\sdk\utils\bytes\BytesUtils.java
[DEBUG] Stale source detected: D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java\com\xxx\sdk\utils\bytes\SourceStringReader.java
[INFO] Changes detected - recompiling the module!
[DEBUG] Classpath:
[DEBUG] D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes
[DEBUG] D:\Program-Data\Maven-Repository\com\xxx\xxx-sdk-pojo\1.0.0\xxx-sdk-pojo-1.0.0.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\cloud\spring-cloud-starter-bootstrap\4.1.3\spring-cloud-starter-bootstrap-4.1.3.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\cloud\spring-cloud-starter\4.1.3\spring-cloud-starter-4.1.3.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\boot\spring-boot-starter\3.2.6\spring-boot-starter-3.2.6.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\boot\spring-boot\3.2.6\spring-boot-3.2.6.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\spring-context\6.1.8\spring-context-6.1.8.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\spring-aop\6.1.8\spring-aop-6.1.8.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\spring-beans\6.1.8\spring-beans-6.1.8.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\spring-expression\6.1.8\spring-expression-6.1.8.jar
[DEBUG] D:\Program-Data\Maven-Repository\io\micrometer\micrometer-observation\1.12.6\micrometer-observation-1.12.6.jar
[DEBUG] D:\Program-Data\Maven-Repository\io\micrometer\micrometer-commons\1.12.6\micrometer-commons-1.12.6.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\boot\spring-boot-autoconfigure\3.2.6\spring-boot-autoconfigure-3.2.6.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\boot\spring-boot-starter-logging\3.2.6\spring-boot-starter-logging-3.2.6.jar
[DEBUG] D:\Program-Data\Maven-Repository\ch\qos\logback\logback-classic\1.4.14\logback-classic-1.4.14.jar
[DEBUG] D:\Program-Data\Maven-Repository\ch\qos\logback\logback-core\1.4.14\logback-core-1.4.14.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\apache\logging\log4j\log4j-to-slf4j\2.21.1\log4j-to-slf4j-2.21.1.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\slf4j\jul-to-slf4j\2.0.13\jul-to-slf4j-2.0.13.jar
[DEBUG] D:\Program-Data\Maven-Repository\jakarta\annotation\jakarta.annotation-api\2.1.1\jakarta.annotation-api-2.1.1.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\spring-core\6.1.8\spring-core-6.1.8.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\spring-jcl\6.1.8\spring-jcl-6.1.8.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\yaml\snakeyaml\2.2\snakeyaml-2.2.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\cloud\spring-cloud-context\4.1.3\spring-cloud-context-4.1.3.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\security\spring-security-crypto\6.2.4\spring-security-crypto-6.2.4.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\cloud\spring-cloud-commons\4.1.3\spring-cloud-commons-4.1.3.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\springframework\security\spring-security-rsa\1.1.3\spring-security-rsa-1.1.3.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\bouncycastle\bcprov-jdk18on\1.78\bcprov-jdk18on-1.78.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\apache\commons\commons-lang3\3.9\commons-lang3-3.9.jar
[DEBUG] D:\Program-Data\Maven-Repository\commons-io\commons-io\2.13.0\commons-io-2.13.0.jar
[DEBUG] D:\Program-Data\Maven-Repository\commons-codec\commons-codec\1.13\commons-codec-1.13.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\apache\logging\log4j\log4j-api\2.20.0\log4j-api-2.20.0.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\apache\logging\log4j\log4j-core\2.20.0\log4j-core-2.20.0.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\apache\logging\log4j\log4j-slf4j-impl\2.20.0\log4j-slf4j-impl-2.20.0.jar
[DEBUG] D:\Program-Data\Maven-Repository\com\alibaba\fastjson2\fastjson2\2.0.37\fastjson2-2.0.37.jar
[DEBUG] D:\Program-Data\Maven-Repository\cn\hutool\hutool-core\5.8.15\hutool-core-5.8.15.jar
[DEBUG] D:\Program-Data\Maven-Repository\org\lz4\lz4-java\1.8.0\lz4-java-1.8.0.jar
[DEBUG] D:\Program-Data\Maven-Repository\jakarta\xml\bind\jakarta.xml.bind-api\4.0.2\jakarta.xml.bind-api-4.0.2.jar
[DEBUG] D:\Program-Data\Maven-Repository\jakarta\activation\jakarta.activation-api\2.1.3\jakarta.activation-api-2.1.3.jar
[DEBUG] Source roots:
[DEBUG] D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\java
[DEBUG] D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\generated-sources\annotations
[DEBUG] Command line options:
[DEBUG] -d D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes -classpath D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\targe
t\classes;D:\Program-Data\Maven-Repository\com\xxx\xxx-sdk-pojo\1.0.0\xxx-sdk-pojo-1.0.0.jar;D:\Program-Data\Maven-Repository\org\springframework\cloud\spring-cloud-starter
-bootstrap\4.1.3\spring-cloud-starter-bootstrap-4.1.3.jar;D:\Program-Data\Maven-Repository\org\springframework\cloud\spring-cloud-starter\4.1.3\spring-cloud-starter-4.1.3.j
ar;D:\Program-Data\Maven-Repository\org\springframework\boot\spring-boot-starter\3.2.6\spring-boot-starter-3.2.6.jar;D:\Program-Data\Maven-Repository\org\springframework\bo
ot\spring-boot\3.2.6\spring-boot-3.2.6.jar;D:\Program-Data\Maven-Repository\org\springframework\spring-context\6.1.8\spring-context-6.1.8.jar;D:\Program-Data\Maven-Reposito
ry\org\springframework\spring-aop\6.1.8\spring-aop-6.1.8.jar;D:\Program-Data\Maven-Repository\org\springframework\spring-beans\6.1.8\spring-beans-6.1.8.jar;D:\Program-Data\
Maven-Repository\org\springframework\spring-expression\6.1.8\spring-expression-6.1.8.jar;D:\Program-Data\Maven-Repository\io\micrometer\micrometer-observation\1.12.6\microm
eter-observation-1.12.6.jar;D:\Program-Data\Maven-Repository\io\micrometer\micrometer-commons\1.12.6\micrometer-commons-1.12.6.jar;D:\Program-Data\Maven-Repository\org\spri
ngframework\boot\spring-boot-autoconfigure\3.2.6\spring-boot-autoconfigure-3.2.6.jar;D:\Program-Data\Maven-Repository\org\springframework\boot\spring-boot-starter-logging\3
.2.6\spring-boot-starter-logging-3.2.6.jar;D:\Program-Data\Maven-Repository\ch\qos\logback\logback-classic\1.4.14\logback-classic-1.4.14.jar;D:\Program-Data\Maven-Repositor
y\ch\qos\logback\logback-core\1.4.14\logback-core-1.4.14.jar;D:\Program-Data\Maven-Repository\org\apache\logging\log4j\log4j-to-slf4j\2.21.1\log4j-to-slf4j-2.21.1.jar;D:\Pr
ogram-Data\Maven-Repository\org\slf4j\jul-to-slf4j\2.0.13\jul-to-slf4j-2.0.13.jar;D:\Program-Data\Maven-Repository\jakarta\annotation\jakarta.annotation-api\2.1.1\jakarta.a
nnotation-api-2.1.1.jar;D:\Program-Data\Maven-Repository\org\springframework\spring-core\6.1.8\spring-core-6.1.8.jar;D:\Program-Data\Maven-Repository\org\springframework\sp
ring-jcl\6.1.8\spring-jcl-6.1.8.jar;D:\Program-Data\Maven-Repository\org\yaml\snakeyaml\2.2\snakeyaml-2.2.jar;D:\Program-Data\Maven-Repository\org\springframework\cloud\spr
ing-cloud-context\4.1.3\spring-cloud-context-4.1.3.jar;D:\Program-Data\Maven-Repository\org\springframework\security\spring-security-crypto\6.2.4\spring-security-crypto-6.2
.4.jar;D:\Program-Data\Maven-Repository\org\springframework\cloud\spring-cloud-commons\4.1.3\spring-cloud-commons-4.1.3.jar;D:\Program-Data\Maven-Repository\org\springframe
work\security\spring-security-rsa\1.1.3\spring-security-rsa-1.1.3.jar;D:\Program-Data\Maven-Repository\org\bouncycastle\bcprov-jdk18on\1.78\bcprov-jdk18on-1.78.jar;D:\Progr
am-Data\Maven-Repository\org\apache\commons\commons-lang3\3.9\commons-lang3-3.9.jar;D:\Program-Data\Maven-Repository\commons-io\commons-io\2.13.0\commons-io-2.13.0.jar;D:\P
rogram-Data\Maven-Repository\commons-codec\commons-codec\1.13\commons-codec-1.13.jar;D:\Program-Data\Maven-Repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;D:\Pro
gram-Data\Maven-Repository\org\apache\logging\log4j\log4j-api\2.20.0\log4j-api-2.20.0.jar;D:\Program-Data\Maven-Repository\org\apache\logging\log4j\log4j-core\2.20.0\log4j-
core-2.20.0.jar;D:\Program-Data\Maven-Repository\org\apache\logging\log4j\log4j-slf4j-impl\2.20.0\log4j-slf4j-impl-2.20.0.jar;D:\Program-Data\Maven-Repository\com\alibaba\f
astjson2\fastjson2\2.0.37\fastjson2-2.0.37.jar;D:\Program-Data\Maven-Repository\cn\hutool\hutool-core\5.8.15\hutool-core-5.8.15.jar;D:\Program-Data\Maven-Repository\org\lz4
\lz4-java\1.8.0\lz4-java-1.8.0.jar;D:\Program-Data\Maven-Repository\jakarta\xml\bind\jakarta.xml.bind-api\4.0.2\jakarta.xml.bind-api-4.0.2.jar;D:\Program-Data\Maven-Reposit
ory\jakarta\activation\jakarta.activation-api\2.1.3\jakarta.activation-api-2.1.3.jar; -sourcepath D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\src\main\
java;D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\generated-sources\annotations; -s D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-ut
ils\target\generated-sources\annotations -g -nowarn -target 17.0.2 -source 17.0.2 -encoding UTF-8
[DEBUG] incrementalBuildHelper#beforeRebuildExecution
[INFO] Compiling 10 source files to D:\Workspace\CodeRepositories\xxx-platform\xxx-sdk\xxx-sdk-utils\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.389 s
[INFO] Finished at: 2024-12-25T10:05:48+08:00
[INFO] ------------------------------------------------------------------------
...
X 参考文献
- Apache Maven:maven-compiler-plugin

本文链接: https://www.cnblogs.com/johnnyzen
关于博文:评论和私信会在第一时间回复,或直接私信我。
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
日常交流:大数据与软件开发-QQ交流群: 774386015 【入群二维码】参见左下角。您的支持、鼓励是博主技术写作的重要动力!