| <?xml version="1.0" encoding="UTF-8"?> |
| <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> |
| <packaging>jar</packaging> |
| |
| <groupId>de.ids-mannheim.korap.tokenizer</groupId> |
| <artifactId>KorAP-Tokenizer</artifactId> |
| <version>2.2.5</version> |
| |
| <name>KorAP-Tokenizer</name> |
| <description>DFA tokenizer with character offset output, large abbreviation tables and CMC support.</description> |
| <url>https://github.com/KorAP/KorAP-Tokenizer</url> |
| |
| <organization> |
| <name>Leibniz-Institut für Deutsche Sprache</name> |
| <url>https://www.ids-mannheim.de</url> |
| </organization> |
| |
| <developers> |
| <developer> |
| <id>kupietz</id> |
| <name>Marc Kupietz</name> |
| <email>kupietz@ids-mannheim.de</email> |
| </developer> |
| <developer> |
| <id>diewald</id> |
| <name>Nils Diewald</name> |
| <email>diewald@ids-mannheim.de</email> |
| </developer> |
| </developers> |
| |
| <scm> |
| <connection>scm:git:https://korap.ids-mannheim.de/gerrit/KorAP/KorAP-Tokenizer</connection> |
| <developerConnection>scm:git:ssh://kupietz@korap.ids-mannheim.de:29418/KorAP/KorAP-Tokenizer</developerConnection> |
| <url>https://github.com/KorAP/KorAP-Tokenizer</url> |
| <tag>KorAP-Tokenizer-2.2.5</tag> |
| </scm> |
| |
| <licenses> |
| <license> |
| <name>Apache License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| |
| <distributionManagement> |
| <snapshotRepository> |
| <id>ossrh</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| </snapshotRepository> |
| <repository> |
| <id>ossrh</id> |
| <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| </repository> |
| </distributionManagement> |
| |
| <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>com.igormaznitsa</groupId> |
| <artifactId>jcp</artifactId> |
| <version>7.0.5</version> |
| <executions> |
| <execution> |
| <id>preprocess for de</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>preprocess</goal> |
| </goals> |
| <configuration> |
| <vars> |
| <target.language>de</target.language> |
| </vars> |
| <target>src/main/jflex/de</target> |
| </configuration> |
| </execution> |
| <execution> |
| <id>preprocess for en</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>preprocess</goal> |
| </goals> |
| <configuration> |
| <vars> |
| <target.language>en</target.language> |
| </vars> |
| <target>src/main/jflex/en</target> |
| </configuration> |
| </execution> |
| <execution> |
| <id>preprocess for fr</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>preprocess</goal> |
| </goals> |
| <configuration> |
| <vars> |
| <target.language>fr</target.language> |
| </vars> |
| <target>src/main/jflex/fr</target> |
| </configuration> |
| </execution> |
| </executions> |
| <configuration> |
| <sources>src/main/jpc/jflex</sources> |
| <target>src/main/jflex</target> |
| <extensions> |
| <extension>jflex</extension> |
| </extensions> |
| <keepAttributes>true</keepAttributes> |
| <keepComments>false</keepComments> |
| <keepLines>true</keepLines> |
| <verbose>true</verbose> |
| <clearTarget>true</clearTarget> |
| <replaceSources>true</replaceSources> |
| <dontOverwriteSameContent>false</dontOverwriteSameContent> |
| <skip>false</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>3.1.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.11.0</version> |
| <configuration> |
| <release>17</release> |
| <showDeprecation>true</showDeprecation> |
| <annotationProcessorPaths> |
| <path> |
| <groupId>info.picocli</groupId> |
| <artifactId>picocli-codegen</artifactId> |
| <version>4.7.5</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-jar-plugin</artifactId> |
| <version>3.3.0</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <addClasspath>true</addClasspath> |
| <classpathPrefix>lib/</classpathPrefix> |
| <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>de.jflex</groupId> |
| <artifactId>jflex-maven-plugin</artifactId> |
| <version>1.9.1</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.6.0</version> |
| <configuration> |
| <appendAssemblyId>true</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.Main</mainClass> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>appassembler-maven-plugin</artifactId> |
| <version>2.1.0</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>assemble</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <binFolder>bin</binFolder> |
| <binFileExtensions> |
| <unix /> |
| </binFileExtensions> |
| <programs> |
| <program> |
| <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass> |
| <id>koraptokenizer</id> |
| </program> |
| </programs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>3.6.0</version> |
| <executions> |
| <execution> |
| <id>analyze</id> |
| <goals> |
| <goal>analyze-only</goal> |
| </goals> |
| <configuration> |
| <failOnWarning>true</failOnWarning> |
| <outputXML>true</outputXML> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>3.5.0</version> |
| <configuration> |
| <doclint>all,-missing</doclint> |
| <tags> |
| <tag> |
| <name>apiNote</name> |
| <placement>a</placement> |
| <head>API Note:</head> |
| </tag> |
| </tags> |
| </configuration> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <phase>package</phase> |
| <goals> |
| <goal>aggregate-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>3.1.0</version> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>info.picocli</groupId> |
| <artifactId>picocli</artifactId> |
| <version>4.7.5</version> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools --> |
| <dependency> |
| <groupId>org.apache.opennlp</groupId> |
| <artifactId>opennlp-tools</artifactId> |
| <version>2.3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.13.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.github.classgraph</groupId> |
| <artifactId>classgraph</artifactId> |
| <version>4.8.162</version> |
| </dependency> |
| </dependencies> |
| </project> |