cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [3/3] git commit: Create separate javadocs runs for the "core" stuff for the distribution and the full everything for the site
Date Thu, 03 Apr 2014 20:49:40 GMT
Create separate javadocs runs for the "core" stuff for the distribution and the full everything
for the site


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

Branch: refs/heads/master
Commit: c67b0119c98a59d39cf8ff3cb5261a07890ea4cb
Parents: ea30397
Author: Daniel Kulp <dkulp@apache.org>
Authored: Thu Apr 3 16:32:05 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Thu Apr 3 16:32:05 2014 -0400

----------------------------------------------------------------------
 distribution/javadoc/pom.xml           | 26 ++++++++++++++++++++++++--
 distribution/src/main/assembly/bin.xml |  2 +-
 2 files changed, 25 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/c67b0119/distribution/javadoc/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/javadoc/pom.xml b/distribution/javadoc/pom.xml
index b422ccd..42e8992 100644
--- a/distribution/javadoc/pom.xml
+++ b/distribution/javadoc/pom.xml
@@ -19,7 +19,7 @@
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
-    <artifactId>cxf-javadoc</artifactId>
+    <artifactId>cxf-distribution-javadoc</artifactId>
     <packaging>jar</packaging>
     <name>Apache CXF JavaDoc</name>
     <description>Apache CXF JavaDoc</description>
@@ -378,6 +378,12 @@
                         <phase>generate-sources</phase>
                         <configuration>
                             <target>
+                                <mkdir dir="${project.build.directory}/coresources"/>
+                                <copy todir="${project.build.directory}/coresources">
+                                    <fileset dir="../../core">
+                                        <include name="**/src/main/java/**/*.java"/>
+                                    </fileset>
+                                </copy>
                                 <mkdir dir="${project.build.directory}/sources"/>
                                 <copy todir="${project.build.directory}/sources">
                                     <fileset dir="../../core">
@@ -446,6 +452,23 @@
                         <goals>
                             <goal>jar</goal>
                         </goals>
+                        <configuration>
+                            <sourcepath>${project.build.directory}/sources</sourcepath>
+                            <notimestamp>true</notimestamp>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>core-api</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                        <configuration>
+                            <sourcepath>${project.build.directory}/coresources</sourcepath>
+                            <outputDirectory>${project.build.directory}/core-api</outputDirectory>
+                            <finalName>core-api</finalName>
+                            <attach>false</attach>
+                        </configuration>
                     </execution>
                 </executions>
                 <configuration>
@@ -454,7 +477,6 @@
                     <header>Apache CXF API</header>
                     <footer>Apache CXF API</footer>
                     <doctitle>Apache CXF ${project.version} API</doctitle>
-                    <sourcepath>${project.build.directory}/sources</sourcepath>
                     <notimestamp>true</notimestamp>
                 </configuration>
             </plugin>

http://git-wip-us.apache.org/repos/asf/cxf/blob/c67b0119/distribution/src/main/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/assembly/bin.xml b/distribution/src/main/assembly/bin.xml
index 7243859..2ebdcbd 100644
--- a/distribution/src/main/assembly/bin.xml
+++ b/distribution/src/main/assembly/bin.xml
@@ -87,7 +87,7 @@
             </excludes>
         </fileSet>
         <fileSet>
-            <directory>javadoc/target/apidocs</directory>
+            <directory>javadoc/target/core-api</directory>
             <outputDirectory>apache-cxf-${cxf.version}/docs/api</outputDirectory>
             <includes>
                 <include>**/*</include>


Mime
View raw message