[Building Sakai] Building 2.8.0 with custom providers

Sam Ottenhoff ottenhoff at longsight.com
Wed Sep 21 13:25:25 PDT 2011


If the rest of your build, including master, was using the 2.8.x branch
instead of the 2.8.0 tag, I don't think you would have a conflict.  2.8.x
uses the 2.8-SNAPSHOT version.

--Sam

On Wed, Sep 21, 2011 at 4:22 PM, Warwick Chapman
<warwickchapman at gmail.com>wrote:

> Thanks Sam.  Very interesting.
>
> I used the previous revision in my current 2.7.1 build and don't recall
> needing to edit anything in the pom.xml to get it to build.  Perhaps the
> issue is the extra <version> tag.
>
> -- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com
>
>
> On Wed, Sep 21, 2011 at 10:15 PM, Sam Ottenhoff <ottenhoff at longsight.com>wrote:
>
>> Your <version> tags in your provider refer to 2.8-SNAPSHOT while your
>> master/pom.xml refers to version 2.8.0. These versions need to be
>> consistent.
>>
>> Additionally it looks like there is an extra <version> tag added to
>> providers/trunk/pom.xml, here is the revision:
>>
>>
>> https://source.sakaiproject.org/viewsvn/da/providers/trunk/pom.xml?root=contrib&r1=70461&r2=76561
>>
>> --Sam
>>
>>
>> On Wed, Sep 21, 2011 at 4:05 PM, Warwick Chapman <
>> warwickchapman at gmail.com> wrote:
>>
>>> Sam
>>>
>>> Thanks, yes it is parallel.   In my build script I rm -rf
>>> $SAKAISRC/providers and replace it with the trunk co from contrib.
>>>
>>> In $SAKAISRC/master/pom.xml there is no mention of providers.  If you re
>>> talking about the version of Sakai, I assume it is 2.8.0 as from the first
>>> lines of master/pom.xml:
>>>
>>> <?xml version="1.0"?>
>>> <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>
>>>     <groupId>org.sakaiproject</groupId>
>>>     <artifactId>master</artifactId>
>>>     <packaging>pom</packaging>
>>>     <name>Sakai Master</name>
>>>     <version>2.8.0</version>
>>>
>>> -- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com
>>>
>>>
>>> On Wed, Sep 21, 2011 at 9:17 PM, Sam Ottenhoff <ottenhoff at longsight.com>wrote:
>>>
>>>> What is the <version> set in master/pom.xml?
>>>>
>>>> Is the master directory parallel to the providers directory?  Both
>>>> should be sub-directories of your SVN checkout.
>>>>
>>>> --Sam
>>>>
>>>> On Wed, Sep 21, 2011 at 3:14 PM, Warwick Chapman <
>>>> warwickchapman at gmail.com> wrote:
>>>>
>>>>> Hi All
>>>>>
>>>>> I'm trying to build 2.8.0 against our customised providers trunk at
>>>>> https://source.sakaiproject.org/contrib/da/providers/trunk:
>>>>>
>>>>> When the Sakai master build starts, it fails with:
>>>>>
>>>>> [ERROR] FATAL ERROR
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Error building POM (may not be this project's POM).
>>>>>
>>>>>
>>>>> Project ID: org.sakaiproject:providers-base:pom:2.8-SNAPSHOT
>>>>>
>>>>> Reason: Cannot find parent: org.sakaiproject:master for project:
>>>>> org.sakaiproject:providers-base:pom:2.8-SNAPSHOT for project
>>>>> org.sakaiproject:providers-base:pom:2.8-SNAPSHOT
>>>>>
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Trace
>>>>> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
>>>>> org.sakaiproject:master for project:
>>>>> org.sakaiproject:providers-base:pom:2.8-SNAPSHOT for project
>>>>> org.sakaiproject:providers-base:pom:2.8-SNAPSHOT
>>>>>
>>>>> I have tried editing the POM and relating 2.8-SNAPSHOT with 2.8.0 but
>>>>> that didn't work.
>>>>>
>>>>> -- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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"
>>>>>
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110921/e2bd16f2/attachment.html 


More information about the sakai-dev mailing list