0

我在我的项目中使用 Maven3 我遇到了一个奇怪的问题,我不知道,但它正在搜索CGLIB并给出这个异常......

原因:org.sonatype.aether.resolution.ArtifactResolutionException:无法将工件 cglib-nodep:cglib-nodep:pom:2.1_3 从/到 jboss ( http://repository.jboss.com/maven2 ) 传输:拒绝访问: http ://repository.jboss.com/maven2/cglib-nodep/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom, 原因短语:禁止。在 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) 在 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) 在 org.sonatype.aether.impl .internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) 在 org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281) ... 37 更多

我不知道为什么它在 Jboss 存储库中搜索cglib,而我没有在我的 pom.xml filr 中定义任何这样的存储库。当它进入 Jboss 存储库时,任何人都可以有想法吗?

mvn -X 编译命令的输出

Apache Maven 3.0.4 (r1232337; 2012-01-17 14:14:56+0530) Maven 主页:C:\Java\apache-maven-3.0.4\bin.. Java 版本:1.6.0_37,供应商:Sun Microsystems Inc. Java 主页:C:\Program Files\Java\jdk1.6.0_37\jre 默认语言环境:en_IN,平台编码:Cp1252 操作系统名称:“windows 7”,

-------------------------------------------------- ---------------------- [INFO] Reactor Build Order: [INFO] [INFO] AMANDA Platform [INFO] AMANDA Core API [INFO] AMANDA Shared API [ INFO] AMANDA Web 应用程序 [INFO] AMANDA WebServices [INFO] AMANDA WebServices Client [INFO] Pdf 标记工具 [INFO] AMANDA Tomcat 安装程序 [DEBUG] === REACTOR BUILD PLAN ============= ====================================[调试]项目:com.csdcsystems:amanda:pom:7.0。 0.0 [DEBUG] 任务:[compile] [DEBUG] Style:Regular [DEBUG] -------------------------------- --------------------------------------- [DEBUG] 项目:com.csdcsystems:amanda- core:jar:7.0.0.0 [DEBUG] 任务:[compile] [DEBUG] 风格:Regular [DEBUG] -------------------------- --------------------------------------------- [DEBUG] 项目: com.csdcsystems:amanda-shared:jar:7.0.0。0 [DEBUG] 任务:[compile] [DEBUG] 样式:Regular [DEBUG]

================================================== [DEBUG ] 项目:com.csdcsystems:amanda-core:7.0.0.0 [DEBUG] 依赖项(收集):[] [DEBUG] 依赖项(解决):[编译] [DEBUG] 存储库(依赖项):[中央(https:// amandai.csdcsystems.com/artifactory/libs-release,releases),快照https://amandai.csdcsystems.com/artifactory/libs-snapshot,releases+snapshots),JBoss(https://repository.jboss.org/ nexus/content/groups/public-jboss/,releases+snapshots)] [DEBUG] Repositories (plugins) : [central ( https://amandai.csdcsystems.com/artifactory/plugins-release,releases ),快照( https: //amandai.csdcsystems.com/artifactory/plugins-snapshot, 发布+快照)] [DEBUG] ----------------------------------------- ------------------------------ [DEBUG] 目标:
org.apache.maven.plugins:maven-resources-plugin:2.5 :resources (default-resources) [DEBUG] 样式:常规 [DEBUG] 配置:${encoding} ${maven.resources.escapeString}
${maven.resources.escapeWindowsPaths} ${maven.resources.includeEmptyDirs}
${maven. resources.overwrite}
${maven.resources.supportMultiLineFiltering} [DEBUG] ------------------------------------ ------------------------------------ [DEBUG] 目标:
org.apache.maven.plugins:maven -compiler-plugin:3.0:compile (default-compile) [DEBUG] Style: Regular [DEBUG] Configuration:

${maven.compiler.compilerId}
${maven.compiler.compilerReuseStrategy} ${maven.compiler.compilerVersion}
${maven.compiler.debug}
${maven.compiler.debuglevel} ${encoding} ${maven.compiler.executable} ${maven.compiler. failOnError}
${maven.compiler.forceJavacCompilerUse} ${maven.compiler.fork}
${maven.compiler.maxmem}
${maven.compiler.meminitial}
${mojoExecution} ${maven.compiler.optimize}


${maven. compiler.showDeprecation} ${maven.compiler.showWarnings}
${maven.compiler.skipMultiThreadWarning} 1.6 ${lastModGranularityMs} 1.6 ${maven.compiler.verbose}
[DEBUG] ============= ==================================================== ======== [DEBUG] 使用优先级为 0 的连接器 WagonRepositoryConnector http://repository.jboss.com/maven2下载: http ://repository.jboss.com/maven2/cglib-nodep/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom

[调试] 写入分辨率跟踪文件 C:\Users\sjoshi.m2\repository\cglib-nodep\cglib-nodep\2.1_3\cglib-nodep-2.1_3.pom.lastUpdated [调试] 使用优先级为 0 的连接器 WagonRepositoryConnector 用于 http ://repository.jboss.com/maven2下载: http ://repository.jboss.com/maven2/jboss/jboss-jee/4.2.0.GA/jboss-jee-4.2.0.GA.pom

[DEBUG] 写入分辨率跟踪文件 C:\Users\sjoshi.m2\repository\jboss\jboss-jee\4.2.0.GA\jboss-jee-4.2.0.GA.pom.lastUpdated [INFO] ---- -------------------------------------------------- ------------------ [INFO] 反应堆摘要:[INFO] [INFO] AMANDA 平台 .................... ................. 成功 [0.000s] [INFO] AMANDA 核心 API ...................... ...... 失败 [3.521s] [INFO] AMANDA 共享 API ...................... ....... 跳过 [信息] AMANDA Web 应用程序 ...................... 跳过 [信息] AMANDA WebServices .. ............... 跳过 [信息] AMANDA WebServices 客户端 ...... ...... 跳过 [信息] Pdf 标记工具 ...................... .... 跳过 [信息] AMANDA Tomcat 安装程序 ...................跳过 [信息] ---------------------------------------------------------- -------------------------- [信息] 构建失败 [信息] ---------------- -------------------------------------------------- ------ [INFO] 总时间:3.826s [INFO] 完成时间:Thu Feb 14 11:11:29 IST 2013 [INFO] Final Memory: 5M/73M [INFO] -------- -------------------------------------------------- -------------- [错误] 无法在项目 amanda-core 上执行目标:无法解析项目 com.csdcsystems:amanda-core:jar:7.0.0.0 的依赖项:无法收集[javax.activation:activation:jar:1.1.1(编译)、commons-beanutils:commons-beanutils:jar:1.8.3(编译)、commons-codec:commons-codec:jar:1.7(编译)的依赖项, commons-collections:commons-collections:jar:3.2.1(编译),

com.moneris:payment-moneris:jar:1.0(编译)、com.cybersource:payment-cybsclients:jar:1.0(编译)、com.cybersource:payment-cybssecurity:jar:1.0(编译)、javax.servlet:servlet -api:jar:2.5 (提供), javax.servlet:jsp-api:jar:2.1 (提供), junit:junit:jar:3.8.1 (test)] at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver .getDependencies(LifecycleDependencyResolver.java:210) 在 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117) 在 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) ) 在 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 在 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 在 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)。maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 在 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) 在 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder。 buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)在 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) 在 org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) 在 org.apache.maven.cli.MavenCli.execute(MavenCli.java :537) 在 org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) 在 org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 在 sun.reflect。NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 在 java.lang.reflect.Method.invoke(Method. java:597) 在 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) 在 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) 在 org.codehaus .plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) 引起:org.apache.maven.project.DependencyResolutionException : 无法解析项目 com.csdcsystems:amanda-core:jar:7.0.0.0 的依赖项:无法收集 [javax.activation: 的依赖项:激活:jar:1.1.1 (编译), commons-beanutils:commons-beanutils:jar:1.8.3 (编译), commons-codec:commons-codec:jar:1.7 (编译), commons-collections:commons-collections :jar:3.2.1 (编译), commons-configuration:commons-configuration:jar:1.9 (编译), commons-discovery:commons-discovery:jar:0.5 (编译), commons-fileupload:commons-fileupload:jar: 1.2.2(编译)、commons-io:commons-io:jar:2.4(编译)、commons-jexl:commons-jexl:jar:1.1(编译)、commons-lang:commons-lang:jar:2.6(编译), commons-logging:commons-logging:jar:1.1.1 (编译), commons-net:commons-net:jar:3.1 (编译), org.apache.httpcomponents:httpclient:jar:4.2.1 (编译) , org.apache.httpcomponents:httpcore:jar:4.2.2 (编译), oro:oro:jar:2.0.8 (编译), xalan:serializer:jar:2.7.1 (编译), xerces:xercesImpl:jar: 2.10.0(编译),xml-apis:xml-apis:jar:2.0.2(编译)、org.apache.axis:axis:jar:1.4(编译)、log4j:log4j:jar:1.2.17(编译)、org.apache.ws .security:wss4j:jar:1.6.7 (编译), org.apache.poi:poi:jar:3.8 (编译), org.apache.poi:poi-ooxml:jar:3.8 (编译), com.aspose: aspose-words:jar:10.4.0.0 (编译), com.aspose:aspose-pdf-kit:jar:3.8.0 (编译), bouncycastle:bcprov-jdk16:jar:140 (编译), bouncycastle:bcmail-jdk15 :jar:140 (编译), org.xhtmlrenderer:core-renderer:jar:R8 (编译), net.sf.ezmorph:ezmorph:jar:1.0.6 (编译), com.lowagie:itext:jar:1.4。 8 (编译), javax.mail:mail:jar:1.4.5 (编译), jcifs:jcifs:jar:1.3.17 (编译), com.oracle:ojdbc6:jar:11.2.0.3.0 (编译), com.microsoft.jdbc:sqljdbc4:jar:4.0(编译),net.sf.json-lib:json-lib:jar:jdk15:2.4(编译),com.mockrunner:mockrunner-jdk1.5-j2ee1.3:罐子:0。4 (编译), org.opensaml:opensaml1:jar:1.1 (编译), javax.xml.soap:saaj-api:jar:1.3.4 (编译), wsdl4j:wsdl4j:jar:1.6.2 (编译), xpp3:xpp3:jar:1.1.4c (编译), org.apache.santuario:xmlsec:jar:1.5.2 (编译), taglibs:standard:jar:1.1.2 (编译), gudusoft.gsqlparser:gsp:jar :1.4.3.9 (编译), jgroups:jgroups-all:jar:2.4.1 (编译), com.sun.xml.stream:sjsxp:jar:1.0.2 (编译), javax.xml:jaxrpc-api: jar:1.1 (编译), javax.media:jai_core:jar:1.1.3 (编译), com.sun.media:jai_imageio:jar:1.1 (编译), javax.media:jai_codec:jar:1.1.3 (编译), com.businessobjects.sdks:CrystalCommon2:jar:12.2.213 (编译), com.businessobjects.sdks:QueryBuilder:jar:12.2.213 (编译), com.businessobjects.sdks:XMLConnector:jar:12.2.213 (编译), com.businessobjects.sdks:com.azalea.ufl.barcode:jar:12.2.213 (编译), com.businessobjects.sdks:crystal-merged:jar:12.2.213 (编译), com.businessobjects.sdks:cvom:jar:12.2.213 (编译), com.businessobjects.sdks:icu4j:jar:12.2.213 (编译) , com.businessobjects.sdks:jrcerom:jar:12.2.213 (编译), com.businessobjects.sdks:keycodeDecoder:jar:12.2.213 (编译), com.businessobjects.sdks:logging:jar:12.2.213 (编译), com.businessobjects.sdks:pfjgraphics:jar:12.2.213 (编译), com.businessobjects.sdks:webreporting:jar:12.2.213 (编译), com.gnostice:pdfone:jar:5.0.0.79 (编译) , com.independentsoft:exchange-server:jar:1.0 (编译), org.alfresco:alfresco-web-service-client:jar:1.0 (编译), com.oracle.xmlns:oracle-bi-ws:jar:1.0 (编译), oracle.charts:oracle-chartbuilder:jar:1.0 (编译), com.rsa:rsa-authapi:jar:1.0 (编译), com.keyoti:RapidSpellWeb:jar:3.0.2 (编译), com .keyoti:RapidSpellMDict:jar:1.0 (编译), javax.ejb:ejb-api:jar:3.0 (编译), com.cognos:cognos-axis:jar:8.0 (编译), com.cognos:cognos-client:jar:8.0 (编译)、com.cognos:cognos_cam_aaa_custom:jar:8.0(编译)、com.businessobjects.cms:cecore:jar:2011(编译)、com.businessobjects.cms:celib:jar:2011(编译)、com.businessobjects .cms:cesession:jar:2011(编译)、com.businessobjects.cms:cmslogon:jar:2011(编译)、com.businessobjects.cms:corbaidl:jar:2011(编译)、com.businessobjects.cms:ebus405: jar:2011 (编译), paypal.payflow:payment_paypal:jar:1.0 (编译), com.verisign:payment_verisign:jar:1.0 (编译), usbankclient:payment-usbankclient:jar:1.0 (编译), com.exact: payment-exact:jar:1.0 (编译), com.okgov:payment-okgov:jar:1.0 (编译), com.moneris:payment-moneris:jar:1.0 (编译), com.cybersource:payment-cybsclients:jar:1.0 (compile), com.cybersource:payment-cybssecurity:jar:1.0 (compile), javax.servlet:servlet-api:jar:2.5 (provided), javax.servlet:jsp-api:jar :2.1 (提供), junit:junit:jar:3.8.1 (test)] at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver .getDependencies(LifecycleDependencyResolver.java:185) ... 22 更多原因:org.sonatype.aether.collection.DependencyCollectionException:失败resolve(DefaultProjectDependenciesResolver.java:158) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185) ... 22 更多原因:org.sonatype.aether.collection.DependencyCollectionException:失败resolve(DefaultProjectDependenciesResolver.java:158) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185) ... 22 更多原因:org.sonatype.aether.collection.DependencyCollectionException:失败

