You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2010/05/03 15:54:20 UTC

svn commit: r940458 - in /servicemix/documentation/trunk: docs/manual/pom.xml docs/pom.xml pom.xml

Author: gertv
Date: Mon May  3 13:54:19 2010
New Revision: 940458

URL: http://svn.apache.org/viewvc?rev=940458&view=rev
Log:
Allow for documents to get uploaded by Maven site:deploy

Modified:
    servicemix/documentation/trunk/docs/manual/pom.xml
    servicemix/documentation/trunk/docs/pom.xml
    servicemix/documentation/trunk/pom.xml

Modified: servicemix/documentation/trunk/docs/manual/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/documentation/trunk/docs/manual/pom.xml?rev=940458&r1=940457&r2=940458&view=diff
==============================================================================
--- servicemix/documentation/trunk/docs/manual/pom.xml (original)
+++ servicemix/documentation/trunk/docs/manual/pom.xml Mon May  3 13:54:19 2010
@@ -1,5 +1,4 @@
 <?xml version="1.0"?>
-
 <!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -16,7 +15,6 @@
   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>
 
@@ -26,7 +24,7 @@
     <version>4.3-SNAPSHOT</version>
   </parent>
 
-  <artifactId>quickstart</artifactId>
+  <artifactId>manual</artifactId>
   <packaging>pom</packaging>
   <name>Apache ServiceMix :: Documentation :: Programmer's Manual</name>
   <description>The ServiceMix Programmer's Guide</description>

Modified: servicemix/documentation/trunk/docs/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/documentation/trunk/docs/pom.xml?rev=940458&r1=940457&r2=940458&view=diff
==============================================================================
--- servicemix/documentation/trunk/docs/pom.xml (original)
+++ servicemix/documentation/trunk/docs/pom.xml Mon May  3 13:54:19 2010
@@ -114,6 +114,7 @@
                   <fileset dir="${project.build.directory}/common/theme"/>
                 </copy>
               </postProcess>
+              <targetDirectory>${project.reporting.outputDirectory}/html</targetDirectory>
             </configuration>
           </execution>
           <execution>
@@ -124,6 +125,7 @@
             <phase>verify</phase>
             <configuration>
               <foCustomization>${project.build.directory}/common/styles/docbook-fo.xsl</foCustomization>
+              <targetDirectory>${project.reporting.outputDirectory}/pdf</targetDirectory>
             </configuration>
           </execution>
         </executions>

Modified: servicemix/documentation/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/documentation/trunk/pom.xml?rev=940458&r1=940457&r2=940458&view=diff
==============================================================================
--- servicemix/documentation/trunk/pom.xml (original)
+++ servicemix/documentation/trunk/pom.xml Mon May  3 13:54:19 2010
@@ -37,6 +37,13 @@
     <servicemix-version>4.3-SNAPSHOT</servicemix-version>
   </properties>
 
+  <distributionManagement>
+    <site>
+      <id>people.apache.org</id>
+      <url>scp://people.apache.org/www/servicemix.apache.org/docs/${servicemix-version}</url>
+    </site>
+  </distributionManagement>
+
   <modules>
     <module>common</module>
     <module>docs</module>
@@ -44,8 +51,27 @@
 
   <build>
     <defaultGoal>install</defaultGoal>
+    <plugins>
+      <plugin>
+      <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>initialize</phase>
+            <configuration>
+              <tasks>
+                <mkdir dir="target/site" />
+                <touch file="target/site/UPDATE" />
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
   </build>
-  
+    
   <pluginRepositories>
     <pluginRepository>
       <releases>