| <?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 https://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <groupId>org.apache</groupId> | |
| <artifactId>apache</artifactId> | |
| <version>40</version> | |
| <relativePath /> | |
| </parent> | |
| <groupId>org.apache.opennlp</groupId> | |
| <artifactId>opennlp-models</artifactId> | |
| <version>1.3.1-SNAPSHOT</version> | |
| <packaging>pom</packaging> | |
| <name>Apache OpenNLP Models</name> | |
| <scm> | |
| <connection>scm:git:https://github.com/apache/opennlp-models.git</connection> | |
| <developerConnection>scm:git:git@github.com:apache/opennlp-models.git</developerConnection> | |
| <url>https://github.com/apache/opennlp-models.git</url> | |
| <tag>opennlp-models-1.3.0</tag> | |
| </scm> | |
| <repositories> | |
| <repository> | |
| <id>apache.snapshots</id> | |
| <name>Apache Snapshot Repository</name> | |
| <url>https://repository.apache.org/snapshots</url> | |
| <snapshots> | |
| <enabled>true</enabled> | |
| </snapshots> | |
| <releases> | |
| <enabled>false</enabled> | |
| </releases> | |
| </repository> | |
| </repositories> | |
| <mailingLists> | |
| <mailingList> | |
| <name>Apache OpenNLP Users</name> | |
| <subscribe>users-subscribe@opennlp.apache.org</subscribe> | |
| <unsubscribe>users-unsubscribe@opennlp.apache.org</unsubscribe> | |
| <post>users@opennlp.apache.org</post> | |
| <archive>https://mail-archives.apache.org/mod_mbox/opennlp-users/</archive> | |
| </mailingList> | |
| <mailingList> | |
| <name>Apache OpenNLP Developers</name> | |
| <subscribe>dev-subscribe@opennlp.apache.org</subscribe> | |
| <unsubscribe>dev-unsubscribe@opennlp.apache.org</unsubscribe> | |
| <post>dev@opennlp.apache.org</post> | |
| <archive>https://mail-archives.apache.org/mod_mbox/opennlp-dev/</archive> | |
| </mailingList> | |
| <mailingList> | |
| <name>Apache OpenNLP Commits</name> | |
| <subscribe>commits-subscribe@opennlp.apache.org</subscribe> | |
| <unsubscribe>commits-unsubscribe@opennlp.apache.org</unsubscribe> | |
| <archive>https://mail-archives.apache.org/mod_mbox/opennlp-commits/</archive> | |
| </mailingList> | |
| <mailingList> | |
| <name>Apache OpenNLP Issues</name> | |
| <subscribe>issues-subscribe@opennlp.apache.org</subscribe> | |
| <unsubscribe>issues-unsubscribe@opennlp.apache.org</unsubscribe> | |
| <archive>https://mail-archives.apache.org/mod_mbox/opennlp-issues/</archive> | |
| </mailingList> | |
| </mailingLists> | |
| <issueManagement> | |
| <system>jira</system> | |
| <url>https://issues.apache.org/jira/browse/OPENNLP</url> | |
| </issueManagement> | |
| <properties> | |
| <!-- Build Properties --> | |
| <java.version>17</java.version> | |
| <maven.compiler.release>${java.version}</maven.compiler.release> | |
| <maven.compiler.target>${java.version}</maven.compiler.target> | |
| <maven.version>3.6.3</maven.version> | |
| <asf.dist.base>https://dist.apache.org/repos/dist/release/opennlp/models/</asf.dist.base> | |
| <sf.dist.base>https://opennlp.sourceforge.net/models-1.5/</sf.dist.base> | |
| <!-- set a fixed value here to enable reproducible builds --> | |
| <project.build.outputTimestamp>2025-06-18T13:19:09Z</project.build.outputTimestamp> | |
| <!-- maven plugin versions --> | |
| <download.plugin.version>1.13.0</download.plugin.version> | |
| <build-helper.plugin.version>3.6.2</build-helper.plugin.version> | |
| <exec.plugin.version>3.6.4</exec.plugin.version> | |
| <javadoc.plugin.version>3.12.0</javadoc.plugin.version> | |
| </properties> | |
| <build> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-release-plugin</artifactId> | |
| <configuration> | |
| <useReleaseProfile>false</useReleaseProfile> | |
| <goals>deploy</goals> | |
| <arguments>-Papache-release</arguments> | |
| <mavenExecutorId>forked-path</mavenExecutorId> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <version>${build-helper.plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>add-resource</id> | |
| <phase>generate-resources</phase> | |
| <goals> | |
| <goal>add-resource</goal> | |
| </goals> | |
| <configuration> | |
| <resources> | |
| <resource> | |
| <directory>${project.build.directory}/models/</directory> | |
| </resource> | |
| </resources> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>com.googlecode.maven-download-plugin</groupId> | |
| <artifactId>download-maven-plugin</artifactId> | |
| <version>${download.plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>download-model</id> | |
| <phase>generate-resources</phase> | |
| <goals> | |
| <goal>wget</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| <configuration> | |
| <outputDirectory>${project.build.directory}/models</outputDirectory> | |
| <sha256>${model.sha256}</sha256> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <release>${java.version}</release> | |
| <compilerArgument>-Xlint</compilerArgument> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.rat</groupId> | |
| <artifactId>apache-rat-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>default-cli</id> | |
| <goals> | |
| <goal>check</goal> | |
| </goals> | |
| <phase>verify</phase> | |
| <configuration> | |
| <excludes> | |
| <!-- File generated by maven-release-plugin --> | |
| <exclude>release.properties</exclude> | |
| </excludes> | |
| <numUnapprovedLicenses>1000000</numUnapprovedLicenses> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>enforce-java</id> | |
| <phase>validate</phase> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireJavaVersion> | |
| <message>Java 17 or higher is required to compile this module</message> | |
| <version>[${java.version},)</version> | |
| </requireJavaVersion> | |
| <requireMavenVersion> | |
| <message>Maven 3.6.3 or higher is required to compile this module</message> | |
| <version>[${maven.version},)</version> | |
| </requireMavenVersion> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <profiles> | |
| <profile> | |
| <id>apache-release</id> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <version>${javadoc.plugin.version}</version> | |
| <configuration> | |
| <doclint>none</doclint> | |
| <source>${java.version}</source> | |
| <sourcepath>src/main/java</sourcepath> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>create-javadoc-jar</id> | |
| <goals> | |
| <goal>jar</goal> | |
| </goals> | |
| <phase>package</phase> | |
| <configuration> | |
| <show>public</show> | |
| <quiet>false</quiet> | |
| <use>false</use> <!-- Speeds up the build of the javadocs --> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.rat</groupId> | |
| <artifactId>apache-rat-plugin</artifactId> | |
| <configuration> | |
| <excludes> | |
| <excludesFile>rat-excludes</excludesFile> | |
| </excludes> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>default-cli</id> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| </profiles> | |
| <modules> | |
| <module>opennlp-models-langdetect</module> | |
| <module>opennlp-models-lemmatizer</module> | |
| <module>opennlp-models-pos</module> | |
| <module>opennlp-models-sentdetect</module> | |
| <module>opennlp-models-tokenizer</module> | |
| <module>opennlp-models-test</module> | |
| <module>opennlp-models-training</module> | |
| </modules> | |
| </project> |