portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liu Yan <yliu....@gmail.com>
Subject How to build a custom Portal Server
Date Sat, 03 Dec 2005 01:49:44 GMT

I am new to the JetSpeed as well as the Portal Server. Based on the Getting Started page on
the J2 web site, I successfully built and deployed the the default Portal Server all from
the J2 source. It runs well based on MySql backend. All sample Portlets are cool except the
RSS one, however, I didn't look into it more.

My current task is to build a custom Portal Server. After some doc reading and mail list archive
search, I found little information on it, Wiki has such title but with empty content. I guess
I could miss something in the archive. The following are the steps I took:

Environment: Windows XP Professional, Tomcat 5.5.12, MySql 4.1 NT, JDK1.5.0_05

1) Download Maven 1.0.2 (It seems there is some problem for J2 working with Maven 1.1-beta,
is that true?), set MAVEN_HOME, and PATH
2) Delete the ${user.home}/.maven directory, this directory working fine for the default build
directly from J2 source as I mentioned above, but I'd like to delete it to have a clean environment.
3) Create a directory, say d:\myportal, copy the build.properties to this directory

maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/, \
  http://dist.codehaus.org/, http://cvs.apache.org/repository
org.apache.jetspeed.project.home = d:/myportal

org.apache.jetspeed.portal.home = d:/myportal
org.apache.jetspeed.portal.groupId = myportal
org.apache.jetspeed.portal.artifactId = portal
org.apache.jetspeed.portal.currentVersion = 1.0

org.apache.jetspeed.genapp.home= d:/myportal
org.apache.jetspeed.genapp.name=Test Portal

(There are other settings related to Tomcat and DB config, I didn't list them here for brevity)

4) Run: maven -DartifactId=maven-jetspeed2-plugin -DgroupId=jetspeed2 -Dversion=2.0-M4-SNAPSHOT


5) Run: maven j2:portal.genapp


6) Run: maven war:install

After download a lot of stuffs, the build failed with the output:
WARNING: Failed to download derby-.jar.
The build cannot continue because of the following unsatisfied dependency:

What did I do wrong? Or do I just simply misunderstand the concept of how to build a custom
portal server?

Your reply is appreciated.

Liu Yan

View raw message