mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-24 16:35:03 +00:00
* New top level /documentation/ Which is a parent pom * Existing /jetty-documentation/ moved to new /documentation/jetty-documentation/ location * New /documentation/jetty-asciidoctor-extensions/ project Created from the java code in the old /jetty-documentation/src/main/ tree * Referencing new jetty-asciidoctor-extensions project in asciidoc plugin on /documentation/jetty-documentation/pom.xml * All projects in /documentation/ are now on org.eclipse.jetty.documentation groupId Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
136 lines
5.4 KiB
XML
136 lines
5.4 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-parent</artifactId>
|
|
<version>10.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>jetty-documentation</artifactId>
|
|
<name>Jetty :: Documentation</name>
|
|
<packaging>pom</packaging>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.asciidoctor</groupId>
|
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.asciidoctor</groupId>
|
|
<artifactId>asciidoctorj-diagram</artifactId>
|
|
<version>2.0.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.documentation</groupId>
|
|
<artifactId>jetty-asciidoctor-extensions</artifactId>
|
|
<version>10.0.1-SNAPSHOT</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<backend>html5</backend>
|
|
<requires>
|
|
<require>asciidoctor-diagram</require>
|
|
</requires>
|
|
<attributes>
|
|
<MAVENREPOSITORY>${settings.localRepository}</MAVENREPOSITORY>
|
|
<PROJECTDIR>${project.basedir}/..</PROJECTDIR>
|
|
<JDURL>http://www.eclipse.org/jetty/javadoc/${project.version}</JDURL>
|
|
<JXURL>http://download.eclipse.org/jetty/stable-9/xref</JXURL>
|
|
<SRCDIR>${basedir}/..</SRCDIR>
|
|
<GITBROWSEURL>https://github.com/eclipse/jetty.project/tree/master</GITBROWSEURL>
|
|
<GITDOCURL>https://github.com/eclipse/jetty.project/tree/jetty-10.0.x-doc-refactor/jetty-documentation/src/main/asciidoc</GITDOCURL>
|
|
<OPGUIDE>../operations-guide/index.html</OPGUIDE>
|
|
<PROGGUIDE>../programming-guide/index.html</PROGGUIDE>
|
|
<GSTARTGUIDE>../gettingstarted-guide/index.html</GSTARTGUIDE>
|
|
<CONTRIBGUIDE>../contribution-guide/index.html</CONTRIBGUIDE>
|
|
<MVNCENTRAL>http://central.maven.org/maven2</MVNCENTRAL>
|
|
<VERSION>${project.version}</VERSION>
|
|
<TIMESTAMP>${maven.build.timestamp}</TIMESTAMP>
|
|
</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>
|
|
</project>
|