cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "青山依旧" <die...@foxmail.com>
Subject cloudstack开发环境搭建maven -P deps出错
Date Fri, 11 Jul 2014 02:20:22 GMT
纠结了好几天的问题,在前面工作准备就绪的时候,最后在cloudstack源码根目录执行:
maven -P deps 出错
 T E S T S
-------------------------------------------------------
Running org.apache.cloudstack.managed.context.impl.DefaultManagedContextTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.556 sec

Results :

Tests run: 6, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-framework-managed-context ---
[INFO] Building jar: /home/cloudstack43src/apache-cloudstack-4.3.0-src/framework/managed-context/target/cloud-framework-managed-context-4.3.0.jar
[INFO] 
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ cloud-framework-managed-context
---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cloud-framework-managed-context
---
[INFO] Installing /home/cloudstack43src/apache-cloudstack-4.3.0-src/framework/managed-context/target/cloud-framework-managed-context-4.3.0.jar
to /root/.m2/repository/org/apache/cloudstack/cloud-framework-managed-context/4.3.0/cloud-framework-managed-context-4.3.0.jar
[INFO] Installing /home/cloudstack43src/apache-cloudstack-4.3.0-src/framework/managed-context/pom.xml
to /root/.m2/repository/org/apache/cloudstack/cloud-framework-managed-context/4.3.0/cloud-framework-managed-context-4.3.0.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Utils 4.3.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-utils ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-utils ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-utils ---
[INFO] Compiling 12 source files to /home/cloudstack43src/apache-cloudstack-4.3.0-src/utils/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/cloudstack43src/apache-cloudstack-4.3.0-src/utils/src/com/cloud/utils/component/ComponentContext.java:[226,25]
type parameters of <T>T cannot be determined; no unique maximal instance exists for
type variable T with upper bounds T,java.lang.Object
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack .................................. SUCCESS [ 21.859 s]
[INFO] Apache CloudStack Maven Conventions Parent ......... SUCCESS [  0.252 s]
[INFO] Apache CloudStack Framework - Managed Context ...... SUCCESS [ 26.726 s]
[INFO] Apache CloudStack Utils ............................ FAILURE [ 52.700 s]
[INFO] Apache CloudStack Framework ........................ SKIPPED
[INFO] Apache CloudStack Framework - Event Notification ... SKIPPED
[INFO] Apache CloudStack Framework - Configuration ........ SKIPPED
[INFO] Apache CloudStack API .............................. SKIPPED
[INFO] Apache CloudStack Framework - REST ................. SKIPPED
[INFO] Apache CloudStack Framework - IPC .................. SKIPPED
[INFO] Apache CloudStack Cloud Engine ..................... SKIPPED
[INFO] Apache CloudStack Cloud Engine API ................. SKIPPED
[INFO] Apache CloudStack Core ............................. SKIPPED
[INFO] Apache CloudStack Agents ........................... SKIPPED
[INFO] Apache CloudStack Framework - Clustering ........... SKIPPED
[INFO] Apache CloudStack Framework - Jobs ................. SKIPPED
[INFO] Apache CloudStack Cloud Engine Schema Component .... SKIPPED
[INFO] Apache CloudStack Framework - Event Notification ... SKIPPED
[INFO] Apache CloudStack Cloud Engine Internal Components API SKIPPED
[INFO] Apache CloudStack Server ........................... SKIPPED
[INFO] Apache CloudStack Usage Server ..................... SKIPPED
[INFO] Apache XenSource XAPI .............................. SKIPPED
[INFO] Apache CloudStack Cloud Engine Orchestration Component SKIPPED
[INFO] Apache CloudStack Cloud Services ................... SKIPPED
[INFO] Apache CloudStack Secondary Storage Service ........ SKIPPED
[INFO] Apache CloudStack Engine Storage Component ......... SKIPPED
[INFO] Apache CloudStack Engine Storage Volume Component .. SKIPPED
[INFO] Apache CloudStack Engine Storage Image Component ... SKIPPED
[INFO] Apache CloudStack Engine Storage Data Motion Component SKIPPED
[INFO] Apache CloudStack Engine Storage Cache Component ... SKIPPED
[INFO] Apache CloudStack Engine Storage Snapshot Component  SKIPPED
[INFO] Apache CloudStack Cloud Engine API ................. SKIPPED
[INFO] Apache CloudStack Cloud Engine Service ............. SKIPPED
[INFO] Apache CloudStack Plugin POM ....................... SKIPPED
[INFO] Apache CloudStack Plugin - API Rate Limit .......... SKIPPED
[INFO] Apache CloudStack Plugin - API Discovery ........... SKIPPED
[INFO] Apache CloudStack Plugin - ACL Static Role Based ... SKIPPED
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SKIPPED
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor SKIPPED
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner SKIPPED
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SKIPPED
[INFO] Apache CloudStack Plugin - Implicit Dedication Planner SKIPPED
[INFO] Apache CloudStack Plugin - Skip Heurestics Planner . SKIPPED
[INFO] Apache CloudStack Plugin - Host Allocator Random ... SKIPPED
[INFO] Apache CloudStack Plugin - Dedicated Resources ..... SKIPPED
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM ..... SKIPPED
[INFO] Apache CloudStack Plugin - Open vSwitch ............ SKIPPED
[INFO] Apache CloudStack Plugin - Hypervisor Xen .......... SKIPPED
[INFO] Apache CloudStack Plugin - Hypervisor KVM .......... SKIPPED
[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ...... SKIPPED
[INFO] Apache CloudStack Plugin - Hypervisor Baremetal .... SKIPPED
[INFO] Apache CloudStack Plugin - Hypervisor UCS .......... SKIPPED
[INFO] Apache CloudStack Plugin - Hypervisor Hyper-V ...... SKIPPED
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer SKIPPED
[INFO] Apache CloudStack Plugin - Network Internal Load Balancer SKIPPED
[INFO] Apache CloudStack Plugin - Network Juniper Contrail  SKIPPED
[INFO] Apache CloudStack Plugin - Palo Alto ............... SKIPPED
[INFO] Apache CloudStack Checkstyle Configuration ......... SKIPPED
[INFO] Apache CloudStack Plugin - Network Nicira NVP ...... SKIPPED
[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment SKIPPED
[INFO] Apache CloudStack Plugin - Midokura Midonet ........ SKIPPED
[INFO] Apache Cloudstack Plugin - Stratosphere SSP ........ 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 Plain Text 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 SolidFire Provider SKIPPED
[INFO] Apache CloudStack Plugin - Storage Volume default 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 Framework - Spring Life Cycle .... SKIPPED
[INFO] cloud-framework-spring-module ...................... SKIPPED
[INFO] Apache CloudStack Test ............................. SKIPPED
[INFO] Apache CloudStack Client UI ........................ 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 Framework - QuickCloud ........... SKIPPED
[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:19 min
[INFO] Finished at: 2014-07-08T15:33:36+08:00
[INFO] Final Memory: 59M/462M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "deps" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project cloud-utils: Compilation failure
[ERROR] /home/cloudstack43src/apache-cloudstack-4.3.0-src/utils/src/com/cloud/utils/component/ComponentContext.java:[226,25]
type parameters of <T>T cannot be determined; no unique maximal instance exists for
type variable T with upper bounds T,java.lang.Object
[ERROR] -> [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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloud-utils
‍
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message