| <?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"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.opennlp</groupId> |
| <artifactId>opennlp-sandbox</artifactId> |
| <version>2.3.4-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>summarizer</artifactId> |
| <version>2.3.4-SNAPSHOT</version> |
| <name>Apache OpenNLP Summarizer</name> |
| |
| <properties> |
| <wordnet-dict.version>3.1</wordnet-dict.version> |
| |
| <maven.download.plugin>1.6.7</maven.download.plugin> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.opennlp</groupId> |
| <artifactId>opennlp-tools</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>edu.mit</groupId> |
| <artifactId>jwi</artifactId> |
| <version>2.2.3</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-engine</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-params</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>com.googlecode.maven-download-plugin</groupId> |
| <artifactId>download-maven-plugin</artifactId> |
| <version>${maven.download.plugin}</version> |
| <executions> |
| <execution> |
| <id>dl-wordnet-${wordnet-dict.version}</id> |
| <phase>process-test-resources</phase> |
| <goals> |
| <goal>wget</goal> |
| </goals> |
| <configuration> |
| <url> |
| https://wordnetcode.princeton.edu/wn${wordnet-dict.version}.dict.tar.gz |
| </url> |
| <unpack>true</unpack> |
| <outputDirectory>${project.build.directory}/test-classes/wordnet</outputDirectory> |
| <failOnError>true</failOnError> |
| <overwrite>false</overwrite> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>${maven.compiler.source}</source> |
| <target>${maven.compiler.target}</target> |
| <compilerArgument>-Xlint</compilerArgument> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.googlecode.maven-download-plugin</groupId> |
| <artifactId>download-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |