Prepare release
git-svn-id: https://svn.apache.org/repos/asf/turbine/fulcrum/trunk/localization@786198 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 9934f77..d971edf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?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
@@ -15,10 +15,7 @@
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">
+<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">
<parent>
<groupId>org.apache.fulcrum</groupId>
<artifactId>fulcrum-parent</artifactId>
@@ -93,6 +90,8 @@
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
+ <optional>true</optional>
+
</dependency>
<dependency>
<groupId>commons-lang</groupId>
@@ -107,6 +106,7 @@
<version>1.0.6</version>
<scope>test</scope>
</dependency>
+
<dependency>
<groupId>org.apache.fulcrum</groupId>
<artifactId>fulcrum-yaafi</artifactId>
@@ -119,5 +119,26 @@
<sourceDirectory>${basedir}/src/java</sourceDirectory>
<testSourceDirectory>${basedir}/src/test</testSourceDirectory>
</build>
+
+ <profiles>
+ <profile>
+ <id>rc</id>
+ <distributionManagement>
+ <!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
+ <site>
+ <id>apache.website</id>
+ <name>Apache Fulcrum Release Candidate Staging Site</name>
+ <url>${fulcrum.deployment.protocol}://people.apache.org/www/turbine.apache.org/builds/fulcrum/${fulcrum.componentid}/${fulcrum.release.version}/${fulcrum.rc.version}/site</url>
+ </site>
+ </distributionManagement>
+ </profile>
+ </profiles>
+
+ <properties>
+ <!-- This bits are used for the staging directory -->
+ <fulcrum.release.version>1.0.6</fulcrum.release.version>
+ <fulcrum.rc.version>RC1</fulcrum.rc.version>
+ <fulcrum.deployment.protocol>scpexe</fulcrum.deployment.protocol>
+ </properties>
</project>
diff --git a/xdocs/changes.xml b/xdocs/changes.xml
index 8433240..7c96488 100644
--- a/xdocs/changes.xml
+++ b/xdocs/changes.xml
@@ -24,7 +24,10 @@
</properties>
<body>
- <release version="1.0.6" date="">
+ <release version="1.0.6" date="2009-06-18">
+ <action dev="tv" type="add">
+ Added a Maven-2 build.
+ </action>
<action dev="tv" type="add">
Split the service into a simple one that does not depend on servlet-api
and an extended one that does. This allows to use the service in non-web
diff --git a/xdocs/index.xml b/xdocs/index.xml
index 61a194c..ef4ba60 100644
--- a/xdocs/index.xml
+++ b/xdocs/index.xml
@@ -207,12 +207,12 @@
<section name="Usage">
<source><![CDATA[
- TurbineServices.getInstance().getService(LocalizationService.LOCALIZATION)
+ TurbineServices.getInstance().getService(LocalizationService.ROLE)
.getString("DISPLAYPROJECTS_TITLE");
]]></source>
<p>
- Wow. That is a lot of typing. That could be easily shortened to this:
+ Wow. That is a lot of typing. In Turbine, that could be easily shortened to this:
</p>
<source><![CDATA[
@@ -249,7 +249,7 @@
]]></source>
<p>
- This actually doesn't look too nice, however the call using the LocalizationTool
+ This actually doesn't look too nice, however the call using the Turbine LocalizationTool
from a <a href="http://velocity.apache.org/">Velocity</a> template just deflates to
</p>