diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-01-08 11:49:07 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-01-06 10:09:11 +0100 |
commit | 9735e858af48ff0bce152ea489800a86a151b08d (patch) | |
tree | 3b2d9cdb78864b9876d17831a56f8254d1101dc5 /docs | |
parent | 65545672f931445a954a900f7335269f33aff245 (diff) | |
download | aspectj-9735e858af48ff0bce152ea489800a86a151b08d.tar.gz aspectj-9735e858af48ff0bce152ea489800a86a151b08d.zip |
Experimentally add asciidoctor-maven-plugin to 'docs' module
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pom.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/pom.xml b/docs/pom.xml index 52c58b03d..e6c256dd9 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -12,6 +12,39 @@ <profiles> <profile> + <id>create-docs-new</id> + <activation> + <property> + <name>createDocs__NEW</name> + <value>true</value> + </property> + </activation> + + <build> + <plugins> + <plugin> + <groupId>org.asciidoctor</groupId> + <artifactId>asciidoctor-maven-plugin</artifactId> + <executions> + <execution> + <id>create-asciidoc</id> + <phase>generate-resources</phase> + <goals> + <goal>process-asciidoc</goal> + </goals> + <configuration> + <sourceDirectory>${project.basedir}</sourceDirectory> + <outputDirectory>${project.build.directory}/html</outputDirectory> + <preserveDirectories>true</preserveDirectories> + <relativeBaseDir>true</relativeBaseDir> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> <id>create-docs</id> <activation> <property> |