| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <packaging>pom</packaging> |
| |
| <groupId>org.apache.opennlp</groupId> |
| <artifactId>opennlp-site</artifactId> |
| <name>Apache OpenNLP Web Site</name> |
| <version>0.1-SNAPSHOT</version> |
| |
| <build> |
| <finalName>opennlp-site</finalName> |
| |
| <plugins> |
| <plugin> |
| <groupId>br.com.ingenieux</groupId> |
| <artifactId>jbake-maven-plugin</artifactId> |
| <version>0.0.9</version> |
| |
| <!-- dependencies --> |
| <dependencies> |
| |
| <!-- optional : a jbake version --> |
| <dependency> |
| <groupId>org.jbake</groupId> |
| <artifactId>jbake-core</artifactId> |
| <version>2.5.1</version> |
| </dependency> |
| <!-- for freemarker templates (.ftl) --> |
| <dependency> |
| <groupId>org.freemarker</groupId> |
| <artifactId>freemarker</artifactId> |
| <version>2.3.25-incubating</version> |
| </dependency> |
| <!-- for markdown parsing (.md) --> |
| <dependency> |
| <groupId>org.pegdown</groupId> |
| <artifactId>pegdown</artifactId> |
| <version>1.6.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj</artifactId> |
| <version>1.5.4.1</version> |
| </dependency> |
| |
| </dependencies> |
| |
| <executions> |
| <execution> |
| <id>default-generate</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>3.0.2</version> |
| <executions> |
| <execution> |
| <id>copy-docs</id> |
| <!-- here the phase you need --> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/opennlp-site/docs</outputDirectory> |
| <resources> |
| <resource> |
| <directory>src/main/docs</directory> |
| <filtering>false</filtering> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-code-formatter</id> |
| <!-- here the phase you need --> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/opennlp-site/code-formatter</outputDirectory> |
| <resources> |
| <resource> |
| <directory>src/main/code-formatter</directory> |
| <filtering>false</filtering> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>3.0.0</version> |
| <executions> |
| <execution> |
| <id>unpack</id> |
| <phase>package</phase> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <!-- Start of 1.7.2 --> |
| <artifactItem> |
| <groupId>org.apache.opennlp</groupId> |
| <artifactId>opennlp-tools</artifactId> |
| <version>1.7.2</version> |
| <type>jar</type> |
| <classifier>javadoc</classifier> |
| <overWrite>false</overWrite> |
| <outputDirectory>${project.build.directory}/opennlp-site/docs/1.7.2/apidocs/opennlp-tools</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.opennlp</groupId> |
| <artifactId>opennlp-brat-annotator</artifactId> |
| <version>1.7.2</version> |
| <type>jar</type> |
| <classifier>javadoc</classifier> |
| <overWrite>false</overWrite> |
| <outputDirectory>${project.build.directory}/opennlp-site/docs/1.7.2/apidocs/opennlp-brat-annotator</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.opennlp</groupId> |
| <artifactId>opennlp-morfologik-addon</artifactId> |
| <version>1.7.2</version> |
| <type>jar</type> |
| <classifier>javadoc</classifier> |
| <overWrite>false</overWrite> |
| <outputDirectory>${project.build.directory}/opennlp-site/docs/1.7.2/apidocs/opennlp-morfologik-addon</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.opennlp</groupId> |
| <artifactId>opennlp-uima</artifactId> |
| <version>1.7.2</version> |
| <type>jar</type> |
| <classifier>javadoc</classifier> |
| <overWrite>false</overWrite> |
| <outputDirectory>${project.build.directory}/opennlp-site/docs/1.7.2/apidocs/opennlp-uima</outputDirectory> |
| </artifactItem> |
| <!-- End of 1.7.2 --> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| </project> |