You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2010/05/24 00:54:22 UTC

svn commit: r947516 - /uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml

Author: schor
Date: Sun May 23 22:54:21 2010
New Revision: 947516

URL: http://svn.apache.org/viewvc?rev=947516&view=rev
Log:
[UIMA-1790] add distributionManagement element to parents that will be one level above poms that may do site documentation.  Maven (by convention) will set the child poms' urls to the <url>/child-pom's-artifactId, so their webpage contributions will be isolated.

For the docbook pom change where the docbook output goes to target/site/d

Modified:
    uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml

Modified: uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml
URL: http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml?rev=947516&r1=947515&r2=947516&view=diff
==============================================================================
--- uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml (original)
+++ uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml Sun May 23 22:54:21 2010
@@ -61,6 +61,15 @@
       http://svn.apache.org/viewvc/uima/${uimaScmRoot}/trunk/${uimaScmProject}
     </url>
   </scm>
+
+  <!-- for children POMs maven automatically adds their artifactId to the URL below -->
+  <distributionManagement>
+    <site>
+      <id>uima-website</id>
+      <name>UIMA Website</name>
+      <url>${uimaWebsiteDistributionUrl}</url> <!-- set this var in your settings.xml -->
+    </site>  
+  </distributionManagement>
   
   <properties>
     <uimaScmRoot>build</uimaScmRoot>
@@ -291,6 +300,7 @@
             <version>2.0.10</version>
             <configuration>  <!-- general configuration for both html and pdf -->
               <sourceDirectory>${basedir}/src/docbook</sourceDirectory>
+              <targetDirectory>${project.build.directory}/site/d</targetDirectory>
               <includes>${bookNameRoot}.xml</includes>
               <highlightSource>1</highlightSource>
               <xincludeSupported>true</xincludeSupported>