我正在尝试使用 Nexus 使用自己的远程存储库在我的工作站上安装一些代码。一些项目可以正确部署和安装。但是,有一个项目无法解决某些依赖项。
这是日志:
[INFO] Building Apache CloudStack Plugin - Network Juniper Contrail 4.5.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://192.168.1.109:8081/nexus/content/groups/public/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://192.168.1.109:8081/nexus/content/groups/public/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-SNAPSHOT.pom
[WARNING] The POM for net.juniper.contrail:juniper-contrail-api:jar:1.0-SNAPSHOT is missing, no dependency information available
Downloading: http://192.168.1.109:8081/nexus/content/groups/public/org/apache/commons/commons-exec/1.1/commons-exec-1.1.pom
Downloaded: http://192.168.1.109:8081/nexus/content/groups/public/org/apache/commons/commons-exec/1.1/commons-exec-1.1.pom (11 KB at 456.2 KB/sec)
Downloading: http://192.168.1.109:8081/nexus/content/groups/public/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-SNAPSHOT.jar
Downloading: http://192.168.1.109:8081/nexus/content/groups/public/org/apache/commons/commons-exec/1.1/commons-exec-1.1.jar
Downloaded: http://192.168.1.109:8081/nexus/content/groups/public/org/apache/commons/commons-exec/1.1/commons-exec-1.1.jar (52 KB at 2332.3 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS [5.957s]
[INFO] Apache CloudStack ................................. SUCCESS [7.994s]
[INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [1.824s]
[INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [3.565s]
[INFO] Apache CloudStack Utils ........................... SUCCESS [19.943s]
[INFO] Apache CloudStack Framework ....................... SUCCESS [0.056s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [7.477s]
[INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [3.243s]
[INFO] Apache CloudStack API ............................. SUCCESS [12.763s]
[INFO] Apache CloudStack Framework - REST ................ SUCCESS [2.796s]
[INFO] Apache CloudStack Framework - IPC ................. SUCCESS [3.335s]
[INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.036s]
[INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [3.927s]
[INFO] Apache CloudStack Framework - Security ............ SUCCESS [2.258s]
[INFO] Apache CloudStack Core ............................ SUCCESS [18.340s]
[INFO] Apache CloudStack Agents .......................... SUCCESS [6.946s]
[INFO] Apache CloudStack Framework - Clustering .......... SUCCESS [4.111s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [1.263s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [12.014s]
[INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [4.621s]
[INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [2.448s]
[INFO] Apache CloudStack Server .......................... SUCCESS [34.150s]
[INFO] Apache CloudStack Usage Server .................... SUCCESS [5.247s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component SUCCESS [7.926s]
[INFO] Apache CloudStack Cloud Services .................. SUCCESS [0.029s]
[INFO] Apache CloudStack Secondary Storage ............... SUCCESS [0.221s]
[INFO] Apache CloudStack Secondary Storage Service ....... SUCCESS [4.067s]
[INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [5.103s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [3.416s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [1.988s]
[INFO] Apache CloudStack Engine Storage Data Motion Component SUCCESS [2.026s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [2.160s]
[INFO] Apache CloudStack Engine Storage Snapshot Component SUCCESS [5.856s]
[INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [1.439s]
[INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [3.501s]
[INFO] Apache CloudStack Plugin POM ...................... SUCCESS [0.381s]
[INFO] Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [5.112s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider SUCCESS [2.032s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider SUCCESS [4.023s]
[INFO] Apache CloudStack Plugin - API SolidFire .......... SUCCESS [2.192s]
[INFO] Apache CloudStack Plugin - API Discovery .......... SUCCESS [3.353s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [1.870s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SUCCESS [2.430s]
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor SUCCESS [2.099s]
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner SUCCESS [1.766s]
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SUCCESS [1.562s]
[INFO] Apache CloudStack Plugin - Implicit Dedication Planner SUCCESS [5.620s]
[INFO] Apache CloudStack Plugin - Skip Heurestics Planner SUCCESS [1.554s]
[INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [2.016s]
[INFO] Apache CloudStack Plugin - Dedicated Resources .... SUCCESS [5.028s]
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [2.520s]
[INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [2.586s]
[INFO] Apache CloudStack Plugin - Hypervisor XenServer ... SUCCESS [7.608s]
[INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [7.350s]
[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SUCCESS [1.861s]
[INFO] Apache CloudStack Plugin - In Memory Event Bus .... SUCCESS [3.026s]
[INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SUCCESS [4.021s]
[INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SUCCESS [2.294s]
[INFO] Apache CloudStack Plugin - Hypervisor Hyper-V ..... SUCCESS [4.920s]
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer SUCCESS [5.291s]
[INFO] Apache CloudStack Plugin - Network Internal Load Balancer SUCCESS [6.544s]
[INFO] Apache CloudStack Framework - Spring Life Cycle ... SUCCESS [1.831s]
[INFO] Apache CloudStack Plugin - Network Juniper Contrail FAILURE [2.055s]
[INFO] Apache CloudStack Plugin - Palo Alto .............. SKIPPED
[INFO] Apache CloudStack Plugin - Network Netscaler ...... SKIPPED
[INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SKIPPED
[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment SKIPPED
[INFO] Apache CloudStack Plugin - Network Brocade VCS .... SKIPPED
[INFO] Apache CloudStack Plugin - Midokura Midonet ....... SKIPPED
[INFO] Apache CloudStack Plugin - Stratosphere SSP ....... SKIPPED
[INFO] Apache CloudStack Plugin - Network Opendaylight ... SKIPPED
[INFO] Apache CloudStack Plugin - Storage Allocator Random SKIPPED
[INFO] Apache CloudStack Plugin - User Authenticator LDAP SKIPPED
[INFO] Apache CloudStack Plugin - User Authenticator MD5 . SKIPPED
[INFO] Apache CloudStack Plugin - User Authenticator PBKDF2-SHA-256 SKIPPED
[INFO] Apache CloudStack Plugin - User Authenticator Plain Text SKIPPED
[INFO] Apache CloudStack Plugin - User Authenticator SAML2 SKIPPED
[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted SKIPPED
[INFO] Apache CloudStack Plugin - Dns Notifier Example ... SKIPPED
[INFO] Apache CloudStack Plugin - Storage Image S3 ....... SKIPPED
[INFO] Apache CloudStack Plugin - Storage Image Swift provider SKIPPED
[INFO] Apache CloudStack Plugin - Storage Image default provider SKIPPED
[INFO] Apache CloudStack Plugin - Storage Image sample provider SKIPPED
[INFO] Apache CloudStack Plugin - Storage Volume Nexenta Provider SKIPPED
[INFO] Apache CloudStack Plugin - Storage Volume CloudByte Provider SKIPPED
[INFO] Apache CloudStack Plugin - Storage Volume sample provider SKIPPED
[INFO] Apache CloudStack Plugin - SNMP Alerts ............ SKIPPED
[INFO] Apache CloudStack Plugin - Syslog Alerts .......... SKIPPED
[INFO] Apache CloudStack Plugin - Network VXLAN .......... SKIPPED
[INFO] Apache CloudStack Plugin - GloboDNS ............... SKIPPED
[INFO] Apache CloudStack Framework - Spring Module ....... SKIPPED
[INFO] Apache CloudStack Secondary Storage Controller .... SKIPPED
[INFO] Apache CloudStack Console Proxy - RDP Client ...... SKIPPED
[INFO] Apache CloudStack Console Proxy ................... SKIPPED
[INFO] Apache CloudStack Console Proxy - Server .......... SKIPPED
[INFO] Apache CloudStack System VM ....................... SKIPPED
[INFO] Apache CloudStack Client UI ....................... SKIPPED
[INFO] Apache CloudStack Framework - QuickCloud .......... SKIPPED
[INFO] Apache CloudStack Test ............................ SKIPPED
[INFO] Apache CloudStack Developer Mode .................. SKIPPED
[INFO] Apache CloudStack Developer Tools ................. SKIPPED
[INFO] Apache CloudStack apidocs ......................... SKIPPED
[INFO] Apache CloudStack marvin .......................... SKIPPED
[INFO] Apache CloudStack DevCloud ........................ SKIPPED
[INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:56.657s
[INFO] Finished at: Sun Nov 01 15:35:45 CET 2015
[INFO] Final Memory: 73M/340M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cloud-plugin-network-contrail: Could not resolve dependencies for project org.apache.cloudstack:cloud-plugin-network-contrail:jar:4.5.3-SNAPSHOT: Could not find artifact net.juniper.contrail:juniper-contrail-api:jar:1.0-SNAPSHOT in internal-repository (http://192.168.1.109:8081/nexus/content/groups/public) -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :cloud-plugin-network-contrail
这是我的 .m2/settings.xml
<settings>
<mirrors>
<mirror>
<id>internal-repository</id>
<name>Maven Repository Manager running on Spielplatz</name>
<url>http://192.168.1.109:8081/nexus/content/groups/public</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
</settings>
当我在不使用自己的存储库的情况下部署 cloudstack 时,一切正常,因此我尝试复制 nexus 上 Hosted - SNAPSHOTS 存储库中所需的 jar 文件(通过将其复制到 /opt/nexus/sonatype-work/nexus/存储/快照并在 Web UI 中刷新存储库),但它不起作用。出现同样的错误。
请,任何帮助将不胜感激。