Author: uli
Date: Thu Dec 13 11:00:35 2012
New Revision: 1421224
URL: http://svn.apache.org/viewvc?rev=1421224view=rev
Log:
initial import of tapestry site with svnpubsub backed by confluence
Added:
tapestry/tapestry-site/README
tapestry/tapestry-site/bin/
tapestry/tapestry-site/bin/update-site (with props)
tapestry/tapestry-site/build_cms.sh (with props)
tapestry/tapestry-site/pom.xml
tapestry/tapestry-site/template/
tapestry/tapestry-site/template/main.cfg
tapestry/tapestry-site/template/template.vm
Added: tapestry/tapestry-site/README
URL:
http://svn.apache.org/viewvc/tapestry/tapestry-site/README?rev=1421224view=auto
==
--- tapestry/tapestry-site/README (added)
+++ tapestry/tapestry-site/README Thu Dec 13 11:00:35 2012
@@ -0,0 +1,40 @@
+
+This is the start of an export utility to export the Tapestry
+confluence spaces to the sites. To run this manually, you need to
+have a copy of the Tapestry website checked out to a local directory:
+
+svn checkout
https://svn.apache.org/repos/infra/websites/production/tapestry/content
+
+Build:
+mvn install
+
+You will need to pass credentials for a valid confluence user. This can be
+done in one of two ways:
+
+1) Command line:
+ -Dconfluence.user=username -Dconfluence.password=password
+
+2) Profile in .m2/settings.xml
+ profile
+idconfluence/id
+properties
+confluence.useruser/confluence.user
+confluence.passwordpasswd/confluence.password
+/properties
+/profile
+
+To export the space:
+mvn -Pconfluence exec:java -Dcxf.site.output=/path/to/content
+should appear in /path/to/content/
+
+In the confluence profile above, you could add a property like:
+ cxf.site.output/path/to/content/cxf.site.output
+to simplify passing that into the command.
+
+When you commit any changes in the content directory, the changes
+should be live fairly quickly due to the svnpubsub process.
+
+
+
+
+
Added: tapestry/tapestry-site/bin/update-site
URL:
http://svn.apache.org/viewvc/tapestry/tapestry-site/bin/update-site?rev=1421224view=auto
==
--- tapestry/tapestry-site/bin/update-site (added)
+++ tapestry/tapestry-site/bin/update-site Thu Dec 13 11:00:35 2012
@@ -0,0 +1,4 @@
+#!/bin/sh
+mvn -Pconfluence,nochecks -e package exec:java $@
+[ $? -eq 0 ] || exit -1
+
Propchange: tapestry/tapestry-site/bin/update-site
--
svn:executable =
Added: tapestry/tapestry-site/build_cms.sh
URL:
http://svn.apache.org/viewvc/tapestry/tapestry-site/build_cms.sh?rev=1421224view=auto
==
--- tapestry/tapestry-site/build_cms.sh (added)
+++ tapestry/tapestry-site/build_cms.sh Thu Dec 13 11:00:35 2012
@@ -0,0 +1,3 @@
+#!/bin/sh
+bin/update-site -Dsite.output=$2
+
Propchange: tapestry/tapestry-site/build_cms.sh
--
svn:executable =
Added: tapestry/tapestry-site/pom.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry-site/pom.xml?rev=1421224view=auto
==
--- tapestry/tapestry-site/pom.xml (added)
+++ tapestry/tapestry-site/pom.xml Thu Dec 13 11:00:35 2012
@@ -0,0 +1,112 @@
+!--
+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;
+modelVersion4.0.0/modelVersion
+groupIdorg.apache.tapestry/groupId
+artifactIdtapestry-site-export/artifactId
+packagingjar/packaging
+version1.0-SNAPSHOT/version
+nameApache Tapestry Confluence Site Exporter/name
+urlhttp://tapestry.apache.org/url
+
+parent
+groupIdorg.apache.cxf/groupId
+artifactIdcxf-parent/artifactId
+version2.5.2/version
+/parent
+
+properties
+