* Added cross reference to the distribution

* Tarball and zip distribution are not attached to save deployment time
This commit is contained in:
Trustin Lee 2008-09-16 09:20:17 +00:00
parent 989674fac9
commit 38b4da7f3b
2 changed files with 25 additions and 4 deletions

18
pom.xml
View File

@ -272,7 +272,7 @@
<aggregate>true</aggregate>
<attach>false</attach>
<additionalparam>
-d ${project.build.directory}/apidocs
-d ${project.build.directory}/api
-charset UTF-8
-docencoding UTF-8
-version
@ -296,10 +296,21 @@
</plugin>
<plugin>
<artifactId>maven-jxr-plugin</artifactId>
<executions>
<execution>
<id>generate-xref</id>
<phase>package</phase>
<goals>
<goal>jxr</goal>
</goals>
</execution>
</executions>
<configuration>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
<linkJavadoc>false</linkJavadoc>
<linkJavadoc>true</linkJavadoc>
<destDir>${project.build.directory}/xref</destDir>
<javadocDir>${project.build.directory}/api</javadocDir>
</configuration>
</plugin>
<plugin>
@ -361,7 +372,7 @@
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>attach-distribution</id>
<id>generate-distribution</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
@ -372,6 +383,7 @@
<descriptors>
<descriptor>${basedir}/src/assembly/default.xml</descriptor>
</descriptors>
<attach>false</attach>
<appendAssemblyId>true</appendAssemblyId>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>

View File

@ -61,13 +61,22 @@
<!-- Documentation (API) -->
<fileSet>
<directory>target/apidocs</directory>
<directory>target/api</directory>
<outputDirectory>doc/api</outputDirectory>
<includes>
<include>**/**</include>
</includes>
</fileSet>
<!-- Documentation (XRef) -->
<fileSet>
<directory>target/xref</directory>
<outputDirectory>doc/xref</outputDirectory>
<includes>
<include>**/**</include>
</includes>
</fileSet>
<!-- Documentation (Docbook) -->
<fileSet>
<directory>target/docbook</directory>