You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by mo...@apache.org on 2009/11/06 16:35:40 UTC
svn commit: r833460 - in /incubator/kato/trunk/org.apache.kato:
kato.api/pom.xml kato.distro/pom.xml
kato.distro/src/main/assembly/bindist.xml kato.docs/pom.xml
Author: monteith
Date: Fri Nov 6 16:35:39 2009
New Revision: 833460
URL: http://svn.apache.org/viewvc?rev=833460&view=rev
Log:
Make jar with Javadoc available in docs dir in distributable.
Modified:
incubator/kato/trunk/org.apache.kato/kato.api/pom.xml
incubator/kato/trunk/org.apache.kato/kato.distro/pom.xml
incubator/kato/trunk/org.apache.kato/kato.distro/src/main/assembly/bindist.xml
incubator/kato/trunk/org.apache.kato/kato.docs/pom.xml
Modified: incubator/kato/trunk/org.apache.kato/kato.api/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/pom.xml?rev=833460&r1=833459&r2=833460&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/pom.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/pom.xml Fri Nov 6 16:35:39 2009
@@ -26,6 +26,23 @@
<name>JSR 326 API</name>
<description>Java classes that define the JSR 326 API</description>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
<reporting>
<plugins>
<plugin>
@@ -35,4 +52,4 @@
</plugins>
</reporting>
-</project>
\ No newline at end of file
+</project>
Modified: incubator/kato/trunk/org.apache.kato/kato.distro/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.distro/pom.xml?rev=833460&r1=833459&r2=833460&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.distro/pom.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.distro/pom.xml Fri Nov 6 16:35:39 2009
@@ -21,6 +21,14 @@
<groupId>org.apache.kato</groupId>
<version>M1-incubating</version>
</dependency>
+
+<!-- Includes API JavaDoc -->
+ <dependency>
+ <artifactId>kato.api</artifactId>
+ <groupId>org.apache.kato</groupId>
+ <version>M1-incubating</version>
+ <classifier>javadoc</classifier>
+ </dependency>
<dependency>
<artifactId>kato.common</artifactId>
<groupId>org.apache.kato</groupId>
Modified: incubator/kato/trunk/org.apache.kato/kato.distro/src/main/assembly/bindist.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.distro/src/main/assembly/bindist.xml?rev=833460&r1=833459&r2=833460&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.distro/src/main/assembly/bindist.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.distro/src/main/assembly/bindist.xml Fri Nov 6 16:35:39 2009
@@ -77,20 +77,34 @@
</file>
</files>
+ <dependencySets>
<!--
Copies jar files from our dependencies into the lib directory.
We filter out everything except the kato packages (ours) and
the common* packaged, which are needed by katoview.
-->
- <dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<includes>
<include>kato*</include>
<include>common*</include>
</includes>
+ <excludes>
+ <exclude>org.apache.kato:kato.api:jar:javadoc:*</exclude>
+ </excludes>
<unpack>false</unpack>
<scope>compile</scope>
</dependencySet>
+
+<!--
+ Copies the API javadoc into the docs directory.
+-->
+ <dependencySet>
+ <outputDirectory>docs</outputDirectory>
+ <includes>
+ <include>org.apache.kato:kato.api:jar:javadoc:*</include>
+ </includes>
+ <unpack>false</unpack>
+ </dependencySet>
</dependencySets>
</assembly>
Modified: incubator/kato/trunk/org.apache.kato/kato.docs/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.docs/pom.xml?rev=833460&r1=833459&r2=833460&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.docs/pom.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.docs/pom.xml Fri Nov 6 16:35:39 2009
@@ -86,7 +86,18 @@
</configuration>
</plugin>
-
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>javadoc</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
@@ -99,4 +110,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>