[Building Sakai] Trouble building sakai trunk

Anthony Whyte arwhyte at umich.edu
Wed Sep 30 14:13:34 PDT 2009


Try adding an api dependency to the base site-manage pom's  
<dependencyManagement> section.  I bet that is the problem.


<dependency>
         <groupId>org.sakaiproject</groupId>
         <artifactId>sakai-site-manage-api</artifactId>
         <version>2.7.0-SNAPSHOT</version>
       </dependency>

Anth

On Sep 30, 2009, at 4:48 PM, Berg, A.M. wrote:

> Hi all,
>
> I just deleted my local maven repository ~/.m2  and tried to build  
> trunk. I get the following error. Can anyone advise.
>
>
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.sakaiproject:sakai-site-manage-api:jar:2.7.0-SNAPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.sakaiproject - 
> DartifactId=sakai-site-manage-api -Dversion=2.7.0-SNAPSHOT - 
> Dpackaging=jar -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the  
> file there:
>       mvn deploy:deploy-file -DgroupId=org.sakaiproject - 
> DartifactId=sakai-site-manage-api -Dversion=2.7.0-SNAPSHOT - 
> Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>         1) org.sakaiproject:sakai-site-manage-hbm:jar:2.7.0-SNAPSHOT
>         2) org.sakaiproject:sakai-site-manage-api:jar:2.7.0-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   org.sakaiproject:sakai-site-manage-hbm:jar:2.7.0-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   sakai-maven2-snapshots (http://source.sakaiproject.org/maven2-snapshots 
> ),
>   apache-repo (http://myfaces.zones.apache.org/dist/maven-repository),
>   sakai-ibiblio-mirror (http://source.sakaiproject.org/maven2- 
> ibiblio),
>   default (http://repo1.maven.org/maven2),
>   sakai-maven (http://source.sakaiproject.org/maven2)
>
>
>
> Alan
>
> Alan Berg
>
> Senior Developer / Quality Assurance
> Group Education and Research Services
> Central Computer Services
> University of Amsterdam
>
> http://home.uva.nl/a.m.berg
>
>
>
> _______________________________________________
> 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/20090930/7f653ec3/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090930/7f653ec3/attachment.bin 


More information about the sakai-dev mailing list