| <?xml version="1.0" encoding="UTF-8"?> |
| <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns="http://maven.apache.org/POM/4.0.0" |
| 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> |
| |
| <groupId>groupId</groupId> |
| <artifactId>KorAP-Tokenizer</artifactId> |
| <version>1.2-SNAPSHOT</version> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <jackson.version>[2.10.3,)</jackson.version> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| </properties> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <excludes> |
| <!--<exclude>**/*.properties</exclude>--> |
| <exclude>**/*.sh</exclude> |
| <exclude>**/*.cfg</exclude> |
| </excludes> |
| </resource> |
| </resources> |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| </testResource> |
| </testResources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.22.2</version> |
| <configuration> |
| <threadCount>15</threadCount> |
| <reuseForks>true</reuseForks> |
| <parallel>classes</parallel> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.8.1</version> |
| <configuration> |
| <showDeprecation>true</showDeprecation> |
| <annotationProcessorPaths> |
| <path> |
| <groupId>info.picocli</groupId> |
| <artifactId>picocli-codegen</artifactId> |
| <version>4.2.0</version> |
| </path> |
| </annotationProcessorPaths> |
| <compilerArgs> |
| <arg>-Aproject=${project.groupId}/${project.artifactId} |
| </arg> |
| </compilerArgs> |
| </configuration> |
| <executions> |
| <!-- Replacing default-compile as it is treated specially by maven --> |
| <execution> |
| <id>default-compile</id> |
| <phase>none</phase> |
| </execution> |
| <!-- Replacing default-testCompile as it is treated specially by |
| maven --> |
| <execution> |
| <id>default-testCompile</id> |
| <phase>none</phase> |
| </execution> |
| <execution> |
| <id>java-compile</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>java-test-compile</id> |
| <phase>test-compile</phase> |
| <goals> |
| <goal>testCompile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>3.0.0</version> |
| <configuration> |
| <excludeDefaultDirectories>true</excludeDefaultDirectories> |
| <filesets> |
| <fileset> |
| <directory>target</directory> |
| <includes> |
| <include>**</include> |
| </includes> |
| <excludes> |
| <exclude>generated-sources/jflex/**</exclude> |
| </excludes> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.2.0</version> |
| <executions> |
| <execution> |
| <id>default-jar</id> |
| <!-- use assembly plugin to build the jar --> |
| <phase>none</phase> |
| <configuration> |
| <finalName>unwanted</finalName> |
| <classifier>unwanted</classifier> |
| </configuration> |
| </execution> |
| </executions> |
| <configuration> |
| <archive> |
| <manifest> |
| <addClasspath>true</addClasspath> |
| <classpathPrefix>lib/</classpathPrefix> |
| <mainClass>de.ids_mannheim.korap.tokenizer.KorAPTokenizerImpl</mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>de.jflex</groupId> |
| <artifactId>jflex-maven-plugin</artifactId> |
| <version>1.8.2</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>3.3.0</version> |
| <configuration> |
| <appendAssemblyId>false</appendAssemblyId> |
| <descriptors> |
| <descriptor>src/assembly/src-distribution.xml</descriptor> |
| <descriptor>src/assembly/bin-distribution.xml</descriptor> |
| </descriptors> |
| <archive> |
| <manifest> |
| <mainClass>de.ids_mannheim.korap.tokenizer.KorAPTokenizerImpl</mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools --> |
| <dependency> |
| <groupId>org.apache.opennlp</groupId> |
| <artifactId>opennlp-tools</artifactId> |
| <version>1.9.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.22.2</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| </dependency> |
| <dependency> |
| <groupId>com.github.stephenc.jcip</groupId> |
| <artifactId>jcip-annotations</artifactId> |
| <version>1.0-1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |