pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1707134 - /pdfbox/trunk/pdfbox/pom.xml
Date Tue, 06 Oct 2015 20:24:29 GMT
Author: msahyoun
Date: Tue Oct  6 20:24:29 2015
New Revision: 1707134

URL: http://svn.apache.org/viewvc?rev=1707134&view=rev
Log:
PDFBOX-2340: semi automate javadoc generation

Modified:
    pdfbox/trunk/pdfbox/pom.xml

Modified: pdfbox/trunk/pdfbox/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/pom.xml?rev=1707134&r1=1707133&r2=1707134&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/pom.xml (original)
+++ pdfbox/trunk/pdfbox/pom.xml Tue Oct  6 20:24:29 2015
@@ -35,7 +35,11 @@
         The Apache PDFBox library is an open source Java tool for working with PDF documents.
     </description>
     <inceptionYear>2002</inceptionYear>
-
+    
+    <properties>
+        <svn.scmJavadocUrl>https://svn.apache.org/repos/asf/pdfbox/cmssite/trunk/content/docs/${project.version}/javadocs</svn.scmJavadocUrl>
+    </properties>
+    
     <dependencies>
         <dependency>
             <groupId>org.apache.pdfbox</groupId>
@@ -140,6 +144,22 @@
                     </excludes>
                 </configuration>
             </plugin>
+            <!-- 
+            	Publish Javadoc to Apache CMS
+            	After completion log in to https://cms.apache.org/pdfbox/publish 
+            	and click on the Submit button to commit to production.
+             -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-scm-publish-plugin</artifactId>
+                <configuration>
+                    <content>${project.reporting.outputDirectory}/apidocs</content>
+                    <pubScmUrl>scm:svn:${svn.scmJavadocUrl}</pubScmUrl>
+                    <tryUpdate>true</tryUpdate>
+                    <checkoutDirectory>${svn.scmJavadocCheckoutDirectory}</checkoutDirectory>
+                    <serverId>pdfbox-site</serverId>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 



Mime
View raw message