deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rafab...@apache.org
Subject deltaspike git commit: DELTASPIKE-777 - Publish Javadocs section
Date Fri, 14 Nov 2014 15:05:25 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 34b713b41 -> 1a4d94523


DELTASPIKE-777 - Publish Javadocs section


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/1a4d9452
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/1a4d9452
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/1a4d9452

Branch: refs/heads/master
Commit: 1a4d945233fe26d2db91de7ac5fc6a993265112a
Parents: 34b713b
Author: Rafael Benevides <rafabene@gmail.com>
Authored: Fri Nov 14 12:54:17 2014 -0200
Committer: Rafael Benevides <rafabene@gmail.com>
Committed: Fri Nov 14 12:54:17 2014 -0200

----------------------------------------------------------------------
 deltaspike/javadoc.sh |  1 +
 deltaspike/pom.xml    | 73 +++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 73 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/1a4d9452/deltaspike/javadoc.sh
----------------------------------------------------------------------
diff --git a/deltaspike/javadoc.sh b/deltaspike/javadoc.sh
new file mode 100755
index 0000000..7c8c714
--- /dev/null
+++ b/deltaspike/javadoc.sh
@@ -0,0 +1 @@
+mvn clean javadoc:aggregate scm-publish:publish-scm
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/1a4d9452/deltaspike/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/pom.xml b/deltaspike/pom.xml
index 19167fb..6447428 100644
--- a/deltaspike/pom.xml
+++ b/deltaspike/pom.xml
@@ -45,6 +45,11 @@
     </description>
     <url>http://deltaspike.apache.org</url>
 
+    <properties>
+		<svn.scmPubUrl>https://svn.apache.org/repos/asf/deltaspike/site/trunk/content/javadoc/${project.version}</svn.scmPubUrl>
+		<svn.scmPubCheckoutDirectory>${project.build.directory}/co-site</svn.scmPubCheckoutDirectory>
+	</properties>
+
     <scm>
         <connection>scm:git:https://git-wip-us.apache.org/repos/asf/deltaspike.git</connection>
         <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/deltaspike.git</developerConnection>
@@ -109,7 +114,73 @@
                         </execution>
                     </executions>
                 </plugin>
-            </plugins>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-javadoc-plugin</artifactId>
+					<configuration>
+						<charset>UTF-8</charset>
+						<additionalJOption>-Xdoclint:none</additionalJOption>
+						<excludePackageNames>org.apache.deltaspike.example.*:org.apache.deltaspike.playground*:org.apache.deltaspike.test.*:org.apache.deltaspike.cdise.tck*:org.apache.deltaspike.cdise.servlet*:*impl*</excludePackageNames>
+						<groups>
+							<group>
+								<title>Core Module</title>
+								<packages>org.apache.deltaspike.core.*</packages>
+							</group>
+							<group>
+								<title>Bean Validation Module</title>
+								<packages>org.apache.deltaspike.beanvalidation*</packages>
+							</group>
+							<group>
+								<title>Container Control Module</title>
+								<packages>org.apache.deltaspike.cdise.api*</packages>
+							</group>
+							<group>
+								<title>Data Module</title>
+								<packages>org.apache.deltaspike.data.*</packages>
+							</group>
+							<group>
+								<title>JPA Module</title>
+								<packages>org.apache.deltaspike.jpa.*</packages>
+							</group>
+							<group>
+								<title>JSF Module</title>
+								<packages>org.apache.deltaspike.jsf.*</packages>
+							</group>
+							<group>
+								<title>Partial Bean Module</title>
+								<packages>org.apache.deltaspike.partialbean.*</packages>
+							</group>
+							<group>
+								<title>Scheduler Module</title>
+								<packages>org.apache.deltaspike.scheduler.*</packages>
+							</group>
+							<group>
+								<title>Security Module</title>
+								<packages>org.apache.deltaspike.security.*</packages>
+							</group>
+							<group>
+								<title>Servlet Module</title>
+								<packages>org.apache.deltaspike.servlet.*</packages>
+							</group>
+							<group>
+								<title>Test Control Module</title>
+								<packages>org.apache.deltaspike.testcontrol.*</packages>
+							</group>
+						</groups>
+					</configuration>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-scm-publish-plugin</artifactId>
+					<configuration>
+						<content>${project.reporting.outputDirectory}/apidocs</content>
+						<pubScmUrl>scm:svn:${svn.scmPubUrl}</pubScmUrl>
+						<tryUpdate>true</tryUpdate>
+						<checkoutDirectory>${svn.scmPubCheckoutDirectory}</checkoutDirectory>
+						<serverId>deltaspike-site</serverId>
+					</configuration>
+				</plugin>
+			</plugins>
         </pluginManagement>
     </build>
 


Mime
View raw message