2016-05-17 18:30:13 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
2023-10-11 21:51:36 -04:00
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2019-06-24 11:42:39 -04:00
|
|
|
<parent>
|
2021-01-28 11:22:38 -05:00
|
|
|
<groupId>org.eclipse.jetty.documentation</groupId>
|
2022-05-03 09:50:54 -04:00
|
|
|
<artifactId>documentation</artifactId>
|
2023-10-09 22:16:46 -04:00
|
|
|
<version>12.0.3-SNAPSHOT</version>
|
2019-06-24 11:42:39 -04:00
|
|
|
</parent>
|
2016-05-17 18:30:13 -04:00
|
|
|
<artifactId>jetty-documentation</artifactId>
|
2023-09-28 01:21:45 -04:00
|
|
|
<packaging>pom</packaging>
|
2023-10-11 21:51:36 -04:00
|
|
|
<name>Documentation :: Guides</name>
|
2019-07-31 09:33:08 -04:00
|
|
|
|
2022-12-07 08:51:59 -05:00
|
|
|
<properties>
|
|
|
|
<bundle-symbolic-name>${project.groupId}</bundle-symbolic-name>
|
2023-08-21 20:46:46 -04:00
|
|
|
<jacoco.skip>true</jacoco.skip>
|
2023-09-28 01:21:45 -04:00
|
|
|
<javadoc.skip>true</javadoc.skip>
|
|
|
|
<sources.skip>true</sources.skip>
|
2022-12-07 08:51:59 -05:00
|
|
|
</properties>
|
|
|
|
|
2023-10-11 21:51:36 -04:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.ee10</groupId>
|
|
|
|
<artifactId>jetty-ee10-bom</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>javadoc</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>javadoc</classifier>
|
|
|
|
<type>jar</type>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-alpn-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-home</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-infinispan-embedded-query</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-jmx</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-nosql</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-rewrite</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-unixdomain-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-util-ajax</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.ee10</groupId>
|
|
|
|
<artifactId>jetty-ee10-servlet</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.ee10</groupId>
|
|
|
|
<artifactId>jetty-ee10-servlets</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.ee10</groupId>
|
|
|
|
<artifactId>jetty-ee10-webapp</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.ee10.websocket</groupId>
|
|
|
|
<artifactId>jetty-ee10-websocket-jakarta-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.fcgi</groupId>
|
|
|
|
<artifactId>jetty-fcgi-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.gcloud</groupId>
|
|
|
|
<artifactId>jetty-gcloud-session-manager</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.http2</groupId>
|
|
|
|
<artifactId>jetty-http2-client-transport</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.http2</groupId>
|
|
|
|
<artifactId>jetty-http2-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.http3</groupId>
|
|
|
|
<artifactId>jetty-http3-client-transport</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.http3</groupId>
|
|
|
|
<artifactId>jetty-http3-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.memcached</groupId>
|
|
|
|
<artifactId>jetty-memcached-sessions</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
|
|
<artifactId>jetty-websocket-jetty-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
|
|
<artifactId>jetty-websocket-jetty-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-slf4j-impl</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2023-08-14 12:12:17 -04:00
|
|
|
|
2016-05-17 18:30:13 -04:00
|
|
|
<build>
|
2022-11-17 20:43:05 -05:00
|
|
|
<resources>
|
|
|
|
<!-- include something so that a asciidoctor.skip won't break assembly -->
|
|
|
|
<resource>
|
2023-10-11 21:51:36 -04:00
|
|
|
<targetPath>${project.build.directory}/html</targetPath>
|
2022-11-17 20:43:05 -05:00
|
|
|
<directory>${project.basedir}/src/main/asciidoc</directory>
|
|
|
|
<includes>
|
|
|
|
<include>*.css</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2016-05-17 18:30:13 -04:00
|
|
|
<plugins>
|
2023-10-11 21:51:36 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- if asciidoc generation has been skipped this will generate a assembly plugin error
|
|
|
|
so in this case just skip documentation assembly as well -->
|
|
|
|
<skipAssembly>${asciidoctor.skip}</skipAssembly>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>src/main/assembly/html.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-assembly</id>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-javadoc-jar</id>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<includeGroupIds>org.eclipse.jetty</includeGroupIds>
|
|
|
|
<includeArtifactIds>javadoc</includeArtifactIds>
|
|
|
|
<classifier>javadoc</classifier>
|
|
|
|
<outputDirectory>${project.build.directory}/other-artifacts/</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-jetty-home</id>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-home</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${project.build.directory}/</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-11-23 09:52:12 -05:00
|
|
|
<plugin>
|
2023-09-28 01:21:45 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2022-11-23 09:52:12 -05:00
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<fail>false</fail>
|
|
|
|
<rules>
|
|
|
|
<requireJavaVersion>
|
2023-08-21 09:17:14 -04:00
|
|
|
<version>[21,)</version>
|
|
|
|
<message>[ERROR] OLD JDK [${java.version}] in use. Jetty documentation ${project.version} MUST use JDK 21 or newer</message>
|
2022-11-23 09:52:12 -05:00
|
|
|
</requireJavaVersion>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-05-17 18:30:13 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.asciidoctor</groupId>
|
|
|
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
2019-07-11 11:05:15 -04:00
|
|
|
<configuration>
|
2020-09-16 04:58:23 -04:00
|
|
|
<backend>html5</backend>
|
|
|
|
<requires>
|
|
|
|
<require>asciidoctor-diagram</require>
|
|
|
|
</requires>
|
2019-07-11 11:05:15 -04:00
|
|
|
<attributes>
|
2021-07-16 06:49:46 -04:00
|
|
|
<project-basedir>${project.basedir}</project-basedir>
|
|
|
|
<project-version>${project.version}</project-version>
|
2023-08-21 20:46:46 -04:00
|
|
|
<maven-local-repo>${session.repositorySession.localRepository.basedir.absolutePath}</maven-local-repo>
|
2021-07-16 06:49:46 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<prog-guide>../programming-guide/index.html</prog-guide>
|
|
|
|
<op-guide>../operations-guide/index.html</op-guide>
|
2023-07-14 21:21:11 -04:00
|
|
|
<javadoc-url>https://eclipse.dev/jetty/javadoc/jetty-12</javadoc-url>
|
2019-07-11 11:05:15 -04:00
|
|
|
</attributes>
|
|
|
|
</configuration>
|
2023-10-11 21:51:36 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<version>${apache.httpclient.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
<version>${apache.httpcore.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.asciidoctor</groupId>
|
|
|
|
<artifactId>asciidoctorj-diagram</artifactId>
|
|
|
|
<version>${asciidoctorj-diagram.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.documentation</groupId>
|
|
|
|
<artifactId>jetty-asciidoctor-extensions</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>jakarta.annotation</groupId>
|
|
|
|
<artifactId>jakarta.annotation-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
2016-05-17 18:30:13 -04:00
|
|
|
<execution>
|
2019-07-11 11:05:15 -04:00
|
|
|
<id>contribution-guide</id>
|
2016-05-17 18:30:13 -04:00
|
|
|
<goals>
|
2019-07-11 11:05:15 -04:00
|
|
|
<goal>process-asciidoc</goal>
|
2016-05-17 18:30:13 -04:00
|
|
|
</goals>
|
2023-10-11 21:51:36 -04:00
|
|
|
<phase>prepare-package</phase>
|
2016-05-17 18:30:13 -04:00
|
|
|
<configuration>
|
2019-07-11 11:05:15 -04:00
|
|
|
<sourceDirectory>${basedir}/src/main/asciidoc/contribution-guide</sourceDirectory>
|
|
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
|
|
<outputDirectory>${project.build.directory}/html/contribution-guide</outputDirectory>
|
2016-05-17 18:30:13 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
2023-10-11 21:51:36 -04:00
|
|
|
<id>index</id>
|
2016-05-17 18:30:13 -04:00
|
|
|
<goals>
|
2019-07-11 11:05:15 -04:00
|
|
|
<goal>process-asciidoc</goal>
|
2016-05-17 18:30:13 -04:00
|
|
|
</goals>
|
2023-10-11 21:51:36 -04:00
|
|
|
<phase>prepare-package</phase>
|
2019-07-11 11:05:15 -04:00
|
|
|
<configuration>
|
2023-10-11 21:51:36 -04:00
|
|
|
<sourceDirectory>src/main/asciidoc</sourceDirectory>
|
2019-07-11 11:05:15 -04:00
|
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
2023-10-11 21:51:36 -04:00
|
|
|
<outputDirectory>${project.build.directory}/html</outputDirectory>
|
2019-07-11 11:05:15 -04:00
|
|
|
</configuration>
|
2016-05-17 18:30:13 -04:00
|
|
|
</execution>
|
2020-09-29 09:19:25 -04:00
|
|
|
<execution>
|
|
|
|
<id>old_docs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
</goals>
|
2023-10-11 21:51:36 -04:00
|
|
|
<phase>prepare-package</phase>
|
2020-09-29 09:19:25 -04:00
|
|
|
<configuration>
|
|
|
|
<sourceDirectory>${basedir}/src/main/asciidoc/old_docs</sourceDirectory>
|
|
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
|
|
<outputDirectory>${project.build.directory}/html/old_docs</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-08-24 13:41:17 -04:00
|
|
|
<execution>
|
2023-10-11 21:51:36 -04:00
|
|
|
<id>operations-guide</id>
|
2023-08-24 13:41:17 -04:00
|
|
|
<goals>
|
2023-10-11 21:51:36 -04:00
|
|
|
<goal>process-asciidoc</goal>
|
2023-08-24 13:41:17 -04:00
|
|
|
</goals>
|
2023-10-11 21:51:36 -04:00
|
|
|
<phase>prepare-package</phase>
|
2023-08-24 13:41:17 -04:00
|
|
|
<configuration>
|
2023-10-11 21:51:36 -04:00
|
|
|
<sourceDirectory>src/main/asciidoc/operations-guide</sourceDirectory>
|
|
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
|
|
<outputDirectory>${project.build.directory}/html/operations-guide</outputDirectory>
|
2023-08-24 13:41:17 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-09-28 01:21:45 -04:00
|
|
|
<execution>
|
2023-10-11 21:51:36 -04:00
|
|
|
<id>programming-guide</id>
|
2023-09-28 01:21:45 -04:00
|
|
|
<goals>
|
2023-10-11 21:51:36 -04:00
|
|
|
<goal>process-asciidoc</goal>
|
2023-09-28 01:21:45 -04:00
|
|
|
</goals>
|
2023-10-11 21:51:36 -04:00
|
|
|
<phase>prepare-package</phase>
|
2023-09-28 01:21:45 -04:00
|
|
|
<configuration>
|
2023-10-11 21:51:36 -04:00
|
|
|
<sourceDirectory>${basedir}/src/main/asciidoc/programming-guide</sourceDirectory>
|
|
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
|
|
<outputDirectory>${project.build.directory}/html/programming-guide</outputDirectory>
|
2023-09-28 01:21:45 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-08-24 13:41:17 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2023-09-28 01:21:45 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadoc</id>
|
|
|
|
<goals>
|
|
|
|
<goal>attach-artifact</goal>
|
|
|
|
</goals>
|
2023-10-11 21:51:36 -04:00
|
|
|
<phase>package</phase>
|
2023-09-28 01:21:45 -04:00
|
|
|
<configuration>
|
|
|
|
<artifacts>
|
|
|
|
<artifact>
|
|
|
|
<file>${project.build.directory}/other-artifacts/javadoc-${project.version}-javadoc.jar</file>
|
|
|
|
<type>jar</type>
|
|
|
|
<classifier>javadoc</classifier>
|
|
|
|
</artifact>
|
|
|
|
</artifacts>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-05-17 18:30:13 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2021-01-31 18:24:13 -05:00
|
|
|
|
2023-10-11 21:51:36 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>jdk17-18</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[17,19)</jdk>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/ArchitectureDocs.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>jdk19-20</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[19,21)</jdk>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.specification.version}</source>
|
|
|
|
<target>${java.specification.version}</target>
|
|
|
|
<release>${java.specification.version}</release>
|
|
|
|
<enablePreview>true</enablePreview>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>jdk21+</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[21,)</jdk>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.specification.version}</source>
|
|
|
|
<target>${java.specification.version}</target>
|
|
|
|
<release>${java.specification.version}</release>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2016-05-17 18:30:13 -04:00
|
|
|
</project>
|