Liu,

Derby is the default DB implementation and it appears that its version
has been erased somehow. It lives in the maven plugin properties, so
please try to run this again:

maven initMavenPlugin

If this fails, manually remove the jetspeed plugin from your repository
under ~/.maven and try the build steps again.

Maven can be testy at times, so be patient.

HTH,

Randy

On Sat, 2005-12-03 at 01:53 +0800, Liu Yan wrote:
> hi,
> 
> 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.name=myportal
> org.apache.jetspeed.portal.groupId = myportal
> org.apache.jetspeed.portal.artifactId = portal
> jetspeed.version=2.0-dev
> org.apache.jetspeed.portal.currentVersion = 1.0
> 
> org.apache.jetspeed.genapp.home= d:/myportal
> org.apache.jetspeed.genapp.groupId=myportal
> org.apache.jetspeed.genapp.name=Test Portal
> org.apache.jetspeed.genapp.currentVersion=1.0
> 
> (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 plugin:download
> 
> BUILD SUCCESSFULLY
> 
> 5) Run: maven j2:portal.genapp
> 
> BUILD SUCCESSFULLY
> 
> 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
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to