required artifact is missing.

本文介绍了在配置Nexus仓库组时遇到的下载错误问题,并提供了详细的解决步骤。错误主要是由于PublicRepositories的配置顺序不当导致无法正确下载构件。文章还给出了正确的仓库配置顺序示例。

配置仓库组后,下载报错:

1 required artifact is missing.

for artifact: 
  org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.1

from the specified remote repositories:
  Nexus (http://172.16.60.71:8181/nexus/content/groups/public , releases=true, snapshots=false)

原因:主要原因是配置nexus里面的 Public Repositories 顺序和条件出错,导致不能下载构件。

解决方法:下边这个图中是正确的配置顺序



讲解:左边(Ordered Group Repositories)的是正在使用的定义好的仓库组,右边(Available Repositories)是可选的。下载构件的顺序是先在本地releases找,如果没有再在snapshots里找,再3rd party,最后是本地机子都没有构件就到远程(外网)提供的网站下载构件。以此类推


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on project standalone-pom: Couldn't download artifact: Missing: [ERROR] ---------- [ERROR] 1) com.oracle:component_encrypt:jar:2.0.0-2.0.0 [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=com.oracle -DartifactId=component_encrypt -Dversion=2.0.0-2.0.0 -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=com.oracle -DartifactId=component_encrypt -Dversion=2.0.0-2.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] Path to dependency: [ERROR] 1) org.apache.maven.plugins:maven-downloader-plugin:jar:1.0 [ERROR] 2) com.oracle:component_encrypt:jar:2.0.0-2.0.0 [ERROR] [ERROR] ---------- [ERROR] 1 required artifact is missing. [ERROR] [ERROR] for artifact: [ERROR] org.apache.maven.plugins:maven-downloader-plugin:jar:1.0 [ERROR] [ERROR] from the specified remote repositories: [ERROR] aliyunmaven (https://maven.aliyun.com/repository/public, 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 安装了maven使用命令报错
08-12
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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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's base path is /IScheduledTaskControllerService/v1/scheduled-task [INFO] tag:IApiAssetsHisService's base path is /IApiAssetsHisService/v1/api-assets/his [INFO] tag:HealthCheckController'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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 '@EqualsAndHashCode(callSuper=false)' 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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 'compilerVersion' (user property 'maven.compiler.compilerVersion') 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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值