| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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"> |
| <parent> |
| <artifactId>winegrower</artifactId> |
| <groupId>org.apache.winegrower</groupId> |
| <version>1.0-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>winegrower-documentation</artifactId> |
| <name>Apache Winegrower :: Extension :: CDI</name> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctor-maven-plugin</artifactId> |
| <version>1.5.7.1</version> |
| <executions> |
| <execution> |
| <id>main</id> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <sourceDirectory>${project.basedir}/src/main/asciidoc</sourceDirectory> |
| <outputDirectory>${project.build.directory}/documentation</outputDirectory> |
| </configuration> |
| </execution> |
| <execution> |
| <id>core</id> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <sourceDirectory>${project.basedir}/../winegrower-core/src/main/asciidoc</sourceDirectory> |
| <outputDirectory>${project.build.directory}/documentation/core</outputDirectory> |
| </configuration> |
| </execution> |
| <execution> |
| <id>extension</id> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <sourceDirectory>${project.basedir}/../winegrower-extension/src/main/asciidoc</sourceDirectory> |
| <outputDirectory>${project.build.directory}/documentation/extensions</outputDirectory> |
| </configuration> |
| </execution> |
| <execution> |
| <id>servlet</id> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <sourceDirectory>${project.basedir}/../winegrower-extension/winegrower-servlet/src/main/asciidoc</sourceDirectory> |
| <outputDirectory>${project.build.directory}/documentation/extensions/servlet</outputDirectory> |
| </configuration> |
| </execution> |
| <execution> |
| <id>maven</id> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <sourceDirectory>${project.basedir}/../winegrower-extension/winegrower-build/winegrower-maven-plugin/src/main/asciidoc</sourceDirectory> |
| <outputDirectory>${project.build.directory}/documentation/extensions/maven</outputDirectory> |
| </configuration> |
| </execution> |
| <execution> |
| <id>junit5</id> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <sourceDirectory>${project.basedir}/../winegrower-extension/winegrower-testing/winegrower-testing-junit5/src/main/asciidoc</sourceDirectory> |
| <outputDirectory>${project.build.directory}/documentation/extensions/junit5</outputDirectory> |
| </configuration> |
| </execution> |
| <execution> |
| <id>cdi</id> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <sourceDirectory>${project.basedir}/../winegrower-extension/winegrower-cdi/src/main/asciidoc</sourceDirectory> |
| <outputDirectory>${project.build.directory}/documentation/extensions/cdi</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| <configuration> |
| <backend>html5</backend> |
| <sourceHighlighter>coderay</sourceHighlighter> |
| <attributes> |
| <toc>left</toc> |
| <icons>font</icons> |
| <sectanchors>true</sectanchors> |
| <idprefix/> |
| <idseparator>-</idseparator> |
| <docinfo1>true</docinfo1> |
| </attributes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>gh-pages</id> |
| |
| <properties> |
| <github.serverId>winegrower-github</github.serverId> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.gmavenplus</groupId> |
| <artifactId>gmavenplus-plugin</artifactId> |
| <version>1.6</version> |
| <executions> |
| <execution> |
| <id>deploy-site</id> |
| <phase>none</phase> |
| <goals> |
| <goal>execute</goal> |
| </goals> |
| <configuration> |
| <allowSystemExits>true</allowSystemExits> |
| <scripts> |
| <script>${project.basedir}/src/build/GithubPages.groovy</script> |
| </scripts> |
| </configuration> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.jgit</groupId> |
| <artifactId>org.eclipse.jgit</artifactId> |
| <version>4.9.2.201712150930-r</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-all</artifactId> |
| <version>2.5.3</version> |
| <type>pom</type> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |