[Building Sakai] LessonBuilder build error (in an unusual setup)

Paul Dagnall pdagnall1 at udayton.edu
Fri May 25 13:36:35 PDT 2012


Thanks Cindy.
I did try setting the relative path and sadly it didn't help it find it. I
doubled checked and I have maven 2 in both places.
Thank you though!


On Fri, May 25, 2012 at 4:31 PM, Gast, Cynthia (cmw6s) <
cmw6s at eservices.virginia.edu> wrote:

>  Hi Paul:
>
> Not sure if this applies to your case, but we are running Lesson Builder
> 1.4.x with 2.8.1, and adjusted the top LB pom.xml "<parent>" section to add
> a <relativePath> to the 'master' project:
>
>     <parent>
>         <groupId>org.sakaiproject</groupId>
>         <artifactId>master</artifactId>
>         <version>2.8.1</version>
>         <relativePath>../master/pom.xml</relativePath>
>     </parent>
>
> Also, check the version of maven on the two systems to possibly explain
> the difference in your builds... we just realized 'maven 3' and 'maven 2'
> are on the system, and I think I may have seen this type of error because I
> mistakenly built using 'maven 3' ('mvn' on our system) -- when our intent
> was to build with the Sakai-recommended  'maven 2.2.1' for Sakai 2.8.1
> ('mvn2' on our system).  If using 'maven 2', you may not see this error;
> 'maven 3' may be more strict.  I'm not an expert on this, so would welcome
> feedback from others.
>
> Best,
> Cindy @ UVa
>
>
>  ------------------------------
> *From:* sakai-dev-bounces at collab.sakaiproject.org [
> sakai-dev-bounces at collab.sakaiproject.org] on behalf of Paul Dagnall [
> pdagnall1 at udayton.edu]
> *Sent:* Friday, May 25, 2012 3:27 PM
> *To:* sakai-dev
> *Subject:* [Building Sakai] LessonBuilder build error (in an unusual
> setup)
>
>  Hi
> I'm doing something a little unusual. I'm trying to get Lesson Builder 1.4
> to work with Sakai 2.6. After tinkering, I actually got it running smoothly
> on my test box, but when I tried to update production, I get the following
> build error.
>
> --------
> Project ID: org.sakaiproject.basiclti:basiclti:pom:2.0-SNAPSHOT
>
> Reason: Cannot find parent: org.sakaiproject:master for project:
> org.sakaiproject.basiclti:basiclti:pom:2.0-SNAPSHOT for project
> org.sakaiproject.basiclti:basiclti:pom:2.0-SNAPSHOT
> -----------
>
> I've verified the correct version of basiclti is getting into my maven
> repo. Sakai 2.6 doesn't have a separate directory for basiclti. So if I'm
> reading the error correctly, I'm not sure where I'm supposed to be telling
> it where the parent: master is.
>
> Any ideas?
>
> Thanks!
>
> Paul Dagnall
> Application Developer & Administrator
> University of Dayton
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120525/063446b1/attachment.html 


More information about the sakai-dev mailing list