cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Phillips <mphilli7...@hotmail.com>
Subject RE: maven pom.xml
Date Thu, 20 Feb 2014 00:30:31 GMT
Pretty sure you have to run mvn clean from the base directory where your source is

> Date: Thu, 20 Feb 2014 01:26:20 +0100
> Subject: maven pom.xml
> From: perezmario472@gmail.com
> To: users@cloudstack.apache.org
> 
> Hi, I'm installing devCloud following instructions
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud.
> 
> I tried setting up the development environment by following these
> instructions
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment.
> When I run "mvn-clean", the command shows the following error:
> 
> [INFO] Scanning for projects ...
> [INFO] -----------------------------------------------
> -------------------------
> [INFO] BUILD FAILURE
> [INFO] -----------------------------------------------
> -------------------------
> [INFO] Total time: 0.117s
> [INFO] Finished at: Thu February 20 00:12:38 UTC 2014
> [INFO] Final Memory: 2M/6M
> [INFO] -----------------------------------------------
> -------------------------
> [ERROR] The goal you specified requires a project to execute but there is
> no POM In this directory (/ opt/cloudstack/apache-maven-3.0.4/bin). Please
> Verify you Invoked Maven from the correct directory. -> [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/MissingProjectException
> 
> I think it can not find the "pom.xml" file. I've downloaded this file (
> https://forge.gluster.org/cloudstack-gluster/cloudstack/blobs/d2c646f0a434831bd5aef88b5692c108fe26e718/tools/devcloud/pom.xml)
> to create the file, but now I get another error:
> 
> [INFO] Scanning for projects ...
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/cloudstack/cloudstack/4.1.1/cloudstack-4.1.1.pom
> 
> [ERROR] The build Could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project org.apache.cloudstack: cloud-devCloud: 4.1.1 (/
> opt/cloudstack/apache-maven-3.0.4/bin/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.apache.cloudstack: CloudStack: pom: 4.1.1 in center (
> http://repo.maven.apache.org/maven2) and 'parent.relativePath' points wrong
> at the local POM @ line 33, column 11 -> [Help 2]
> [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/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> 
> I do not understand what happens. What is the solution?
> 
> Thanks you.
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message