(编译)、com.businessobjects.sdks:cvom:jar:12.2.213(编译)、com.businessobjects.sdks:icu4j:jar:12.2.213(编译)、com.businessobjects.sdks:jrcerom:jar:12.2。 213 (编译), com.businessobjects.sdks:keycodeDecoder:jar:12.2.213 (编译), com.businessobjects.sdks:logging:jar:12.2.213 (编译), com.businessobjects.sdks:pfjgraphics:jar:12.2 .213 (编译), com.businessobjects.sdks:webreporting:jar:12.2.213 (编译), com.gnostice:pdfone:jar:5.0.0.79 (编译), com.independentsoft:exchange-server:jar:1.0 ( compile), org.alfresco:alfresco-web-service-client:jar:1.0 (compile), com.oracle.xmlns:oracle-bi-ws:jar:1.0 (compile), oracle.charts:oracle-chartbuilder:jar :1.0 (编译), com.rsa:rsa-authapi:jar:1.0 (编译), com.keyoti:RapidSpellWeb:jar:3.0.2 (编译), com.keyoti:RapidSpellMDict:jar:1.0 (编译), javax .ejb:ejb-api:jar:3.0 (编译), com.cognos:cognos-axis:jar:8.0 (编译), com.cognos:cognos-client:jar:8.0 (编译), com.cognos:cognos_cam_aaa_custom:jar:8.0 (编译), com.businessobjects.cms:cecore:jar:2011 (编译), com.businessobjects.cms:celib:jar:2011 (编译), com.businessobjects.cms:cesession:jar:2011 (编译), com .businessobjects.cms:cmslogon:jar:2011 (编译), com.businessobjects.cms:corbaidl:jar:2011 (编译), com.businessobjects.cms:ebus405:jar:2011 (编译), paypal.payflow:payment_paypal: jar:1.0 (编译), com.verisign:payment_verisign:jar:1.0 (编译), usbankclient:payment-usbankclient:jar:1.0 (编译), com.exact:payment-exact:jar:1.0 (编译), com. okgov:payment-okgov:jar:1.0 (编译), com.moneris:payment-moneris:jar:1.0 (编译), com.cybersource:payment-cybsclients:jar:1.0 (编译), com.cybersource:payment-cybssecurity:jar:1.0(编译)、javax.servlet:servlet-api:jar:2.5(提供)、javax.servlet:jsp-api:jar:2.1(提供)、junit:junit:jar:3.8 .1 (test)] 在 org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258) 在 org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308) 在 org .apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:150) ... 23 更多原因:org.sonatype.aether.resolution.ArtifactDescriptorException: 无法读取 cglib-nodep:cglib-nodep:jar 的工件描述符:2.1_3 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296) 在 org.apache。maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186) 在 org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412) 在 org.sonatype.aether.impl.internal.DefaultDependencyCollector。 org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240) 处的进程(DefaultDependencyCollector.java:544)... 25 更多原因:org.sonatype.aether.resolution.ArtifactResolutionException:无法传输来自/到 jboss 的工件 cglib-nodep:cglib-nodep:pom:2.1_3 (org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544) 处的进程(DefaultDependencyCollector.java:412) org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240) ... 25 更多原因:org.sonatype.aether.resolution.ArtifactResolutionException:无法将工件 cglib-nodep:cglib-nodep:pom:2.1_3 从/到 jboss 传输(org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544) 处的进程(DefaultDependencyCollector.java:412) org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240) ... 25 更多原因:org.sonatype.aether.resolution.ArtifactResolutionException:无法将工件 cglib-nodep:cglib-nodep:pom:2.1_3 从/到 jboss 传输(cglib-nodep:pom:2.1_3 从/到 jboss (cglib-nodep:pom:2.1_3 从/到 jboss (http://repository.jboss.com/maven2):拒绝访问: http: //repository.jboss.com/maven2/cglib-nodep/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom,ReasonPhrase : 禁止。在 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) 在 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) 在 org.sonatype.aether.impl .internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281) ... 29 更多原因:org.sonatype.aether.transfer。 ArtifactTransferException:无法将工件 cglib-nodep:cglib-nodep:pom:2.1_3 从/到 jboss 传输(http://repository.jboss.com/maven2):拒绝访问: http ://repository.jboss.com/maven2/cglib-nodep/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom, 原因短语:禁止。在 org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951) 在 org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941) 在 org.sonatype.aether .connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669) 在 org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60) 在 java.util.concurrent.ThreadPoolExecutor$Worker。 runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 引起:org.apache.maven .wagon.authorization.AuthorizationException:拒绝访问: http://repository.jboss.com/maven2/cglib-nodep/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom,原因短语:禁止。在 org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:835) 在 org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) 在 org.apache.maven.wagon .StreamWagon.getIfNewer(StreamWagon.java:88) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) :601) ... 4 更多 [ERROR] [ERROR] [ERROR] 有关错误和可能解决方案的更多信息,请阅读以下文章: [ERROR] [Help 1] http://cwiki.apache.org/汇合/显示/MAVEN/DependencyResolutionException [ERROR] [ERROR] 纠正问题后,您可以使用命令 [ERROR] mvn -rf :amanda-core 恢复构建

4

2 回答 2

1

谢谢@ANdyB,我找到了解决方案,我刚刚从系统中删除了 .m2 目录,然后再次运行

mvn 日食:日食

命令它运行所以问题

.m2

在某个地方 Maven 存储存储库位置的目录。

于 2013-02-16T11:38:30.420 回答
1

模拟运行器 pom.xml 引用 JBoss 存储库,因此您会收到错误消息。

在这里您可以查看模拟运行器 pom.xml。最好的解决方案是不使用模拟跑步者。

于 2013-07-23T17:11:05.147 回答