You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by he...@apache.org on 2006/12/29 10:09:20 UTC
svn commit: r490964 - in /velocity/site: README.txt pom.xml
Author: henning
Date: Fri Dec 29 01:09:19 2006
New Revision: 490964
URL: http://svn.apache.org/viewvc?view=rev&rev=490964
Log:
Add reactor build, update README
Added:
velocity/site/pom.xml (with props)
Modified:
velocity/site/README.txt
Modified: velocity/site/README.txt
URL: http://svn.apache.org/viewvc/velocity/site/README.txt?view=diff&rev=490964&r1=490963&r2=490964
==============================================================================
--- velocity/site/README.txt (original)
+++ velocity/site/README.txt Fri Dec 29 01:09:19 2006
@@ -19,20 +19,23 @@
Apache Velocity uses Apache Maven 2 to build the site. It has been
tested with Maven 2.0.4 and should work with all versions beyond.
-The site consists of two modules: The Skin and the Site itself. These
-are represented by the two sub-modules in this directory.
+The site consists of multiple modules: The Site itself and some
+helpers that must be installed in your local Maven repository. These
+extensions are currently not present in the remote Maven repositories,
+so if you do not install them, the site build itself will fail.
-Create the Apache Velocity Site Skin
-------------------------------------
+Create the Apache Velocity Site Helper modules
+----------------------------------------------
-To build the site, you need the skin. This is currently not available
-from the Maven repositories. Please install it locally by entering the
-"skin" directory and running "mvn". This installs the skin on your
-local maven repository.
+To build the site, you need the helper modules installed locally.
-This step needs to be done only once unless you want to change the
-skin (and the look-and-feel of the site).
+The helper modules have been organized as a Maven reactor build. You
+can install them by running "mvn" from the directory where you found
+this README.
+
+You need to install these only once unless the dependencies of the
+site have changed which should only happen very rarely.
Create the Apache Velocity Site
@@ -64,7 +67,7 @@
Troubleshooting
---------------
-The following error message when building the site:
+One of the following error messages when building the site:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
@@ -80,8 +83,26 @@
org.apache.velocity:velocity-site-skin:jar:1.0.0
-means that you have not installed the skin locally. Please go to the
-skin directory and run "mvn".
+or
+
+Missing:
+----------
+1) org.apache.velocity:doxia-velocity-renderer:jar:0.0.1
+
+ Try downloading the file manually from the project website.
+
+ Then, install it using the command:
+ mvn install:install-file -DgroupId=org.apache.velocity -DartifactId=doxia-velocity-renderer \
+ -Dversion=0.0.1 -Dpackaging=jar -Dfile=/path/to/file
+
+ Path to dependency:
+ 1) org.apache.velocity:velocity-site:jar:1.0.0
+ 2) org.apache.velocity:doxia-velocity-renderer:jar:0.0.1
+
+
+Both messages mean that you neglected to install the helper
+modules. Please go to the directory where you found this README and
+run "mvn". Afterwards the site should build fine.
Questions and contact
Added: velocity/site/pom.xml
URL: http://svn.apache.org/viewvc/velocity/site/pom.xml?view=auto&rev=490964
==============================================================================
--- velocity/site/pom.xml (added)
+++ velocity/site/pom.xml Fri Dec 29 01:09:19 2006
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.velocity</groupId>
+ <artifactId>apache-velocity-site-parent</artifactId>
+ <version>1.0.0</version>
+ <name>Apache Velocity Site Parent</name>
+ <url>http://velocity.apache.org/</url>
+ <description>Parent of all Velocity Site sub-projects</description>
+ <inceptionYear>2006</inceptionYear>
+ <packaging>pom</packaging>
+
+ <organization>
+ <name>The Apache Software Foundation</name>
+ <url>http://www.apache.org/</url>
+ </organization>
+
+ <modules>
+ <module>apache-velocity-site-skin</module>
+ <module>doxia-velocity-renderer</module>
+ </modules>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ </build>
+
+ <licenses>
+ <license>
+ <name>Apache 2</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ <comments>The Apache Software License 2.0</comments>
+ </license>
+ </licenses>
+
+ <developers>
+ <developer>
+ <name>Henning P. Schmiedehausen</name>
+ <id>henning</id>
+ <email>henning@apache.org</email>
+ <url>http://henning.schmiedehausen.org/</url>
+ <organization>The Apache Software Foundation</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ <timezone>1</timezone>
+ </developer>
+ </developers>
+
+ <issueManagement>
+ <system>JIRA</system>
+ <url>https://issues.apache.org/jira/browse/VELOCITY</url>
+ </issueManagement>
+
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/velocity/site/</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/velocity/site/</developerConnection>
+ <tag>HEAD</tag>
+ <url>http://svn.apache.org/viewvc/velocity/site/</url>
+ </scm>
+
+</project>
Propchange: velocity/site/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: velocity/site/pom.xml
------------------------------------------------------------------------------
svn:keywords = Id Author Date Revision