[Building Sakai] Building 2.8.0 with custom providers

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


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/d632aad3/attachment.html 


More information about the sakai-dev mailing list