[Building Sakai] Having trouble compiling sakai-trunk-all with a clean .m2 repo

Anthony Whyte arwhyte at umich.edu
Sat Oct 29 06:17:20 PDT 2011


deploy/pom.xml <relativePath> is incorrect, as are all the velocity parent <relativePath> values.  Please commit your fixes.

Cheers,

Anth


On Oct 28, 2011, at 10:38 PM, Charles Severance wrote:

> 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>
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> 
> 



More information about the sakai-dev mailing list