272 lines
9.6 KiB
XML
272 lines
9.6 KiB
XML
<?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">
|
|
<parent>
|
|
<groupId>org.eclipse.jetty.documentation</groupId>
|
|
<artifactId>documentation</artifactId>
|
|
<version>12.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>jetty-documentation</artifactId>
|
|
<name>Documentation :: Guides</name>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<bundle-symbolic-name>${project.groupId}</bundle-symbolic-name>
|
|
<asciidoctor.skip>${skipTests}</asciidoctor.skip>
|
|
</properties>
|
|
|
|
<build>
|
|
<resources>
|
|
<!-- include something so that a asciidoctor.skip won't break assembly -->
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/asciidoc</directory>
|
|
<includes>
|
|
<include>*.css</include>
|
|
</includes>
|
|
<targetPath>${project.build.directory}/html</targetPath>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<configuration>
|
|
<fail>false</fail>
|
|
<rules>
|
|
<requireJavaVersion>
|
|
<version>[19,)</version>
|
|
<message>[ERROR] OLD JDK [${java.version}] in use. Jetty documentation ${project.version} MUST use JDK 19 or newer</message>
|
|
</requireJavaVersion>
|
|
</rules>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.asciidoctor</groupId>
|
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
|
<dependencies>
|
|
<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>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
<version>${apache.httpcore.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>${apache.httpclient.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<backend>html5</backend>
|
|
<requires>
|
|
<require>asciidoctor-diagram</require>
|
|
</requires>
|
|
<attributes>
|
|
<project-basedir>${project.basedir}</project-basedir>
|
|
<project-version>${project.version}</project-version>
|
|
<maven-local-repo>${settings.localRepository}</maven-local-repo>
|
|
<version>${project.version}</version>
|
|
<prog-guide>../programming-guide/index.html</prog-guide>
|
|
<op-guide>../operations-guide/index.html</op-guide>
|
|
<javadoc-url>https://www.eclipse.org/jetty/javadoc/jetty-11</javadoc-url>
|
|
</attributes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>index</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>process-asciidoc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirectory>src/main/asciidoc</sourceDirectory>
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
<outputDirectory>${project.build.directory}/html</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>operations-guide</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>process-asciidoc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirectory>src/main/asciidoc/operations-guide</sourceDirectory>
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
<outputDirectory>${project.build.directory}/html/operations-guide</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>contribution-guide</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>process-asciidoc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirectory>${basedir}/src/main/asciidoc/contribution-guide</sourceDirectory>
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
<outputDirectory>${project.build.directory}/html/contribution-guide</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>programming-guide</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>process-asciidoc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirectory>${basedir}/src/main/asciidoc/programming-guide</sourceDirectory>
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
<outputDirectory>${project.build.directory}/html/programming-guide</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>old_docs</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>process-asciidoc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirectory>${basedir}/src/main/asciidoc/old_docs</sourceDirectory>
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
<outputDirectory>${project.build.directory}/html/old_docs</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>src/main/assembly/html.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<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>jetty-alpn-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-jmx</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.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</groupId>
|
|
<artifactId>jetty-util-ajax</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee10</groupId>
|
|
<artifactId>jetty-ee10-webapp</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.fcgi</groupId>
|
|
<artifactId>jetty-fcgi-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.http2</groupId>
|
|
<artifactId>jetty-http2-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.http2</groupId>
|
|
<artifactId>jetty-http2-client-transport</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.http3</groupId>
|
|
<artifactId>jetty-http3-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.http3</groupId>
|
|
<artifactId>jetty-http3-client-transport</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-unixdomain-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-slf4j-impl</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.memcached</groupId>
|
|
<artifactId>jetty-memcached-sessions</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-nosql</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee10.websocket</groupId>
|
|
<artifactId>jetty-ee10-websocket-jetty-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee10.websocket</groupId>
|
|
<artifactId>jetty-ee10-websocket-jakarta-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee10.websocket</groupId>
|
|
<artifactId>jetty-ee10-websocket-jetty-server</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|