????????????????????Maven??????????????????????????????


wangyuyang1...@163.com
 
???????? ????
?????????? 2015-01-23 15:05
???????? users-cn
?????? ??????????: ??????????Eclipse????CloudStack4.4.2??????????
?? ??????????jdk 1.7??  ???? ?? mvn install  -X  ????????????????  
?????????????? 
  
 
 
------------------ ???????? ------------------
  ??????: "Qian Shaohua";<qianshao...@ctsi.com.cn>;
????????: 2015??1??23??(??????) ????2:27
??????: "users-cn"<users-cn@cloudstack.apache.org>; 
????: ????: ??????????Eclipse????CloudStack4.4.2??????????
 
 
CS4.4.2????jdk 1.7
 
??????: ?????? [mailto:tang...@126.com] 
????????: 2015??1??23?? 11:03
??????: users-cn
????: ????: ??????????Eclipse????CloudStack4.4.2??????????
 
 
users-cn????????
 
????????    
 
????????????CentOS6.3???? CloudStack4.4.2??????????????????????
 
  ??mvn install  ?? depley database????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????
??????????????????
 
??????????????
 
               CentOS release 6.3 (Final) 
 
               CloudStack4.4.2
 
               java-1.6.0-openjdk-1.6.0.33.x86_64 
 
               apache-maven-3.1.1 
 
               eclipse KEPLER
 
 
1. maven Install??????????
 
 
 
[INFO]
------------------------------------------------------------------------
 
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process (default)
on project cloud-plugin-hypervisor-kvm: Execution default of goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process failed:
For artifact {null:null:null:jar}: The groupId cannot be empty. -> [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/PluginExecutionException
 
[ERROR]
 
[ERROR] After correcting the problems, you can resume the build with the
command
 
[ERROR]   mvn <goals> -rf :cloud-plugin-hypervisor-kvm
 
 
??eclipse???????? ????
 
 
 
 
 
2.????cloudstack??????????????????
 
 
[INFO]
------------------------------------------------------------------------
 
[INFO] BUILD FAILURE
 
[INFO]
------------------------------------------------------------------------
 
[INFO] Total time: 3.541s
 
[INFO] Finished at: Fri Jan 23 10:47:18 CST 2015
 
[INFO] Final Memory: 25M/226M
 
[INFO]
------------------------------------------------------------------------
 
[ERROR] Failed to parse plugin descriptor for
org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2
(/home/cloud/.m2/repository/org/codehaus/mojo/properties-maven-plugin/1.0-al
pha-2/properties-maven-plugin-1.0-alpha-2.jar): error in opening zip file ->
[Help 1]
 
org.apache.maven.plugin.PluginDescriptorParsingException: Failed to parse
plugin descriptor for org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2
(/home/cloud/.m2/repository/org/codehaus/mojo/properties-maven-plugin/1.0-al
pha-2/properties-maven-plugin-1.0-alpha-2.jar): error in opening zip file
 
        at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.extractPluginDesc
riptor(DefaultMavenPluginManager.java:212)
 
        at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescript
or(DefaultMavenPluginManager.java:147)
 
        at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor
(DefaultMavenPluginManager.java:261)
 
        at
org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultB
uildPluginManager.java:185)
 
        at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.
setupMojoExecution(DefaultLifecycleExecutionPlanCalculator.java:152)
 
        at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.
setupMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:139)
 
        at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.
calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:116)
 
        at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.
calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:129)
 
        at
org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(BuilderCo
mmon.java:92)
 
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life
cycleModuleBuilder.java:81)
 
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life
cycleModuleBuilder.java:59)
 
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(Lif
ecycleStarter.java:183)
 
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarte
r.java:161)
 
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
 
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57
)
 
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43)
 
        at java.lang.reflect.Method.invoke(Method.java:606)
 
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.ja
va:290)
 
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.
java:409)
 
        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
 
Caused by: java.util.zip.ZipException: error in opening zip file
 
        at java.util.zip.ZipFile.open(Native Method)
 
        at java.util.zip.ZipFile.<init>(ZipFile.java:215)
 
        at java.util.zip.ZipFile.<init>(ZipFile.java:145)
 
        at java.util.jar.JarFile.<init>(JarFile.java:153)
 
        at java.util.jar.JarFile.<init>(JarFile.java:132)
 
        at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.extractPluginDesc
riptor(DefaultMavenPluginManager.java:170)
 
        ... 25 more
 
[ERROR]
 
[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/PluginDescriptorParsingExce
ption
 
??eclipse???????? ????
 
 
 
 
 
 
 
 
 
 
From: yan_5...@163.com
 
Date: 2015-01-22 14:18
 
To: users-cn <mailto:users-cn@cloudstack.apache.org> 
 
Subject: ????: ??????????Eclipse????CloudStack4.4.2??????????
 
??????????i5????????????????????????Debug??easy????????Eclipse Run??????????
??????????????????????????????????????????????????
 
 
 
 
???????? ??
 
 
???????? ????
 
?????????? 2015-01-22 13:54
 
???????? users-cn
 
?????? ??????????Eclipse????CloudStack4.4.2??????????
 
??????maven???? ????    -pl :cloud-client-ui jetty:run
-Dmaven.test.skip=true -X
 
  
 
??????i5  ??????????????  8G ????????????????????????????   ????????????????
??debug   
 
  
 
 
 
------------------ ???????? ------------------
 
  ??????: "wangyuyang1...@163.com";<wangyuyang1...@163.com>;
 
????????: 2015??1??20??(??????) ????5:15
 
??????: "users-cn"<users-cn@cloudstack.apache.org>; 
 
????: ????Eclipse????CloudStack4.4.2??????????
 
 
 
????????????????Eclipse??????CloudStack,??????????????
 
??Eclipse????juon????????m2e,pydev??
 
????????????Ubuntu12.04??
 
????cloudstack??????????????????
 
 
????????????????????????
 
   wangyuyang1...@163.com

回复