4.1 branch uses maven and there is not need to use the deps profile which is gone now. Looks like your command has -P deps, remove it.
Next, looks like either there is some connectivity issue, either you're not connected to Internet, your DNS is unable to resolve the domain or the maven repo server is down. Can you share with us your build command? Cheers. On Wed, Apr 17, 2013 at 1:58 PM, Denic <sinisa.de...@peacebellservers.com>wrote: > Escuxe me Rohit recently I have problems building CS4.1 branch, > when I pull on 04.16. I got this error: > WARNING] The requested profile "deps" could not be activated because it > does not exist. > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process > (default) on project cloud-client-ui: Error resolving project artifact: > Could not transfer artifact org.libvirt:libvirt:pom:0.4.9 from/to central ( > http://repo.maven.apache.org/maven2): Connection to > http://repo.maven.apache.org refused for project > org.libvirt:libvirt:jar:0.4.9: Connection timed out -> [Help 1]. > > Today(04.17.) I pull and try again to build and ended at even earlier > point: > [INFO] Apache CloudStack Usage Server .................... FAILURE > [1:03.454s] > ....SKIPED..... > ................. > ............. > [ERROR] Failed to execute goal on project cloud-usage: Could not resolve > dependencies for project > org.apache.cloudstack:cloud-usage:jar:4.1.0-SNAPSHOT: Failed to collect > dependencies for [org.apache.cloudstack:cloud-server:jar:4.1.0-SNAPSHOT > (compile), mysql:mysql-connector-java:jar:5.1.21 (runtime), > commons-daemon:commons-daemon:jar:1.0.10 (compile), junit:junit:jar:4.10 > (test), org.springframework:spring-core:jar:3.1.2.RELEASE (compile), > org.springframework:spring-context:jar:3.1.2.RELEASE (compile), > org.springframework:spring-web:jar:3.1.2.RELEASE (compile), > org.mockito:mockito-all:jar:1.9.5 (test), > org.springframework:spring-test:jar:3.1.2.RELEASE (test), > org.aspectj:aspectjrt:jar:1.7.1 (compile), > org.aspectj:aspectjweaver:jar:1.7.1 (compile), > javax.inject:javax.inject:jar:1 (compile)]: Failed to read artifact > descriptor for commons-daemon:commons-daemon:jar:1.0.10: Could not transfer > artifact commons-daemon:commons-daemon:pom:1.0.10 from/to central ( > http://repo.maven.apache.org/maven2): Connection to > http://repo.maven.apache.org refused: Connection timed out -> [Help 1] > > What could be wrong? > Thank you, regards. > >