blob: 75fec46867d52d1f1974e6e4ad8d7b6e08fb8c9a [file] [log] [blame]
Marc Kupietz33677732020-09-04 22:07:39 +02001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns="http://maven.apache.org/POM/4.0.0"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6
7 <groupId>groupId</groupId>
8 <artifactId>KorAP-Tokenizer</artifactId>
9 <version>1.2-SNAPSHOT</version>
10
11 <properties>
12 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13 <jackson.version>[2.10.3,)</jackson.version>
14 </properties>
15
16 <build>
17 <resources>
18 <resource>
19 <directory>src/main/resources</directory>
20 <excludes>
21 <!--<exclude>**/*.properties</exclude>-->
22 <exclude>**/*.sh</exclude>
23 <exclude>**/*.cfg</exclude>
24 </excludes>
25 </resource>
26 </resources>
27 <testResources>
28 <testResource>
29 <directory>src/test/resources</directory>
30 </testResource>
31 </testResources>
32 <plugins>
33 <plugin>
34 <groupId>org.apache.maven.plugins</groupId>
35 <artifactId>maven-surefire-plugin</artifactId>
36 <version>2.22.2</version>
37 <configuration>
38 <threadCount>15</threadCount>
39 <reuseForks>true</reuseForks>
40 <parallel>classes</parallel>
41 </configuration>
42 </plugin>
43 <plugin>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-compiler-plugin</artifactId>
46 <version>3.8.1</version>
47 <configuration>
48 <!-- or whatever version you use -->
49 <release>${maven.compiler.release}</release>
50 <source>${maven.compiler.release}</source>
51 <target>${maven.compiler.release}</target>
52 <showDeprecation>true</showDeprecation>
53 <annotationProcessorPaths>
54 <path>
55 <groupId>info.picocli</groupId>
56 <artifactId>picocli-codegen</artifactId>
57 <version>4.2.0</version>
58 </path>
59 </annotationProcessorPaths>
60 <compilerArgs>
61 <arg>-Aproject=${project.groupId}/${project.artifactId}
62 </arg>
63 </compilerArgs>
64 </configuration>
65 <executions>
66 <!-- Replacing default-compile as it is treated specially by maven -->
67 <execution>
68 <id>default-compile</id>
69 <phase>none</phase>
70 </execution>
71 <!-- Replacing default-testCompile as it is treated specially by
72 maven -->
73 <execution>
74 <id>default-testCompile</id>
75 <phase>none</phase>
76 </execution>
77 <execution>
78 <id>java-compile</id>
79 <phase>compile</phase>
80 <goals>
81 <goal>compile</goal>
82 </goals>
83 </execution>
84 <execution>
85 <id>java-test-compile</id>
86 <phase>test-compile</phase>
87 <goals>
88 <goal>testCompile</goal>
89 </goals>
90 </execution>
91 </executions>
92 </plugin>
93
94 <plugin>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-clean-plugin</artifactId>
97 <version>3.0.0</version>
98 <configuration>
99 <excludeDefaultDirectories>true</excludeDefaultDirectories>
100 <filesets>
101 <fileset>
102 <directory>target</directory>
103 <includes>
104 <include>**</include>
105 </includes>
106 <excludes>
107 <exclude>generated-sources/jflex/**</exclude>
108 </excludes>
109 </fileset>
110 </filesets>
111 </configuration>
112 </plugin>
113 <plugin>
114 <!-- Build an executable JAR -->
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-jar-plugin</artifactId>
117 <version>3.1.0</version>
118 <configuration>
119 <archive>
120 <manifest>
121 <addClasspath>true</addClasspath>
122 <classpathPrefix>lib/</classpathPrefix>
123 <mainClass>de.ids_mannheim.korap.tokenizer.KorAPTokenizerImpl</mainClass>
124 </manifest>
125 </archive>
126 </configuration>
127 </plugin>
128
129 <plugin>
130 <groupId>de.jflex</groupId>
131 <artifactId>jflex-maven-plugin</artifactId>
132 <version>1.8.2</version>
133 <executions>
134 <execution>
135 <goals>
136 <goal>generate</goal>
137 </goals>
138 </execution>
139 </executions>
140 </plugin>
141 </plugins>
142 </build>
143
144 <dependencies>
145 <dependency>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-surefire-plugin</artifactId>
148 <version>2.22.2</version>
149 </dependency>
150 <dependency>
151 <groupId>junit</groupId>
152 <artifactId>junit</artifactId>
153 <version>4.11</version>
154 </dependency>
155 </dependencies>
156
157</project>