[maven-release-plugin] prepare release karaf-1.2.0
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@884855 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/karaf/manual/pom.xml b/karaf/manual/pom.xml
index 749e11f..6d412ce 100644
--- a/karaf/manual/pom.xml
+++ b/karaf/manual/pom.xml
@@ -1,34 +1,15 @@
-<?xml version="1.0"?>
-
-<!--
- 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">
<parent>
<groupId>org.apache.felix.karaf</groupId>
<artifactId>karaf</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.felix.karaf</groupId>
<artifactId>manual</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0</version>
<packaging>pom</packaging>
<name>Apache Felix Karaf :: Manual</name>
<description>The Karaf Manual which generates a HTML and PDF representation of the manual.</description>
@@ -52,62 +33,38 @@
<id>preprocess</id>
<configuration>
<tasks>
- <taskdef name="if" classname="net.sf.antcontrib.logic.IfTask" classpathref="maven.plugin.classpath"/>
- <taskdef name="for" classname="net.sf.antcontrib.logic.ForTask" classpathref="maven.plugin.classpath"/>
- <taskdef name="trycatch" classname="net.sf.antcontrib.logic.TryCatchTask" classpathref="maven.plugin.classpath"/>
+ <taskdef name="if" classname="net.sf.antcontrib.logic.IfTask" classpathref="maven.plugin.classpath" />
+ <taskdef name="for" classname="net.sf.antcontrib.logic.ForTask" classpathref="maven.plugin.classpath" />
+ <taskdef name="trycatch" classname="net.sf.antcontrib.logic.TryCatchTask" classpathref="maven.plugin.classpath" />
<property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp" />
- <mkdir dir="${manual.dir}"/>
+ <mkdir dir="${manual.dir}" />
<trycatch property="error">
<try>
- <get src="http://cwiki.apache.org/confluence/display/FELIX/Karaf+Users%27+Guide+in+one+page"
- dest="${manual}.temp" />
+ <get src="http://cwiki.apache.org/confluence/display/FELIX/Karaf+Users%27+Guide+in+one+page" dest="${manual}.temp" />
<for list="1,2,3,4,5,6,7,8,9,10" param="letter">
<sequential>
- <replaceregexp
- file="${manual}.temp"
- flags="g"
- match='"/confluence/display/FELIX/([^"]*)\+([^"+]*)"'
- replace='"/confluence/display/FELIX/\1\2"' />
+ <replaceregexp file="${manual}.temp" flags="g" match=""/confluence/display/FELIX/([^"]*)\+([^"+]*)"" replace=""/confluence/display/FELIX/\1\2"" />
</sequential>
</for>
- <replaceregexp
- file="${manual}.temp"
- flags="g"
- match='"/confluence/display/FELIX/([^"]*)"'
- replace='"#KarafUsers%27Guideinonepage-\1"' />
- <replaceregexp
- file="${manual}.temp"
- flags="g"
- match='"/confluence/([^"]*)"'
- replace='"http://cwiki.apache.org/confluence/\1"' />
- <replaceregexp
- file="${manual}.temp"
- flags="g"
- match='>top</a>'
- replace='></a>' />
- <java classname="org.ccil.cowan.tagsoup.CommandLine"
- classpathref="maven.plugin.classpath"
- fork="true"
- output="${manual}.temp2"
- logError="true">
+ <replaceregexp file="${manual}.temp" flags="g" match=""/confluence/display/FELIX/([^"]*)"" replace=""#KarafUsers%27Guideinonepage-\1"" />
+ <replaceregexp file="${manual}.temp" flags="g" match=""/confluence/([^"]*)"" replace=""http://cwiki.apache.org/confluence/\1"" />
+ <replaceregexp file="${manual}.temp" flags="g" match=">top</a>" replace="></a>" />
+ <java classname="org.ccil.cowan.tagsoup.CommandLine" classpathref="maven.plugin.classpath" fork="true" output="${manual}.temp2" logError="true">
<arg value="${manual}.temp" />
</java>
- <xslt in="${manual}.temp2" out="${manual}.html"
- style="${basedir}/src/xslt/extract.xsl">
- <param name="stylesheet" expression="${basedir}/src/styles/print.css"/>
+ <xslt in="${manual}.temp2" out="${manual}.html" style="${basedir}/src/xslt/extract.xsl">
+ <param name="stylesheet" expression="${basedir}/src/styles/print.css" />
</xslt>
<exec executable="prince">
- <arg value="${manual}.html"/>
- <arg value="${manual}.pdf"/>
+ <arg value="${manual}.html" />
+ <arg value="${manual}.pdf" />
</exec>
- <replace file="${manual}.html"
- token="${basedir}/src/styles/print.css"
- value="${svn.root}/src/styles/print.css" />
+ <replace file="${manual}.html" token="${basedir}/src/styles/print.css" value="${svn.root}/src/styles/print.css" />
<replace file="${manual}.html" token="scm:svn:" value="" />
</try>
<catch>
<if>
- <equals arg1="${must-succeed}" arg2="true"/>
+ <equals arg1="${must-succeed}" arg2="true" />
<then>
<echo>ERROR: ${error}</echo>
<fail>${error}</fail>
@@ -168,4 +125,4 @@
</profile>
</profiles>
-</project>
+</project>
\ No newline at end of file