You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by ilya musayev <il...@gmail.com> on 2014/08/28 10:56:08 UTC

[4.3.1] - rpm build failed

Sebastian

I've checked out latest 4.3.1 and try rebuilding the rpm, it failed.

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.cloudstack:xapi:5.6.100-1-SNAPSHOT 
(/build/cloudstack/deps/XenServerJava/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Failure to find 
org.apache.cloudstack:cloudstack:pom:4.3.0 in 
http://repo.maven.apache.org/maven2 was cached in the local repository, 
resolution will not be reattempted until the update interval of central 
has elapsed or updates are forced and 'parent.relativePath' points at 
wrong local POM @ line 21, 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

In summary, the script that you ran to bump up the version, missed to 
update a version properly. Here is what was done to fix the build.

@@ -21,7 +21,7 @@
    <parent>
      <groupId>org.apache.cloudstack</groupId>
      <artifactId>cloudstack</artifactId>
-    <version>4.3.0</version>
+    <version>4.3.1-SNAPSHOT</version>
      <relativePath>../../pom.xml</relativePath>
    </parent>
    <artifactId>xapi</artifactId>

Regards
ilya