antora-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.antora</groupId>
<artifactId>antora-maven-plugin</artifactId>
<version>1.0.0-alpha.5</version>
</dependency><?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.antora</groupId>
<artifactId>antora-maven-plugin</artifactId>
<version>1.0.0-alpha.5</version>
<packaging>maven-plugin</packaging>
<name>Antora Maven Plugin</name>
<description>A Maven plugin that runs Antora on your project. This plugin automatically manages the Node.js prerequisite that is required to run Antora.</description>
<url>https://gitlab.com/antora/antora-maven-plugin</url>
<inceptionYear>2023</inceptionYear>
<organization>
<name>Antora</name>
<url>https://antora.org</url>
</organization>
<licenses>
<license>
<name>Mozilla Public License, Version 2.0</name>
<url>https://www.mozilla.org/en-US/MPL/2.0/</url>
</license>
</licenses>
<developers>
<developer>
<name>Rob Winch</name>
<email>161152-rwinch@users.noreply.gitlab.com</email>
<organization>Antora Team</organization>
<organizationUrl>https://antora.org</organizationUrl>
</developer>
<developer>
<name>Dan Allen</name>
<email>11827-mojavelinux@users.noreply.gitlab.com</email>
<organization>Antora Team</organization>
<organizationUrl>https://antora.org</organizationUrl>
</developer>
</developers>
<prerequisites>
<maven>3.6.3</maven>
</prerequisites>
<scm>
<connection>scm:git:git://gitlab.com/antora/antora-maven-plugin.git</connection>
<developerConnection>scm:git:ssh://gitlab.com/antora/antora-maven-plugin.git</developerConnection>
<tag>antora-maven-plugin-1.0.0-alpha.5</tag>
<url>https://gitlab.com/antora/antora-maven-plugin</url>
</scm>
<issueManagement>
<system>GitLab</system>
<url>https://gitlab.com/antora/antora-maven-plugin/-/issues</url>
</issueManagement>
<ciManagement>
<system>GitLab CI</system>
<url>https://gitlab.com/antora/antora-maven-plugin/-/pipelines</url>
</ciManagement>
<properties>
<invoker.skip>${maven.test.skip}</invoker.skip>
<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.test.skip>false</maven.test.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven</artifactId>
<version>3.9.6</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-bom</artifactId>
<version>3.25.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.10.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
</dependency>
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>6.7.0.202309050840-r</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>2.2.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.11.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.43.0</version>
<configuration>
<java>
<eclipse>
<file>${project.basedir}/eclipse-code-formatter.xml</file>
</eclipse>
</java>
<groovy>
<includes>
<include>src/it/*/*.groovy</include>
</includes>
<greclipse>
<file>${project.basedir}/eclipse-code-formatter.xml</file>
</greclipse>
</groovy>
<pom>
<includes>
<include>pom.xml</include>
<include>src/it/*/pom.xml</include>
</includes>
<sortPom>
<keepBlankLines>false</keepBlankLines>
<sortDependencies>scope,groupId,artifactId</sortDependencies>
<!-- it seems easier to reason about plugins if sorted in execution order -->
<!--
<sortPlugins>scope,groupId,artifactId</sortPlugins>
-->
<sortProperties>true</sortProperties>
</sortPom>
</pom>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<environmentVariables>
<ANTORA_CACHE_DIR>${project.build.directory}${file.separator}it-antora-cache</ANTORA_CACHE_DIR>
</environmentVariables>
<localRepositoryPath>${project.build.directory}/it-local-repo</localRepositoryPath>
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
<pomInclude>no-project</pomInclude>
</pomIncludes>
<postBuildHookScript>verify</postBuildHookScript>
<settingsFile>src/it/settings.xml</settingsFile>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.9.0</version>
<configuration>
<goalPrefix>antora</goalPrefix>
<helpPackageName>${project.groupId}.maven</helpPackageName>
</configuration>
<executions>
<execution>
<id>default-descriptor</id>
<goals>
<goal>descriptor</goal>
</goals>
<phase>process-classes</phase>
</execution>
<execution>
<id>help-descriptor</id>
<goals>
<goal>helpmojo</goal>
</goals>
<phase>generate-sources</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>prepare-release</id>
<properties>
<scmCommentPrefix />
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>1-git-pop-stash</id>
<goals>
<goal>exec</goal>
</goals>
<phase>initialize</phase>
<configuration>
<executable>git</executable>
<arguments>stash, pop, -q</arguments>
</configuration>
</execution>
<execution>
<id>2-git-add-updated</id>
<goals>
<goal>exec</goal>
</goals>
<phase>initialize</phase>
<configuration>
<executable>git</executable>
<arguments>add, -u</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<lineSeparator>lf</lineSeparator>
<preparationGoals>clean initialize</preparationGoals>
<scmDevelopmentCommitComment>prepare branch for development [skip ci]</scmDevelopmentCommitComment>
<scmReleaseCommitComment>release @{releaseLabel}</scmReleaseCommitComment>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>publish-release</id>
<properties>
<gpg.passphraseEnvName>RELEASE_GPG_PASSPHRASE</gpg.passphraseEnvName>
<maven.test.skip>true</maven.test.skip>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.2</version>
<executions>
<execution>
<id>sign-artifacts</id>
<goals>
<goal>sign</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<localCheckout>true</localCheckout>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.4.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<tokenAuth>true</tokenAuth>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>