[Building Sakai] Sakai Trunk and Maven 3

Cris J Holdorph holdorph at unicon.net
Mon Oct 17 09:37:20 PDT 2011


Before this weekend, Sakai trunk was building fine with Maven 3.  Now, 
since the weekend, I'm getting failures.  All the failures seem to be 
with relativePath problems.  e.g.,

[ERROR]   The project 
org.sakaiproject.velocity:sakai-velocity-assembly:2.9-SNAPSHOT 
(/home/holdorph/projects/sakai/velocity/assembly/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.sakaiproject.velocity:velocity:pom:2.9-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 5, column 13 -> 
[Help 2]

Looking at recent changes to this file I see:

--- velocity/assembly/pom.xml	(revision 94187)
+++ velocity/assembly/pom.xml	(revision 99913)
@@ -1,12 +1,12 @@
  <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd">
      <modelVersion>4.0.0</modelVersion>

      <parent>
          <groupId>org.sakaiproject.velocity</groupId>
-        <artifactId>velocity-base</artifactId>
+        <artifactId>velocity</artifactId>
          <version>2.9-SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
      </parent>

      <name>sakai-velocity-assembly</name>


Is anyone else experiencing this problem?

---- Cris J H


More information about the sakai-dev mailing list