| <?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-addons</artifactId> |
| <version>2.5.1-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>morfologik-addon</artifactId> |
| <version>2.5.1-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| <name>Apache OpenNLP Morfologik Addon</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.opennlp</groupId> |
| <artifactId>opennlp-tools</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.carrot2</groupId> |
| <artifactId>morfologik-stemming</artifactId> |
| <version>2.1.9</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.carrot2</groupId> |
| <artifactId>morfologik-tools</artifactId> |
| <version>2.1.9</version> |
| <scope>compile</scope> |
| </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> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j2-impl</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <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> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>bundle-project-sources</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/bin.xml</descriptor> |
| <descriptor>src/main/assembly/src.xml</descriptor> |
| </descriptors> |
| <!-- Tar package is only compatible with gnu tar, |
| many file have more than 100 chars. |
| Right now only javadoc files are too long. |
| --> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| |
| <finalName>apache-opennlp-morfologik-addon-${project.version}</finalName> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.6</version> |
| <executions> |
| <execution> |
| <id>generate checksums for binary artifacts</id> |
| <goals><goal>run</goal></goals> |
| <phase>verify</phase> |
| <configuration> |
| <target> |
| <checksum algorithm="sha1" format="MD5SUM"> |
| <fileset dir="${project.build.directory}"> |
| <include name="*.zip" /> |
| <include name="*.gz" /> |
| </fileset> |
| </checksum> |
| <checksum algorithm="md5" format="MD5SUM"> |
| <fileset dir="${project.build.directory}"> |
| <include name="*.zip" /> |
| <include name="*.gz" /> |
| </fileset> |
| </checksum> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |