maven install 或 package 时 [WARNING] The POM for com.xx-base:jar:1.0 is missing, no dependency...

本文介绍了解决Maven项目中因未先执行公共模块导致的依赖问题。当子模块执行安装或打包时出现警告错误,应确保先安装公共模块。

maven install 或 package 时 ,执行警告报错:

[WARNING] The POM for com.xx-base:jar:1.0 is missing, no dependency information available

[ERROR] Failed to execute goal on project xx-mobi: Could not resolve dependencies for project com.xx-mobi:jar:1.0: Failed to collect dependencies at xx-base:jar:1.0: Failed to read artifact descriptor for xx-base:jar:1.0: Could not find artifact xx-root:pom:1.0 in geotoolrepo...


这是因为maven项目子模块在执行安装打包相关操作的时候,没有先执行公共模块。即项目有一个公共模块xx-base;当前需要执行的模块为xx-mobi,

那么应该先install xx-base,再执行xx-mobi 相关的操作。

D:\Java\jdk-21.0.2\bin\java.exe -Dmaven.multiModuleProjectDirectory=D:\java\code\GApiGCES_JDK21 -Djansi.passthrough=true -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true -Dmaven.resolver.transport=wagon -Dmaven.home=D:/java/maven/apache-maven-3.9.0 -Dclassworlds.conf=D:\java\maven\apache-maven-3.9.0\bin\m2.conf "-Dmaven.ext.class.path=D:\tools\IntelliJ IDEA 2025.1.3\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\tools\IntelliJ IDEA 2025.1.3\lib\idea_rt.jar=51689" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath D:\java\maven\apache-maven-3.9.0\boot\plexus-classworlds-2.6.0.jar;D:\java\maven\apache-maven-3.9.0\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2025.1.3 -s D:\java\code\GApiGCES_JDK21\settings.xml -Dmaven.repo.local=D:\java\maven\repository package [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] GaiaApiGC [pom] [INFO] gaia-apigc-i18n [jar] [INFO] gaia-apigc-config [jar] [INFO] gaia-apigc-standard [pom] [INFO] gaia-apigc-domain [jar] [INFO] gaia-apigc-infrastructure [jar] [INFO] gaia-apigc-api [jar] [INFO] gaia-apigc-client [jar] [INFO] gaia-apigc-service [jar] [INFO] gaia-apigc-adapter [jar] [INFO] gaia-apigc-app [jar] [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-parent >--------------- [INFO] Building GaiaApiGC 1.0.0-SNAPSHOT [1/11] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-parent --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-parent --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-parent --- [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-parent --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-parent --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-parent --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] ---------------< com.huawei.cbgit.gaia:gaia-apigc-i18n >---------------- [INFO] Building gaia-apigc-i18n 1.0.0-SNAPSHOT [2/11] [INFO] from gaia-apigc-i18n\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-i18n --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-i18n --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-i18n --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-i18n --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-i18n --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-i18n --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-i18n --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-i18n --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-i18n --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-i18n --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-i18n --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-i18n --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\target\gaia-apigc-i18n-1.0.0-SNAPSHOT.jar [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-config >--------------- [INFO] Building gaia-apigc-config 1.0.0-SNAPSHOT [3/11] [INFO] from gaia-apigc-config\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-config --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-config\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-config\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-config\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-config --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-config --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-config --- [INFO] Copying 10 resources from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-config --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-config --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-config --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-config --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-config\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-config --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-config --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-config --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-config --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-config\target\gaia-apigc-config-1.0.0-SNAPSHOT.jar [INFO] [INFO] -------------< com.huawei.cbgit.gaia:gaia-apigc-standard >-------------- [INFO] Building gaia-apigc-standard 1.0.0-SNAPSHOT [4/11] [INFO] from gaia-apigc-standard\pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-standard --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-standard --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-standard --- [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-standard --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-standard --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-standard --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-domain >--------------- [INFO] Building gaia-apigc-domain 1.0.0-SNAPSHOT [5/11] [INFO] from gaia-apigc-standard\gaia-apigc-domain\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-domain --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-domain --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-domain --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-domain --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-domain --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed source code. [INFO] Compiling 100 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 指定了搜索路径 (--processor-path, --processor-module-path), 显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-domain/src/main/java/com/huawei/it/gaia/apigc/domain/common/consts/ApplicationAssetsConfigEnum.java: 某些输入文件使用覆盖了已过的 API。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-domain/src/main/java/com/huawei/it/gaia/apigc/domain/common/consts/ApplicationAssetsConfigEnum.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-domain/src/main/java/com/huawei/it/gaia/apigc/domain/utils/ThreadLocalUtils.java: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\src\main\java\com\huawei\it\gaia\apigc\domain\utils\ThreadLocalUtils.java使用了未经检查不安全的操作。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-domain/src/main/java/com/huawei/it/gaia/apigc/domain/utils/ThreadLocalUtils.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-domain --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-domain --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-domain --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-domain --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-domain --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-domain --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-domain --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\target\gaia-apigc-domain-1.0.0-SNAPSHOT.jar [INFO] [INFO] ----------< com.huawei.cbgit.gaia:gaia-apigc-infrastructure >----------- [INFO] Building gaia-apigc-infrastructure 1.0.0-SNAPSHOT [6/11] [INFO] from gaia-apigc-standard\gaia-apigc-infrastructure\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-infrastructure --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-infrastructure --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-infrastructure --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-infrastructure --- [INFO] Copying 43 resources from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-infrastructure --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 77 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 指定了搜索路径 (--processor-path, --processor-module-path), 显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-infrastructure/src/main/java/com/huawei/it/gaia/apigc/infrastructure/scheduledtask/TaskGateway.java: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\src\main\java\com\huawei\it\gaia\apigc\infrastructure\scheduledtask\TaskGateway.java使用覆盖了已过的 API。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-infrastructure/src/main/java/com/huawei/it/gaia/apigc/infrastructure/scheduledtask/TaskGateway.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-infrastructure/src/main/java/com/huawei/it/gaia/apigc/infrastructure/api/ApiGateway.java: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\src\main\java\com\huawei\it\gaia\apigc\infrastructure\api\ApiGateway.java使用了未经检查不安全的操作。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-infrastructure/src/main/java/com/huawei/it/gaia/apigc/infrastructure/api/ApiGateway.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-infrastructure --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-infrastructure --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-infrastructure --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-infrastructure --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-infrastructure --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-infrastructure --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-infrastructure --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\target\gaia-apigc-infrastructure-1.0.0-SNAPSHOT.jar [INFO] [INFO] ----------------< com.huawei.cbgit.gaia:gaia-apigc-api >---------------- [INFO] Building gaia-apigc-api 1.0.0-SNAPSHOT [7/11] [INFO] from gaia-apigc-standard\gaia-apigc-api\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-api --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-api --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-api --- [INFO] [INFO] --- service-codegen:4.0.0.0:generate (model-generate) @ gaia-apigc-api --- [INFO] Use `inputSpec` tag to find yaml files. [INFO] Fuzzy search for path: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/resources/yamls/*.yaml [INFO] Fuzzy search. basePath=null, subPathOrFile=["D:\\java\\code\\GApiGCES_JDK21\\gaia-apigc-standard\\gaia-apigc-api","src","main","resources","yamls","*.yaml"] [INFO] Fuzzy search. basePath=D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api, subPathOrFile=["src","main","resources","yamls","*.yaml"] [INFO] Fuzzy search. basePath=D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src, subPathOrFile=["main","resources","yamls","*.yaml"] [INFO] Fuzzy search. basePath=D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main, subPathOrFile=["resources","yamls","*.yaml"] [INFO] Fuzzy search. basePath=D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources, subPathOrFile=["yamls","*.yaml"] [INFO] Fuzzy search. basePath=D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls, subPathOrFile=["*.yaml"] [INFO] All yaml file: [INFO] D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls\api-assets-his.yaml [INFO] D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls\common.yaml [INFO] D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls\health-check.yaml [INFO] D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls\schedule-task-v2.yaml [INFO] Use this file as base yaml and merge content. D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls\api-assets-his.yaml [INFO] Gen service code for jaxrs-cxf writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com/huawei/it/gaia/apigc/api/rest/model\ApiAssetsHisRequest.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com/huawei/it/gaia/apigc/api/rest/model\FilterVO.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com/huawei/it/gaia/apigc/api/rest/model\ScheduledTaskRequest.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com/huawei/it/gaia/apigc/api/rest/model\ParamsKeyValue.java [INFO] Tag add path:HealthCheckController Path:/HealthCheckController/v1/health/check/ [INFO] Tag add path:IApiAssetsHisService Path:/IApiAssetsHisService/v1/api-assets/his/{pageSize}/{curPage}/ [INFO] Tag add path:IScheduledTaskControllerService Path:/IScheduledTaskControllerService/v1/scheduled-task/edit/ [INFO] Tag add path:IScheduledTaskControllerService Path:/IScheduledTaskControllerService/v1/scheduled-task/execute/ [INFO] Tag add path:IScheduledTaskControllerService Path:/IScheduledTaskControllerService/v1/scheduled-task/list/ [INFO] Tag add path:IScheduledTaskControllerService Path:/IScheduledTaskControllerService/v1/scheduled-task/logs/{pageSize}/{pageNum}/ [INFO] Tag add path:IScheduledTaskControllerService Path:/IScheduledTaskControllerService/v1/scheduled-task/table/ [INFO] tag:IScheduledTaskControllerService&#39;s base path is /IScheduledTaskControllerService/v1/scheduled-task [INFO] tag:IApiAssetsHisService&#39;s base path is /IApiAssetsHisService/v1/api-assets/his [INFO] tag:HealthCheckController&#39;s base path is /HealthCheckController/v1/health/check [INFO] apiService=====D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/IApiAssetsHisService.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/IApiAssetsHisService.java [INFO] apiService=====D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/HealthCheckController.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/HealthCheckController.java [INFO] apiService=====D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/IScheduledTaskControllerService.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/IScheduledTaskControllerService.java [INFO] Gen sdk code [INFO] Client code does not need to generate! [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-api --- [INFO] Copying 4 resources from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-api --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed source code. [INFO] Compiling 7 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 指定了搜索路径 (--processor-path, --processor-module-path), 显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-api --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-api --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-api --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-api --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-api --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-api --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-api --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\target\gaia-apigc-api-1.0.0-SNAPSHOT.jar [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-client >--------------- [INFO] Building gaia-apigc-client 1.0.0-SNAPSHOT [8/11] [INFO] from gaia-apigc-standard\gaia-apigc-client\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-client --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-client --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-client --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-client --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-client --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed source code. [INFO] Compiling 61 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 指定了搜索路径 (--processor-path, --processor-module-path), 显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-client/src/main/java/com/huawei/it/gaia/apigc/client/apigc/clouddragon/CloudDragonClient.java: 某些输入文件使用覆盖了已过的 API。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-client/src/main/java/com/huawei/it/gaia/apigc/client/apigc/clouddragon/CloudDragonClient.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-client/src/main/java/com/huawei/it/gaia/apigc/client/util/HttpClientUtils.java: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\src\main\java\com\huawei\it\gaia\apigc\client\util\HttpClientUtils.java使用了未经检查不安全的操作。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-client/src/main/java/com/huawei/it/gaia/apigc/client/util/HttpClientUtils.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-client --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-client --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-client --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-client --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-client --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-client --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-client --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\target\gaia-apigc-client-1.0.0-SNAPSHOT.jar [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-service >-------------- [INFO] Building gaia-apigc-service 1.0.0-SNAPSHOT [9/11] [INFO] from gaia-apigc-standard\gaia-apigc-service\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-service --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-service --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-service --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-service --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-service --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 83 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 指定了搜索路径 (--processor-path, --processor-module-path), 显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [WARNING] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/api/assets/dto/ApiAssetsHisReqDTO.java:[19,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add &#39;@EqualsAndHashCode(callSuper=false)&#39; to your type. [WARNING] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/transform/EamapDBDataChecker.java:[133,17] java.security 中的 java.security.AccessController 已过, 且标记为待删除 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/api/assets/GetApiAssetsHisService.java: 某些输入文件使用覆盖了已过的 API。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/api/assets/GetApiAssetsHisService.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/transform/EamapDBDataChecker.java: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\src\main\java\com\huawei\it\gaia\apigc\service\transform\EamapDBDataChecker.java使用了未经检查不安全的操作。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/transform/EamapDBDataChecker.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-service --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-service --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-service --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-service --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-service --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-service --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-service --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\target\gaia-apigc-service-1.0.0-SNAPSHOT.jar [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-adapter >-------------- [INFO] Building gaia-apigc-adapter 1.0.0-SNAPSHOT [10/11] [INFO] from gaia-apigc-standard\gaia-apigc-adapter\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-adapter --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-adapter\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-adapter\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-adapter\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-adapter --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-adapter --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-adapter --- [INFO] Copying 1 resource from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-adapter --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 4 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 指定了搜索路径 (--processor-path, --processor-module-path), 显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-adapter --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-adapter --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-adapter --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-adapter\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-adapter --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-adapter --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-adapter --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-adapter --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-adapter\target\gaia-apigc-adapter-1.0.0-SNAPSHOT.jar [INFO] [INFO] ----------------< com.huawei.cbgit.gaia:gaia-apigc-app >---------------- [INFO] Building gaia-apigc-app 1.0.0-SNAPSHOT [11/11] [INFO] from gaia-apigc-app\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-app --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-app\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-app\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-app\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-app --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-app --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-app --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-app\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-app --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 指定了搜索路径 (--processor-path, --processor-module-path), 显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-app --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-app --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-app --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-app\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-app --- [WARNING] Parameter &#39;compilerVersion&#39; (user property &#39;maven.compiler.compilerVersion&#39;) is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [debug parameters target 21] to target\test-classes [INFO] 由于在类路径中发现了一个多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 指定了搜索路径 (--processor-path, --processor-module-path), 显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-app --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-app --- [INFO] Using auto detected provider org.apache.maven.surefire.junit.JUnit3Provider [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for GaiaApiGC 1.0.0-SNAPSHOT: [INFO] [INFO] GaiaApiGC .......................................... SUCCESS [ 1.784 s] [INFO] gaia-apigc-i18n .................................... SUCCESS [ 1.315 s] [INFO] gaia-apigc-config .................................. SUCCESS [ 0.592 s] [INFO] gaia-apigc-standard ................................ SUCCESS [ 0.448 s] [INFO] gaia-apigc-domain .................................. SUCCESS [ 9.583 s] [INFO] gaia-apigc-infrastructure .......................... SUCCESS [ 2.927 s] [INFO] gaia-apigc-api ..................................... SUCCESS [ 2.321 s] [INFO] gaia-apigc-client .................................. SUCCESS [ 2.822 s] [INFO] gaia-apigc-service ................................. SUCCESS [ 3.295 s] [INFO] gaia-apigc-adapter ................................. SUCCESS [ 2.128 s] [INFO] gaia-apigc-app ..................................... FAILURE [ 3.548 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31.153 s [INFO] Finished at: 2025-11-12T17:25:55+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test) on project gaia-apigc-app: Missing: [ERROR] ---------- [ERROR] 1) org.apache.maven.surefire:surefire-junit3:jar:3.0.0-M7 [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.apache.maven.surefire -DartifactId=surefire-junit3 -Dversion=3.0.0-M7 -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.maven.surefire -DartifactId=surefire-junit3 -Dversion=3.0.0-M7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] ---------- [ERROR] 1 required artifact is missing. [ERROR] [ERROR] for artifact: [ERROR] org.apache.maven.surefire:surefire-junit3:jar:3.0.0-M7 [ERROR] [ERROR] from the specified remote repositories: [ERROR] huawei-product-maven-plugin (https://cmc.centralrepo.rnd.huawei.com/artifactory/product_maven/, releases=true, snapshots=true), [ERROR] huawei-central-plugin (https://cmc.centralrepo.rnd.huawei.com/artifactory/maven-central-repo/, releases=true, snapshots=true), [ERROR] central (https://cmc.centralrepo.rnd.huawei.com/artifactory/product_maven/, releases=true, snapshots=false) [ERROR] [ERROR] -> [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :gaia-apigc-app 进程已结束,退出代码为 1
11-13
D:\biancheng\yf服务器代码\jdwlw>mvn clean package [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for jdwlw:jdwlw:war:0.0.1-SNAPSHOT [WARNING] &#39;build.plugins.plugin.version&#39; for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 358, column 12 [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] [INFO] [INFO] ----------------------------< jdwlw:jdwlw >----------------------------- [INFO] Building maven Maven Webapp 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ war ]--------------------------------- Downloading from jitpack.io: https://jitpack.io/com/google/code/ksoap2/ksoap2-android/3.6.4/ksoap2-android-3.6.4.pom Downloading from aliyun: https://maven.aliyun.com/repository/public/com/google/code/ksoap2/ksoap2-android/3.6.4/ksoap2-android-3.6.4.pom Downloading from central: https://repo.maven.apache.org/maven2/com/google/code/ksoap2/ksoap2-android/3.6.4/ksoap2-android-3.6.4.pom [WARNING] The POM for com.google.code.ksoap2:ksoap2-android:jar:3.6.4 is missing, no dependency information available Downloading from jitpack.io: https://jitpack.io/com/google/code/ksoap2/ksoap2-android/3.6.4/ksoap2-android-3.6.4.jar Downloading from aliyun: https://maven.aliyun.com/repository/public/com/google/code/ksoap2/ksoap2-android/3.6.4/ksoap2-android-3.6.4.jar Downloading from central: https://repo.maven.apache.org/maven2/com/google/code/ksoap2/ksoap2-android/3.6.4/ksoap2-android-3.6.4.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.524 s [INFO] Finished at: 2025-06-22T23:13:30+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project jdwlw: Could not resolve dependencies for project jdwlw:jdwlw:war:0.0.1-SNAPSHOT: Could not find artifact com.google.code.ksoap2:ksoap2-android:jar:3.6.4 in jitpack.io (https://jitpack.io) -> [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/DependencyResolutionException 解决上述报错 pom.xml:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>jdwlw</groupId> <artifactId>jdwlw</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>war</packaging> <name>maven Maven Webapp</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> <!-- 可选的阿里云镜像加速 --> <repository> <id>aliyun</id> <url>https://maven.aliyun.com/repository/public</url> </repository> </repositories> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <!-- <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> </dependency> --> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>4.1.6.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>4.1.6.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>4.1.6.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>4.1.6.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>4.1.6.RELEASE</version> </dependency> <!-- https://mvnrepository.com/artifact/org.ksoap2/ksoap2 --> <dependency> <groupId>com.google.code.ksoap2</groupId> <artifactId>ksoap2-android</artifactId> <version>3.6.4</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>4.1.6.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>4.1.6.RELEASE</version> </dependency> <!-- <dependency> <groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId> <version>4.1.6.RELEASE</version> </dependency> --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId> <version>3.2.13.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>3.2.2.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc-portlet</artifactId> <version>4.1.6.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-expression</artifactId> <version>4.1.6.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> <version>4.1.6.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-websocket</artifactId> <version>4.1.6.RELEASE</version> </dependency> <dependency> <groupId>quartz</groupId> <artifactId>quartz</artifactId> <version>1.5.2</version> </dependency> <dependency> <groupId>org.apache.ibatis</groupId> <artifactId>ibatis-sqlmap</artifactId> <version>2.3.4.726</version> </dependency> <!-- <dependency>--> <!-- <groupId>com.ibatis</groupId>--> <!-- <artifactId>ibatis2-sqlmap</artifactId>--> <!-- <version>2.1.7.597</version>--> <!-- </dependency>--> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.4</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.6</version> </dependency> <dependency> <groupId>commons-dbcp</groupId> <artifactId>commons-dbcp</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>commons-pool</groupId> <artifactId>commons-pool</artifactId> <version>1.6</version> </dependency> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.35</version> </dependency> <dependency> <groupId>com.belerweb</groupId> <artifactId>pinyin4j</artifactId> <version>2.5.0</version> </dependency> <dependency> <groupId>jstl</groupId> <artifactId>jstl</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.5</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.4.1</version> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.5.0-b01</version> </dependency> <!-- 激光消息推送Starts --> <dependency> <groupId>cn.jpush.api</groupId> <artifactId>jpush-client</artifactId> <version>3.1.3</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.5</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.5</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>17.0</version> </dependency> <dependency> <groupId>com.squareup.okhttp</groupId> <artifactId>mockwebserver</artifactId> <version>1.5.4</version> <scope>test</scope> </dependency> <!-- 激光消息推送END --> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.11</version> </dependency> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>2.10.0</version> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.2</version> </dependency> <dependency> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId> <version>2.1.7</version> </dependency> <!-- https://mvnrepository.com/artifact/commons-net/commons-net --> <dependency> <groupId>commons-net</groupId> <artifactId>commons-net</artifactId> <version>3.3</version> </dependency> <!-- https://mvnrepository.com/artifact/com.mchange/c3p0 --> <dependency> <groupId>com.mchange</groupId> <artifactId>c3p0</artifactId> <version>0.9.5.2</version> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.ws.commons.axiom/axiom-api --> <dependency> <groupId>org.apache.ws.commons.axiom</groupId> <artifactId>axiom-api</artifactId> <version>1.2.13</version> </dependency> <!-- https://mvnrepository.com/artifact/dom4j/dom4j --> <dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> <version>1.6.1</version> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.axis/axis --> <dependency> <groupId>org.apache.axis</groupId> <artifactId>axis</artifactId> <version>1.4</version> </dependency> <!-- https://mvnrepository.com/artifact/javax.xml.rpc/javax.xml.rpc-api --> <dependency> <groupId>javax.xml.rpc</groupId> <artifactId>javax.xml.rpc-api</artifactId> <version>1.1.1</version> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.axis2/axis2 --> <dependency> <groupId>org.apache.axis2</groupId> <artifactId>axis2</artifactId> <version>1.7.6</version> <type>pom</type> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.axis2/axis2-adb --> <dependency> <groupId>org.apache.axis2</groupId> <artifactId>axis2-adb</artifactId> <version>1.7.6</version> </dependency> <!-- https://mvnrepository.com/artifact/soap/soap --> <dependency> <groupId>soap</groupId> <artifactId>soap</artifactId> <version>2.3</version> </dependency> <!-- https://mvnrepository.com/artifact/commons-httpclient/commons-httpclient --> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>3.1</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.9.10.4</version> </dependency> <dependency> <groupId>org.eclipse.paho</groupId> <artifactId>org.eclipse.paho.client.mqttv3</artifactId> <version>1.2.0</version> </dependency> <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.7.2</version> </dependency> </dependencies> <build> <finalName>jdwlw</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</target> <encoding>utf-8</encoding> <compilerArguments> <extdirs>${project.basedir}/src/main/webapp/WEB-INF/lib</extdirs> </compilerArguments> </configuration> </plugin> </plugins> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> <filtering>false</filtering> </resource> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> <filtering>false</filtering> </resource> </resources> </build> </project>
06-23
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值