[Building Sakai] Having trouble compiling sakai-trunk-all with a clean .m2 repo
Charles Severance
csev at umich.edu
Fri Oct 28 19:38:09 PDT 2011
I have been testing sakai-trunk-all all day now with my scripts and
finally decided to wipe out my .m2 repository and it failed because
four files had <parent> sections that were wrong.
I made the following changes (patch included) and it compiled just fine..
So I am confused. Has no one wiped their repo in a while so we have
been compiling because these just work? Or is this something else?
So I wanted to sent the patch to the dev list before I commit it and
break something.
Simple patch changing the path in four poms below.
I would much appreciate someone doing a sanity check before I commit
this stuff.
/Chuck
Index: deploy/pom.xml
===================================================================
--- deploy/pom.xml (revision 100251)
+++ deploy/pom.xml (working copy)
@@ -7,7 +7,7 @@
<groupId>org.sakaiproject</groupId>
<artifactId>master</artifactId>
<version>2.9-SNAPSHOT</version>
- <relativePath>../../master/pom.xml</relativePath>
+ <relativePath>../master/pom.xml</relativePath>
</parent>
<name>Sakai Deploy: Base POM</name>
Index: velocity/assembly/pom.xml
===================================================================
--- velocity/assembly/pom.xml (revision 100251)
+++ velocity/assembly/pom.xml (working copy)
@@ -6,7 +6,7 @@
<groupId>org.sakaiproject.velocity</groupId>
<artifactId>velocity</artifactId>
<version>2.9-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
+ <relativePath>../pom.xml</relativePath>
</parent>
<name>sakai-velocity-assembly</name>
@@ -66,4 +66,4 @@
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
Index: velocity/tool-api/pom.xml
===================================================================
--- velocity/tool-api/pom.xml (revision 100251)
+++ velocity/tool-api/pom.xml (working copy)
@@ -6,7 +6,7 @@
<groupId>org.sakaiproject.velocity</groupId>
<artifactId>velocity</artifactId>
<version>2.9-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
+ <relativePath>../pom.xml</relativePath>
</parent>
<name>sakai-velocity-tool-api</name>
Index: velocity/tool/pom.xml
===================================================================
--- velocity/tool/pom.xml (revision 100251)
+++ velocity/tool/pom.xml (working copy)
@@ -6,7 +6,7 @@
<groupId>org.sakaiproject.velocity</groupId>
<artifactId>velocity</artifactId>
<version>2.9-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
+ <relativePath>../pom.xml</relativePath>
</parent>
<name>sakai-velocity-tool</name>
@@ -96,4 +96,4 @@
</resource>
</resources>
</build>
-</project>
\ No newline at end of file
+</project>
More information about the sakai-dev
mailing list