Issue #8895 - Introduce jetty-home-<ver>-with-docs.zip
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
df265e0abb
commit
67629e68cc
|
@ -126,7 +126,7 @@
|
||||||
<id>build-javadoc</id>
|
<id>build-javadoc</id>
|
||||||
<phase>prepare-package</phase>
|
<phase>prepare-package</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>javadoc</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<doctitle>Eclipse Jetty API Doc - v${project.version}</doctitle>
|
<doctitle>Eclipse Jetty API Doc - v${project.version}</doctitle>
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
<properties>
|
<properties>
|
||||||
<assembly-directory>${basedir}/target/jetty-home</assembly-directory>
|
<assembly-directory>${basedir}/target/jetty-home</assembly-directory>
|
||||||
<source-assembly-directory>${basedir}/target/jetty-home-sources</source-assembly-directory>
|
<source-assembly-directory>${basedir}/target/jetty-home-sources</source-assembly-directory>
|
||||||
|
<docs-assembly-directory>${basedir}/target/jetty-home-with-docs</docs-assembly-directory>
|
||||||
<jetty-setuid-version>1.0.4</jetty-setuid-version>
|
<jetty-setuid-version>1.0.4</jetty-setuid-version>
|
||||||
<spotbugs.skip>true</spotbugs.skip>
|
<spotbugs.skip>true</spotbugs.skip>
|
||||||
</properties>
|
</properties>
|
||||||
|
@ -120,7 +121,6 @@
|
||||||
</artifactItems>
|
</artifactItems>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-lib-deps</id>
|
<id>copy-lib-deps</id>
|
||||||
<phase>generate-resources</phase>
|
<phase>generate-resources</phase>
|
||||||
|
@ -508,6 +508,42 @@
|
||||||
<outputDirectory>${assembly-directory}</outputDirectory>
|
<outputDirectory>${assembly-directory}</outputDirectory>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>unpack-documentation</id>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>unpack</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifactItems>
|
||||||
|
<artifactItem>
|
||||||
|
<groupId>org.eclipse.jetty.documentation</groupId>
|
||||||
|
<artifactId>jetty-documentation</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<type>jar</type>
|
||||||
|
</artifactItem>
|
||||||
|
</artifactItems>
|
||||||
|
<outputDirectory>${docs-assembly-directory}/docs</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>unpack-javadoc-aggregate</id>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>unpack</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifactItems>
|
||||||
|
<artifactItem>
|
||||||
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
|
<artifactId>javadoc</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<type>jar</type>
|
||||||
|
</artifactItem>
|
||||||
|
</artifactItems>
|
||||||
|
<outputDirectory>${docs-assembly-directory}/javadoc</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
@ -563,6 +599,19 @@
|
||||||
<appendAssemblyId>true</appendAssemblyId>
|
<appendAssemblyId>true</appendAssemblyId>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>docs</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<descriptors>
|
||||||
|
<descriptor>src/main/assembly/jetty-with-docs-assembly.xml</descriptor>
|
||||||
|
</descriptors>
|
||||||
|
<appendAssemblyId>true</appendAssemblyId>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
@ -876,6 +925,14 @@
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
|
<artifactId>javadoc</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<classifier>javadoc</classifier>
|
||||||
|
<type>jar</type>
|
||||||
|
<optional>true</optional>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.logging.log4j</groupId>
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
<artifactId>log4j-api</artifactId>
|
<artifactId>log4j-api</artifactId>
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
<assembly>
|
||||||
|
<id>with-docs</id>
|
||||||
|
<formats>
|
||||||
|
<format>tar.gz</format>
|
||||||
|
<format>zip</format>
|
||||||
|
</formats>
|
||||||
|
<fileSets>
|
||||||
|
<fileSet>
|
||||||
|
<directory>${assembly-directory}</directory>
|
||||||
|
<outputDirectory></outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>**</include>
|
||||||
|
</includes>
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/META-INF/**</exclude>
|
||||||
|
<exclude>*-config.jar</exclude>
|
||||||
|
<!-- we'll build up shell scripts with execute in separate file-set -->
|
||||||
|
<exclude>bin/*.sh</exclude>
|
||||||
|
</excludes>
|
||||||
|
<!-- The archive is generated with the uid / gid of the user that
|
||||||
|
built the jetty release. which is highly unlikely to
|
||||||
|
exist on the target machines that unpack this tarball.
|
||||||
|
We set the user / group / other to have read-only access
|
||||||
|
to files, and read-execute access to directories
|
||||||
|
in the unpacked contents. -->
|
||||||
|
<fileMode>0444</fileMode>
|
||||||
|
<directoryMode>0755</directoryMode>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>${assembly-directory}</directory>
|
||||||
|
<outputDirectory></outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>bin/*.sh</include>
|
||||||
|
</includes>
|
||||||
|
<!-- Set read-execute for shell scripts -->
|
||||||
|
<fileMode>0555</fileMode>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>${docs-assembly-directory}</directory>
|
||||||
|
<outputDirectory></outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>**</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
|
</fileSets>
|
||||||
|
</assembly>
|
|
@ -252,14 +252,18 @@
|
||||||
<artifactId>jetty-slf4j-impl</artifactId>
|
<artifactId>jetty-slf4j-impl</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<!--<dependency>
|
||||||
<groupId>org.eclipse.jetty</groupId>
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
<artifactId>jetty-home</artifactId>
|
<artifactId>jetty-home</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<!-- eliminating dependencies of jetty-home that are being pulled in when in reactor
|
<!– eliminating dependencies of jetty-home that are being pulled in when in reactor
|
||||||
for the jetty build itself. This can cause accidental cyclic references. -->
|
for the jetty build itself. This can cause accidental cyclic references. –>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
|
<artifactId>javadoc</artifactId>
|
||||||
|
</exclusion>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<groupId>org.eclipse.jetty</groupId>
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
<artifactId>jetty-alpn-conscrypt-server</artifactId>
|
<artifactId>jetty-alpn-conscrypt-server</artifactId>
|
||||||
|
@ -365,7 +369,7 @@
|
||||||
<artifactId>jboss-logging</artifactId>
|
<artifactId>jboss-logging</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.eclipse.jetty.toolchain</groupId>
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
||||||
<artifactId>jetty-test-helper</artifactId>
|
<artifactId>jetty-test-helper</artifactId>
|
||||||
|
|
4
pom.xml
4
pom.xml
|
@ -245,6 +245,7 @@
|
||||||
<module>documentation</module>
|
<module>documentation</module>
|
||||||
<module>jetty-keystore</module>
|
<module>jetty-keystore</module>
|
||||||
<module>jetty-unixdomain-server</module>
|
<module>jetty-unixdomain-server</module>
|
||||||
|
<module>javadoc</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -2206,9 +2207,6 @@
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>eclipse-release</id>
|
<id>eclipse-release</id>
|
||||||
<modules>
|
|
||||||
<module>javadoc</module>
|
|
||||||
</modules>
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
Loading…
Reference in New Issue