Hi Henning,

I'm trying to rebuild the engine docs.  There's a few minor things missing
from your notes which I note below.  (perhaps they are all obvious).  But
I'm still stuck.

(1) You need to set JAVA_HOME

JAVA_HOME=/usr/jdk/latest/
export JAVA_HOME

(2) You need to have mvn in your path
/local/bin/mvn

(3) After calling the script to build the site, you need to go to the site
directory before running maven.

cd /export/home/velocity/deploy/velocity-engine-site/

HOWEVER,

I'm getting an error when I run the following.  Any suggestions?

-bash-3.00$ mvn clean site site:deploy
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'site'.
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-site-plugin
Version: 2.0-beta-6

Reason: Unable to download the artifact from any repository

 org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-6

from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Apr 19 04:54:13 GMT+00:00 2007
[INFO] Final Memory: 1M/8M
[INFO]
------------------------------------------------------------------------

Reply via email to