Fix a build problem where javadoc is not attached to the all-in-one JAR
This commit is contained in:
parent
0a43350c66
commit
4b1b0b8c18
177
all/pom.xml
177
all/pom.xml
@ -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,92 +237,74 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jxr-plugin</artifactId>
|
||||
<version>2.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-xref</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jxr</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<skip>${quickbuild}</skip>
|
||||
<inputEncoding>UTF-8</inputEncoding>
|
||||
<outputEncoding>UTF-8</outputEncoding>
|
||||
<linkJavadoc>true</linkJavadoc>
|
||||
<destDir>${project.build.directory}/xref</destDir>
|
||||
<javadocDir>${project.build.directory}/api</javadocDir>
|
||||
<docTitle>Netty Source Xref (${project.version})</docTitle>
|
||||
<windowTitle>Netty Source Xref (${project.version})</windowTitle>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<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>
|
||||
<overview>${basedir}/src/javadoc/overview.html</overview>
|
||||
<doctitle>Netty API Reference (${project.version})</doctitle>
|
||||
<windowtitle>Netty API Reference (${project.version})</windowtitle>
|
||||
<detectJavaApiLink>false</detectJavaApiLink>
|
||||
<additionalparam>
|
||||
-link http://docs.oracle.com/javase/7/docs/api/
|
||||
-link http://code.google.com/apis/protocolbuffers/docs/reference/java/
|
||||
-link http://docs.oracle.com/javaee/6/api/
|
||||
-link http://www.osgi.org/javadoc/r4v43/core/
|
||||
-link http://www.slf4j.org/apidocs/
|
||||
-link http://commons.apache.org/logging/commons-logging-1.1.1/apidocs/
|
||||
-link http://logging.apache.org/log4j/1.2/apidocs/
|
||||
|
||||
-group "Low-level data representation" io.netty.buffer*
|
||||
-group "Central interface for all I/O operations" io.netty.channel*
|
||||
-group "Client & Server bootstrapping utilities" io.netty.bootstrap*
|
||||
-group "Reusable I/O event interceptors" io.netty.handler*
|
||||
-group "Miscellaneous" io.netty.logging*:io.netty.util*
|
||||
|
||||
-sourceclasspath ${project.build.outputDirectory}
|
||||
-nopackagediagram
|
||||
</additionalparam>
|
||||
<encoding>UTF-8</encoding>
|
||||
<locale>en_US</locale>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>full</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-jxr-plugin</artifactId>
|
||||
<version>2.2</version>
|
||||
<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>true</linkJavadoc>
|
||||
<destDir>${project.build.directory}/xref</destDir>
|
||||
<javadocDir>${project.build.directory}/api</javadocDir>
|
||||
<docTitle>Netty Source Xref (${project.version})</docTitle>
|
||||
<windowTitle>Netty Source Xref (${project.version})</windowTitle>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<attach>true</attach>
|
||||
<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>
|
||||
<detectJavaApiLink>false</detectJavaApiLink>
|
||||
<additionalparam>
|
||||
-link http://docs.oracle.com/javase/7/docs/api/
|
||||
-link http://code.google.com/apis/protocolbuffers/docs/reference/java/
|
||||
-link http://docs.oracle.com/javaee/6/api/
|
||||
-link http://www.osgi.org/javadoc/r4v43/core/
|
||||
-link http://www.slf4j.org/apidocs/
|
||||
-link http://commons.apache.org/logging/commons-logging-1.1.1/apidocs/
|
||||
-link http://logging.apache.org/log4j/1.2/apidocs/
|
||||
|
||||
-group "Low-level data representation" io.netty.buffer*
|
||||
-group "Central interface for all I/O operations" io.netty.channel*
|
||||
-group "Client & Server bootstrapping utilities" io.netty.bootstrap*
|
||||
-group "Reusable I/O event interceptors" io.netty.handler*
|
||||
-group "Miscellaneous" io.netty.logging*:io.netty.util*
|
||||
|
||||
-sourceclasspath ${project.build.outputDirectory}
|
||||
-nopackagediagram
|
||||
</additionalparam>
|
||||
<encoding>UTF-8</encoding>
|
||||
<locale>en_US</locale>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
||||
|
6
pom.xml
6
pom.xml
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user