Tuesday, February 17, 2009

Problems building the uportal calender portlet

Uportal calender portlet


http://www.jasig.org/portlets/calendar-portlet

When building this seems to require

jakarta-slide-webdavlib version 2.2pre1-httpclient-3.0

as noted by maven.


ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) slide:jakarta-slide-webdavlib:jar:2.2pre1-httpclient-3.0

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=slide -DartifactId=jakarta-slide-webdavlib \
-Dversion=2.2pre1-httpclient-3.0 -Dpackaging=jar -Dfile=/path/to/file

Path to dependency:
1) org.jasig.portlet:CalendarPortlet:war:1.0.0-M2-SNAPSHOT
2) slide:jakarta-slide-webdavlib:jar:2.2pre1-httpclient-3.0

----------
1 required artifact is missing.

for artifact:
org.jasig.portlet:CalendarPortlet:war:1.0.0-M2-SNAPSHOT

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
jasig-repository (http://developer.ja-sig.org/maven2),
jasig-snapshot (http://developer.ja-sig.org/maven2-snapshot),
Codehaus Snapshots (http://snapshots.repository.codehaus.org/)




Solution

Add this to your in your pom.xml file


caldav4j.repo
CalDav4J Repository
http://caldav4j.googlecode.com/svn/trunk/maven/