repository - Maven nexus could not resolve juniper-contrail-api -
am trying install code on workstation using own remote repository using nexus. of projects can deployed , installed correctly. however, there project dependencies cannot resolved.
this log:
[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] pom net.juniper.contrail:juniper-contrail-api:jar:1.0-snapshot 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 @ 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 @ 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 execute goal on project cloud-plugin-network-contrail: not resolve dependencies project org.apache.cloudstack:cloud-plugin-network-contrail:jar:4.5.3-snapshot: 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] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error] [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/dependencyresolutionexception [error] [error] after correcting problems, can resume build command [error] mvn <goals> -rf :cloud-plugin-network-contrail
this .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>
when deploy cloudstack without using own repository, works fine, tried copy jar file required in hosted - snapshots repository on nexus (by copying /opt/nexus/sonatype-work/nexus/storage/snapshots , refreshing repository in web ui) won't work. same error shows up.
please, appreciated.
maven's output says all:
[warning] pom net.juniper.contrail:juniper-contrail-api:jar:1.0-snapshot missing, no dependency information available ... [error] failed execute goal on project cloud-plugin-network-contrail: not resolve dependencies project org.apache.cloudstack:cloud-plugin-network-contrail:jar:4.5.3-snapshot: 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)
this occurs since you:
tried copy jar file required in hosted - snapshots repository on nexus (by copying /opt/nexus/sonatype-work/nexus/storage/snapshots , refreshing repository in web ui)
which not 1 of proper ways such:
- using
deploy-file
goal of apache maven deploy plugin. using nexus' ui upload artifact(s) manually.
see repository management nexus, 5.13. uploading components.
Comments
Post a Comment