You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2013/07/15 23:39:49 UTC

svn commit: r1503487 - in /jena/Experimental/jena-jdbc: jena-jdbc-driver-bundle/pom.xml pom.xml

Author: rvesse
Date: Mon Jul 15 21:39:49 2013
New Revision: 1503487

URL: http://svn.apache.org/r1503487
Log:
Improve how javadoc is generated for JDBC to avoid chicken and egg problem

Modified:
    jena/Experimental/jena-jdbc/jena-jdbc-driver-bundle/pom.xml
    jena/Experimental/jena-jdbc/pom.xml

Modified: jena/Experimental/jena-jdbc/jena-jdbc-driver-bundle/pom.xml
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-jdbc/jena-jdbc-driver-bundle/pom.xml?rev=1503487&r1=1503486&r2=1503487&view=diff
==============================================================================
--- jena/Experimental/jena-jdbc/jena-jdbc-driver-bundle/pom.xml (original)
+++ jena/Experimental/jena-jdbc/jena-jdbc-driver-bundle/pom.xml Mon Jul 15 21:39:49 2013
@@ -108,6 +108,53 @@
 					</execution>
 				</executions>
 			</plugin>
+			
+			<!-- Javadoc Plugin -->
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-javadoc-plugin</artifactId>
+				<version>2.9</version>
+				<configuration>
+					<quiet>true</quiet>
+					<encoding>UTF-8</encoding>
+					<charset>UTF-8</charset>
+					<docencoding>UTF-8</docencoding>
+					
+					<!-- Include only JDBC dependencies -->
+					<includeDependencySources>true</includeDependencySources>
+					<includeTransitiveDependencySources>true</includeTransitiveDependencySources>
+					<dependencySourceIncludes>
+						<dependencySourceInclude>org.apache.jena:jena-jdbc*</dependencySourceInclude>
+					</dependencySourceIncludes>
+					
+					<groups>
+						<group>
+							<title>JDBC Core</title>
+							<packages>org.apache.jena.jdbc*</packages>
+						</group>
+						<group>
+							<title>In-Memory Driver</title>
+							<packages>org.apache.jena.jdbc.mem*</packages>
+						</group>
+						<group>
+							<title>TDB Driver</title>
+							<packages>org.apache.jena.jdbc.tdb*</packages>
+						</group>
+						<group>
+							<title>Remote Endpoint Driver</title>
+							<packages>org.apache.jena.jdbc.remote*</packages>
+						</group>
+					</groups>
+				</configuration>
+				<executions>
+					<execution>
+						<phase>package</phase>
+						<goals>
+						    <goal>jar</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
 		</plugins>
 	</build>
 </project>
\ No newline at end of file

Modified: jena/Experimental/jena-jdbc/pom.xml
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-jdbc/pom.xml?rev=1503487&r1=1503486&r2=1503487&view=diff
==============================================================================
--- jena/Experimental/jena-jdbc/pom.xml (original)
+++ jena/Experimental/jena-jdbc/pom.xml Mon Jul 15 21:39:49 2013
@@ -83,33 +83,6 @@
 				</executions>
 			</plugin>
 
-			<!-- Javadoc Plugin -->
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-javadoc-plugin</artifactId>
-				<version>2.9</version>
-				<configuration>
-					<quiet>true</quiet>
-					<encoding>UTF-8</encoding>
-					<charset>UTF-8</charset>
-					<docencoding>UTF-8</docencoding>
-				</configuration>
-				<executions>
-					<execution>
-						<phase>package</phase>
-						<goals>
-							<!-- 
-							Product aggregate documentation - this is what would get published
-							
-							Only downside to this approach is that when you bump versions you have to disable the goals temporarily
-							 -->
-						    <goal>aggregate</goal>
-							<goal>aggregate-jar</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-
 			<!-- AspectJ Plugin - Used to support method entry and exit trace logging 
 				for debugging purposes -->
 			<plugin>