cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From coudstacks <cloudsta...@163.com>
Subject Re:Re: ant clean-all build-all error. org.apache.axis2.tool.ant.AntCodegenTask cannot be found
Date Mon, 10 Sep 2012 05:50:24 GMT
[root@cloudstack incubator-cloudstack]# mvn -P deps -pl deps
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Dependencies
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[WARNING] The parameter expression: 'project.build.resources' used in mojo: 'process' has
been deprecated. Use 'project.resources' instead.
[INFO] [remote-resources:process {execution: default}]
Downloading: http://libvirt.org/maven2/org/libvirt/libvirt/0.4.8/libvirt-0.4.8.pom
1K downloaded  (libvirt-0.4.8.pom)
Downloading: http://repo1.maven.org/maven2/com/caringo/client/CAStorSDK/1.3.1-CS40/CAStorSDK-1.3.1-CS40.pom
3K downloaded  (CAStorSDK-1.3.1-CS40.pom)
Downloading: http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
4K downloaded  (oss-parent-7.pom)
Downloading: http://repo1.maven.org/maven2/org/jvnet/hudson/jmdns/2.1/jmdns-2.1.pom
2K downloaded  (jmdns-2.1.pom)
Downloading: http://repo1.maven.org/maven2/log4j/log4j/1.2.14/log4j-1.2.14.pom
2K downloaded  (log4j-1.2.14.pom)
Downloading: http://ws.zones.apache.org/repository2/org/apache/woden/woden/1.0M8/woden-1.0M8.pom
[WARNING] Unable to get resource 'org.apache.woden:woden:pom:1.0M8' from repository apache-ws-snapshots2
(http://ws.zones.apache.org/repository2): Error transferring file: Connection timed out
Downloading: http://tomcat.apache.org/dev/dist/m2-repository/org/apache/woden/woden/1.0M8/woden-1.0M8.pom
[INFO] Unable to find resource 'org.apache.woden:woden:pom:1.0M8' in repository tomcat-repository
(http://tomcat.apache.org/dev/dist/m2-repository)
Downloading: http://repo1.maven.org/eclipse/org/apache/woden/woden/1.0M8/woden-1.0M8.pom
[INFO] Unable to find resource 'org.apache.woden:woden:pom:1.0M8' in repository eclipse-repo
(http://repo1.maven.org/eclipse)
Downloading: https://maven-repository.dev.java.net/nonav/repository//org.apache.woden/poms/woden-1.0M8.pom
[WARNING] Unable to get resource 'org.apache.woden:woden:pom:1.0M8' from repository java.net
(https://maven-repository.dev.java.net/nonav/repository/): Error transferring file: maven-repository.dev.java.net
Downloading: http://repo1.maven.org/maven2/org/apache/woden/woden/1.0M8/woden-1.0M8.pom
[WARNING] Unable to get resource 'org.apache.woden:woden:pom:1.0M8' from repository central
(http://repo1.maven.org/maven2): Error transferring file: Connection reset
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve dependencies for one or more projects in the reactor. Reason: Unable
to get dependency information: Unable to read the metadata file for artifact 'org.apache.woden:woden-api:jar':
Cannot find parent: org.apache.woden:woden for project: null:woden-api:jar:null for project
null:woden-api:jar:null
  org.apache.woden:woden-api:jar:1.0M8
from the specified remote repositories:
  eclipse-repo (http://repo1.maven.org/eclipse),
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2),
  tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository),
  java.net (https://maven-repository.dev.java.net/nonav/repository/),
  apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
Path to dependency:
        1) org.apache.cloudstack:cloud-deps:jar:4.0.0-SNAPSHOT
        2) org.apache.axis2:axis2-ant-plugin:jar:1.4.1
        3) org.apache.axis2:axis2-codegen:jar:1.4.1
        4) org.apache.axis2:axis2-kernel:jar:1.4.1
 
Unable to download the artifact from any repository
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38 seconds
[INFO] Finished at: Mon Sep 10 13:48:03 CST 2012
[INFO] Final Memory: 26M/63M
[INFO] ------------------------------------------------------------------------


At 2012-09-09 02:17:37,"Chip Childers" <chip.childers@sungard.com> wrote:
>From the project root dir:
>
>mvn -P deps -pl deps
>
>That will get you the required dependencies.
>
>On Sat, Sep 8, 2012 at 1:31 PM,  <cloudstacks@163.com> wrote:
>> mavan  can not configurate  build-environment correctly.
>>
>>
>>
>> [root@xxxxxxx xxxxxxxxx]# ant clean-all
>> Buildfile: build.xml
>>      [echo] Using build parameters from /mnt/cloudstack/build/build-cloud.properties
>>      [echo] Using company info from /mnt/cloudstack/build/cloud.properties
>>      [echo] Using override file from /mnt/cloudstack/build/replace.properties
>>      [echo] Using build parameters from /mnt/cloudstack/build/build-cloud.properties
>>      [echo] Using company info from /mnt/cloudstack/build/cloud.properties
>>      [echo] Using override file from /mnt/cloudstack/build/replace.properties
>>
>> BUILD FAILED
>> /mnt/cloudstack/build.xml:48: The following error occurred while executing this line:
>> /mnt/cloudstack/build/build-aws-api.xml:34: taskdef class org.apache.axis2.tool.ant.AntCodegenTask
cannot be found
>>
>> Total time: 1 second

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message