Fix a build problem where javadoc is not attached to the all-in-one JAR

This commit is contained in:
Trustin Lee 2012-08-21 15:37:04 +09:00
parent 0a43350c66
commit 4b1b0b8c18
2 changed files with 98 additions and 85 deletions

View File

@ -28,6 +28,31 @@
<name>Netty/All-in-One</name>
<properties>
<quickbuild>true</quickbuild>
</properties>
<profiles>
<profile>
<id>full</id>
<properties>
<quickbuild>false</quickbuild>
</properties>
</profile>
<profile>
<id>sonatype-oss-release</id>
<properties>
<quickbuild>false</quickbuild>
</properties>
</profile>
<profile>
<id>release</id>
<properties>
<quickbuild>false</quickbuild>
</properties>
</profile>
</profiles>
<dependencies>
<!-- The example depends on all modules either directly or transitively -->
<dependency>
@ -212,14 +237,6 @@
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>full</id>
<build>
<plugins>
<plugin>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.2</version>
@ -233,6 +250,7 @@
</execution>
</executions>
<configuration>
<skip>${quickbuild}</skip>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
<linkJavadoc>true</linkJavadoc>
@ -247,26 +265,19 @@
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<attach>true</attach>
<skip>${quickbuild}</skip>
<excludePackageNames>*.internal,*.example</excludePackageNames>
<doclet>org.jboss.apiviz.APIviz</doclet>
<docletPath>${project.basedir}/lib/apiviz-1.3.1-jdk7.jar</docletPath>
<docfilessubdirs>true</docfilessubdirs>
<useStandardDocletOptions>true</useStandardDocletOptions>
<outputDirectory>${project.build.directory}/api</outputDirectory>
<reportOutputDirectory>${project.build.directory}</reportOutputDirectory>
<destDir>api</destDir>
<charset>UTF-8</charset>
<docencoding>UTF-8</docencoding>
<breakiterator>true</breakiterator>
<version>false</version>
<author>false</author>
<keywords>true</keywords>
<overview>${basedir}/src/javadoc/overview.html</overview>
<doctitle>Netty API Reference (${project.version})</doctitle>
<windowtitle>Netty API Reference (${project.version})</windowtitle>
@ -292,12 +303,8 @@
<encoding>UTF-8</encoding>
<locale>en_US</locale>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View File

@ -351,6 +351,12 @@
<version>2.8.1</version>
<configuration>
<detectOfflineLinks>false</detectOfflineLinks>
<charset>UTF-8</charset>
<docencoding>UTF-8</docencoding>
<breakiterator>true</breakiterator>
<version>false</version>
<author>false</author>
<keywords>true</keywords>
</configuration>
</plugin>
<plugin>