* More compact distribution files
* JavaDoc is not deployed anymore (major bandwidth / space hog) * Renamed docbook/image to docbook/images to avoid having to image directories
This commit is contained in:
parent
caa5c34cbe
commit
989674fac9
144
pom.xml
144
pom.xml
@ -177,17 +177,88 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<attach>true</attach>
|
||||||
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>write-version</id>
|
||||||
|
<phase>compile</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<tasks>
|
||||||
|
<echo message="${project.version}" file="${project.build.directory}/version.txt" />
|
||||||
|
</tasks>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>add-license</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<tasks>
|
||||||
|
<taskdef resource="net/sf/antcontrib/antlib.xml" />
|
||||||
|
<if>
|
||||||
|
<or>
|
||||||
|
<equals arg2="jar" arg1="${project.packaging}" />
|
||||||
|
<equals arg2="bundle" arg1="${project.packaging}" />
|
||||||
|
</or>
|
||||||
|
<then>
|
||||||
|
<move file="${project.build.directory}/${project.build.finalName}.jar" tofile="${project.build.directory}/${project.build.finalName}.orig.jar" />
|
||||||
|
<zip destfile="${project.build.directory}/${project.build.finalName}.jar">
|
||||||
|
<zipfileset dir="${basedir}" prefix="META-INF/">
|
||||||
|
<include name="LICENSE.*" />
|
||||||
|
<include name="NOTICE.*" />
|
||||||
|
<include name="COPYRIGHT.*" />
|
||||||
|
</zipfileset>
|
||||||
|
<zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}.orig.jar" dirmode="755">
|
||||||
|
<exclude name="*/*/*/example/**" />
|
||||||
|
</zipfileset>
|
||||||
|
</zip>
|
||||||
|
<delete file="${project.build.directory}/${project.build.finalName}.orig.jar" />
|
||||||
|
<move file="${project.build.directory}/${project.build.finalName}-sources.jar" tofile="${project.build.directory}/${project.build.finalName}-sources.orig.jar" />
|
||||||
|
<zip destfile="${project.build.directory}/${project.build.finalName}-sources.jar">
|
||||||
|
<zipfileset dir="${basedir}" prefix="META-INF/">
|
||||||
|
<include name="LICENSE.*" />
|
||||||
|
<include name="NOTICE.*" />
|
||||||
|
<include name="COPYRIGHT.*" />
|
||||||
|
</zipfileset>
|
||||||
|
<zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}-sources.orig.jar" dirmode="755">
|
||||||
|
<exclude name="*/*/*/example/**" />
|
||||||
|
</zipfileset>
|
||||||
|
</zip>
|
||||||
|
<delete file="${project.build.directory}/${project.build.finalName}-sources.orig.jar" />
|
||||||
|
</then>
|
||||||
|
</if>
|
||||||
|
</tasks>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>ant-contrib</groupId>
|
||||||
|
<artifactId>ant-contrib</artifactId>
|
||||||
|
<version>1.0b2</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-javadoc</id>
|
<id>generate-javadoc</id>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>javadoc</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
@ -199,6 +270,7 @@
|
|||||||
<version>1.2.3.GA</version>
|
<version>1.2.3.GA</version>
|
||||||
</docletArtifact>
|
</docletArtifact>
|
||||||
<aggregate>true</aggregate>
|
<aggregate>true</aggregate>
|
||||||
|
<attach>false</attach>
|
||||||
<additionalparam>
|
<additionalparam>
|
||||||
-d ${project.build.directory}/apidocs
|
-d ${project.build.directory}/apidocs
|
||||||
-charset UTF-8
|
-charset UTF-8
|
||||||
@ -263,7 +335,7 @@
|
|||||||
<imageResource>
|
<imageResource>
|
||||||
<directory>${basedir}/src/docbook</directory>
|
<directory>${basedir}/src/docbook</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>image/**/*</include>
|
<include>images/**/*</include>
|
||||||
</includes>
|
</includes>
|
||||||
</imageResource>
|
</imageResource>
|
||||||
<formats>
|
<formats>
|
||||||
@ -285,72 +357,6 @@
|
|||||||
</options>
|
</options>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>add-license</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>run</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<tasks>
|
|
||||||
<taskdef resource="net/sf/antcontrib/antlib.xml" />
|
|
||||||
<if>
|
|
||||||
<or>
|
|
||||||
<equals arg2="jar" arg1="${project.packaging}" />
|
|
||||||
<equals arg2="bundle" arg1="${project.packaging}" />
|
|
||||||
</or>
|
|
||||||
<then>
|
|
||||||
<move file="${project.build.directory}/${project.build.finalName}.jar" tofile="${project.build.directory}/${project.build.finalName}.orig.jar" />
|
|
||||||
<zip destfile="${project.build.directory}/${project.build.finalName}.jar">
|
|
||||||
<zipfileset dir="${basedir}" prefix="META-INF/">
|
|
||||||
<include name="LICENSE.*" />
|
|
||||||
<include name="NOTICE.*" />
|
|
||||||
<include name="COPYRIGHT.*" />
|
|
||||||
</zipfileset>
|
|
||||||
<zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}.orig.jar" dirmode="755">
|
|
||||||
<exclude name="*/*/*/example/**" />
|
|
||||||
</zipfileset>
|
|
||||||
</zip>
|
|
||||||
<delete file="${project.build.directory}/${project.build.finalName}.orig.jar" />
|
|
||||||
<move file="${project.build.directory}/${project.build.finalName}-sources.jar" tofile="${project.build.directory}/${project.build.finalName}-sources.orig.jar" />
|
|
||||||
<zip destfile="${project.build.directory}/${project.build.finalName}-sources.jar">
|
|
||||||
<zipfileset dir="${basedir}" prefix="META-INF/">
|
|
||||||
<include name="LICENSE.*" />
|
|
||||||
<include name="NOTICE.*" />
|
|
||||||
<include name="COPYRIGHT.*" />
|
|
||||||
</zipfileset>
|
|
||||||
<zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}-sources.orig.jar" dirmode="755">
|
|
||||||
<exclude name="*/*/*/example/**" />
|
|
||||||
</zipfileset>
|
|
||||||
</zip>
|
|
||||||
<delete file="${project.build.directory}/${project.build.finalName}-sources.orig.jar" />
|
|
||||||
<move file="${project.build.directory}/${project.build.finalName}-javadoc.jar" tofile="${project.build.directory}/${project.build.finalName}-javadoc.orig.jar" />
|
|
||||||
<zip destfile="${project.build.directory}/${project.build.finalName}-javadoc.jar">
|
|
||||||
<zipfileset dir="${basedir}" prefix="META-INF/">
|
|
||||||
<include name="LICENSE.*" />
|
|
||||||
<include name="NOTICE.*" />
|
|
||||||
<include name="COPYRIGHT.*" />
|
|
||||||
</zipfileset>
|
|
||||||
<zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}-javadoc.orig.jar" dirmode="755" />
|
|
||||||
</zip>
|
|
||||||
<delete file="${project.build.directory}/${project.build.finalName}-javadoc.orig.jar" />
|
|
||||||
</then>
|
|
||||||
</if>
|
|
||||||
</tasks>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>ant-contrib</groupId>
|
|
||||||
<artifactId>ant-contrib</artifactId>
|
|
||||||
<version>1.0b2</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
|
@ -54,6 +54,9 @@
|
|||||||
<includes>
|
<includes>
|
||||||
<include>${project.build.finalName}*.jar</include>
|
<include>${project.build.finalName}*.jar</include>
|
||||||
</includes>
|
</includes>
|
||||||
|
<excludes>
|
||||||
|
<exclude>${project.build.finalName}*-javadoc.jar</exclude>
|
||||||
|
</excludes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
|
||||||
<!-- Documentation (API) -->
|
<!-- Documentation (API) -->
|
||||||
|
@ -1,32 +1,39 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.docbook.org/xml/4.5/docbookx.dtd" [
|
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.docbook.org/xml/4.5/docbookx.dtd">
|
||||||
<!ENTITY introduction SYSTEM "module/introduction.xml">
|
|
||||||
<!ENTITY architecture SYSTEM "module/architecture.xml">
|
|
||||||
<!ENTITY codec SYSTEM "module/codec.xml">
|
|
||||||
<!ENTITY threading SYSTEM "module/threading.xml">
|
|
||||||
<!ENTITY security SYSTEM "module/security.xml">
|
|
||||||
<!ENTITY transport SYSTEM "module/transport.xml">
|
|
||||||
<!ENTITY appendix SYSTEM "module/appendix.xml">
|
|
||||||
]>
|
|
||||||
<book lang="en">
|
<book lang="en">
|
||||||
<bookinfo>
|
<bookinfo>
|
||||||
<title>The Netty Project 3.0 User Guide</title>
|
<title>The Netty Project 3.0 User Guide</title>
|
||||||
<subtitle>The proven approach for rapid network application development</subtitle>
|
<subtitle>The Proven Approach for Rapid Network Application Development</subtitle>
|
||||||
<releaseinfo>$Rev$, $Date$</releaseinfo>
|
<releaseinfo>
|
||||||
|
<xi:include href="../../target/version.txt" parse="text"
|
||||||
|
xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
</releaseinfo>
|
||||||
</bookinfo>
|
</bookinfo>
|
||||||
|
|
||||||
<toc/>
|
<toc/>
|
||||||
|
|
||||||
<preface id="preface">
|
<xi:include href="module/preface.xml"
|
||||||
<title>Preface</title>
|
xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
<para>To be written...</para>
|
|
||||||
</preface>
|
<xi:include href="module/introduction.xml"
|
||||||
|
xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
|
||||||
|
<xi:include href="module/architecture.xml"
|
||||||
|
xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
|
||||||
|
<xi:include href="module/codec.xml"
|
||||||
|
xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
|
||||||
|
<xi:include href="module/threading.xml"
|
||||||
|
xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
|
||||||
|
<xi:include href="module/security.xml"
|
||||||
|
xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
|
||||||
|
<xi:include href="module/transport.xml"
|
||||||
|
xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
|
||||||
|
<xi:include href="module/appendix.xml"
|
||||||
|
xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
|
||||||
&introduction;
|
|
||||||
&architecture;
|
|
||||||
&codec;
|
|
||||||
&threading;
|
|
||||||
&security;
|
|
||||||
&transport;
|
|
||||||
&appendix;
|
|
||||||
</book>
|
</book>
|
||||||
|
Loading…
Reference in New Issue
Block a user