blob: 7d28ec4086ed8be9683ac35d2beafe08d34e4a58 [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>
Marc Kupietza1459222021-07-16 17:48:45 +02009 <version>2.1.0.9000</version>
Marc Kupietz33677732020-09-04 22:07:39 +020010
11 <properties>
12 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Marc Kupietz33677732020-09-04 22:07:39 +020013 </properties>
14
15 <build>
16 <resources>
17 <resource>
18 <directory>src/main/resources</directory>
19 <excludes>
20 <!--<exclude>**/*.properties</exclude>-->
21 <exclude>**/*.sh</exclude>
22 <exclude>**/*.cfg</exclude>
23 </excludes>
24 </resource>
25 </resources>
26 <testResources>
27 <testResource>
28 <directory>src/test/resources</directory>
29 </testResource>
30 </testResources>
31 <plugins>
32 <plugin>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020033 <groupId>com.igormaznitsa</groupId>
34 <artifactId>jcp</artifactId>
35 <version>7.0.4</version>
36 <executions>
37 <execution>
38 <id>preprocess for de</id>
39 <phase>generate-sources</phase>
40 <goals>
41 <goal>preprocess</goal>
42 </goals>
43 <configuration>
44 <vars>
45 <target.language>de</target.language>
46 </vars>
47 <target>src/main/jflex/de</target>
48 </configuration>
49 </execution>
50 <execution>
51 <id>preprocess for en</id>
52 <phase>generate-sources</phase>
53 <goals>
54 <goal>preprocess</goal>
55 </goals>
56 <configuration>
57 <vars>
58 <target.language>en</target.language>
59 </vars>
60 <target>src/main/jflex/en</target>
61 </configuration>
62 </execution>
Marc Kupietzf5a7e042020-10-12 10:43:24 +020063 <execution>
64 <id>preprocess for fr</id>
65 <phase>generate-sources</phase>
66 <goals>
67 <goal>preprocess</goal>
68 </goals>
69 <configuration>
70 <vars>
71 <target.language>fr</target.language>
72 </vars>
73 <target>src/main/jflex/fr</target>
74 </configuration>
75 </execution>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020076 </executions>
77 <configuration>
78 <sources>src/main/jpc/jflex</sources>
79 <target>src/main/jflex</target>
80 <extensions>
81 <extension>jflex</extension>
82 </extensions>
83 <keepAttributes>true</keepAttributes>
84 <keepComments>false</keepComments>
85 <keepLines>true</keepLines>
86 <verbose>true</verbose>
87 <clearTarget>true</clearTarget>
88 <replaceSources>true</replaceSources>
89 <dontOverwriteSameContent>false</dontOverwriteSameContent>
90 <skip>false</skip>
91 </configuration>
92 </plugin>
93 <plugin>
Marc Kupietz33677732020-09-04 22:07:39 +020094 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-surefire-plugin</artifactId>
96 <version>2.22.2</version>
97 <configuration>
98 <threadCount>15</threadCount>
99 <reuseForks>true</reuseForks>
100 <parallel>classes</parallel>
101 </configuration>
102 </plugin>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-compiler-plugin</artifactId>
106 <version>3.8.1</version>
107 <configuration>
Marc Kupietzf2d1ffc2020-12-09 10:39:56 +0100108 <source>1.8</source>
109 <target>1.8</target>
Marc Kupietz33677732020-09-04 22:07:39 +0200110 <showDeprecation>true</showDeprecation>
111 <annotationProcessorPaths>
112 <path>
113 <groupId>info.picocli</groupId>
114 <artifactId>picocli-codegen</artifactId>
Marc Kupietz74141b32020-10-01 23:23:18 +0200115 <version>4.5.1</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200116 </path>
117 </annotationProcessorPaths>
118 <compilerArgs>
119 <arg>-Aproject=${project.groupId}/${project.artifactId}
120 </arg>
121 </compilerArgs>
122 </configuration>
123 <executions>
124 <!-- Replacing default-compile as it is treated specially by maven -->
125 <execution>
126 <id>default-compile</id>
127 <phase>none</phase>
128 </execution>
129 <!-- Replacing default-testCompile as it is treated specially by
130 maven -->
131 <execution>
132 <id>default-testCompile</id>
133 <phase>none</phase>
134 </execution>
135 <execution>
136 <id>java-compile</id>
137 <phase>compile</phase>
138 <goals>
139 <goal>compile</goal>
140 </goals>
141 </execution>
142 <execution>
143 <id>java-test-compile</id>
144 <phase>test-compile</phase>
145 <goals>
146 <goal>testCompile</goal>
147 </goals>
148 </execution>
149 </executions>
150 </plugin>
151
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +0200154 <artifactId>maven-jar-plugin</artifactId>
Marc Kupietz81925092020-09-07 15:16:51 +0200155 <version>3.2.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200156 <configuration>
157 <archive>
158 <manifest>
159 <addClasspath>true</addClasspath>
160 <classpathPrefix>lib/</classpathPrefix>
Marc Kupietz751868b2020-09-25 17:59:38 +0200161 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietz33677732020-09-04 22:07:39 +0200162 </manifest>
163 </archive>
164 </configuration>
165 </plugin>
166
167 <plugin>
168 <groupId>de.jflex</groupId>
169 <artifactId>jflex-maven-plugin</artifactId>
170 <version>1.8.2</version>
171 <executions>
172 <execution>
173 <goals>
174 <goal>generate</goal>
175 </goals>
176 </execution>
177 </executions>
178 </plugin>
Marc Kupietz81925092020-09-07 15:16:51 +0200179
180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-assembly-plugin</artifactId>
183 <version>3.3.0</version>
184 <configuration>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200185 <appendAssemblyId>true</appendAssemblyId>
Marc Kupietz81925092020-09-07 15:16:51 +0200186 <descriptors>
187 <descriptor>src/assembly/src-distribution.xml</descriptor>
188 <descriptor>src/assembly/bin-distribution.xml</descriptor>
189 </descriptors>
190 <archive>
191 <manifest>
Marc Kupietz751868b2020-09-25 17:59:38 +0200192 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietz81925092020-09-07 15:16:51 +0200193 </manifest>
194 </archive>
195 </configuration>
196 <executions>
197 <execution>
198 <id>make-assembly</id>
199 <phase>package</phase>
200 <goals>
201 <goal>single</goal>
202 </goals>
203 </execution>
204 </executions>
205 </plugin>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200206 <plugin>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200207 <groupId>org.codehaus.mojo</groupId>
208 <artifactId>appassembler-maven-plugin</artifactId>
dependabot[bot]af0b2b92020-12-09 08:13:16 +0000209 <version>2.1.0</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200210 <executions>
211 <execution>
212 <phase>package</phase>
213 <goals>
214 <goal>assemble</goal>
215 </goals>
216 </execution>
217 </executions>
218 <configuration>
219 <binFolder>bin</binFolder>
220 <binFileExtensions>
221 <unix></unix>
222 </binFileExtensions>
223 <programs>
224 <program>
Marc Kupietz751868b2020-09-25 17:59:38 +0200225 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200226 <id>koraptokenizer</id>
227 </program>
228 </programs>
229 </configuration>
230 </plugin>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200231 <plugin>
232 <artifactId>maven-dependency-plugin</artifactId>
dependabot[bot]22e90912020-12-09 08:13:14 +0000233 <version>3.1.2</version>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200234 <executions>
235 <execution>
236 <id>analyze</id>
237 <goals>
238 <goal>analyze-only</goal>
239 </goals>
240 <configuration>
241 <failOnWarning>true</failOnWarning>
242 <outputXML>true</outputXML>
243 </configuration>
244 </execution>
245 </executions>
246 </plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200247 </plugins>
248 </build>
249
250 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200251 <dependency>
252 <groupId>info.picocli</groupId>
253 <artifactId>picocli</artifactId>
dependabot[bot]6bf46822021-01-04 08:03:16 +0000254 <version>4.6.1</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200255 </dependency>
256
Marc Kupietz81925092020-09-07 15:16:51 +0200257 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
258 <dependency>
259 <groupId>org.apache.opennlp</groupId>
260 <artifactId>opennlp-tools</artifactId>
261 <version>1.9.3</version>
262 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200263 <dependency>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200264 <groupId>org.apache.maven.surefire</groupId>
265 <artifactId>maven-surefire-common</artifactId>
Marc Kupietz33677732020-09-04 22:07:39 +0200266 <version>2.22.2</version>
267 </dependency>
268 <dependency>
269 <groupId>junit</groupId>
270 <artifactId>junit</artifactId>
dependabot[bot]52dd64d2021-02-15 07:28:02 +0000271 <version>4.13.2</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200272 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200273 <dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200274 <groupId>io.github.classgraph</groupId>
275 <artifactId>classgraph</artifactId>
dependabot[bot]9ead9362021-06-07 06:49:46 +0000276 <version>4.8.108</version>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200277 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200278 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200279</project>