| | |
| | | </plugin> |
| | | |
| | | <plugin> |
| | | <artifactId>maven-antrun-plugin</artifactId> |
| | | <executions> |
| | | <execution> |
| | | <id>copy-man-pages</id> |
| | | <phase>package</phase> |
| | | <goals> |
| | | <goal>run</goal> |
| | | </goals> |
| | | <configuration> |
| | | <tasks> |
| | | <copy todir="${project.build.directory}/asciidoc/source/man-pages"> |
| | | <fileset dir="${basedir}/src/main/asciidoc/man-pages" includes="**/*" /> |
| | | </copy> |
| | | <copy todir="${project.build.directory}/asciidoc/source/partials"> |
| | | <fileset dir="${basedir}/src/main/asciidoc/man-pages" includes="**/*" /> |
| | | <fileset dir="${project.build.directory}/asciidoc/source/man-pages" includes="**/*" /> |
| | | </copy> |
| | | <delete> |
| | | <fileset dir="${project.build.directory}/asciidoc/source/man-pages" includes="man-*-subcommands-ref*" /> |
| | | </delete> |
| | | </tasks> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.asciidoctor</groupId> |
| | | <artifactId>asciidoctor-maven-plugin</artifactId> |
| | | <version>2.2.6</version> |
| | |
| | | <artifactId>maven-antrun-plugin</artifactId> |
| | | <executions> |
| | | <execution> |
| | | <id>copy-man-pages</id> |
| | | <phase>prepare-package</phase> |
| | | <goals> |
| | | <goal>run</goal> |
| | | </goals> |
| | | <configuration> |
| | | <tasks> |
| | | <copy todir="${project.build.directory}/asciidoc/source/man-pages"> |
| | | <fileset dir="${basedir}/src/main/asciidoc/man-pages" includes="**/*" /> |
| | | </copy> |
| | | <copy todir="${project.build.directory}/asciidoc/source/partials"> |
| | | <fileset dir="${basedir}/src/main/asciidoc/man-pages" includes="**/*" /> |
| | | <fileset dir="${project.build.directory}/asciidoc/source/man-pages" includes="**/*" /> |
| | | </copy> |
| | | <delete> |
| | | <fileset dir="${project.build.directory}/asciidoc/source/man-pages" includes="man-*-subcommands-ref*" /> |
| | | </delete> |
| | | </tasks> |
| | | </configuration> |
| | | </execution> |
| | | <execution> |
| | | <id>zip-docs</id> |
| | | <phase>package</phase> |
| | | <configuration> |