Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 1 | <?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 Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 9 | <version>1.3-SNAPSHOT</version> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 10 | |
| 11 | <properties> |
| 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 13 | <jackson.version>[2.10.3,)</jackson.version> |
Marc Kupietz | b920f85 | 2020-09-08 14:36:01 +0200 | [diff] [blame] | 14 | <maven.compiler.target>1.8</maven.compiler.target> |
| 15 | <maven.compiler.source>1.8</maven.compiler.source> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 16 | </properties> |
| 17 | |
| 18 | <build> |
| 19 | <resources> |
| 20 | <resource> |
| 21 | <directory>src/main/resources</directory> |
| 22 | <excludes> |
| 23 | <!--<exclude>**/*.properties</exclude>--> |
| 24 | <exclude>**/*.sh</exclude> |
| 25 | <exclude>**/*.cfg</exclude> |
| 26 | </excludes> |
| 27 | </resource> |
| 28 | </resources> |
| 29 | <testResources> |
| 30 | <testResource> |
| 31 | <directory>src/test/resources</directory> |
| 32 | </testResource> |
| 33 | </testResources> |
| 34 | <plugins> |
| 35 | <plugin> |
Marc Kupietz | 67eed1c | 2020-09-28 21:37:16 +0200 | [diff] [blame] | 36 | <groupId>com.igormaznitsa</groupId> |
| 37 | <artifactId>jcp</artifactId> |
| 38 | <version>7.0.4</version> |
| 39 | <executions> |
| 40 | <execution> |
| 41 | <id>preprocess for de</id> |
| 42 | <phase>generate-sources</phase> |
| 43 | <goals> |
| 44 | <goal>preprocess</goal> |
| 45 | </goals> |
| 46 | <configuration> |
| 47 | <vars> |
| 48 | <target.language>de</target.language> |
| 49 | </vars> |
| 50 | <target>src/main/jflex/de</target> |
| 51 | </configuration> |
| 52 | </execution> |
| 53 | <execution> |
| 54 | <id>preprocess for en</id> |
| 55 | <phase>generate-sources</phase> |
| 56 | <goals> |
| 57 | <goal>preprocess</goal> |
| 58 | </goals> |
| 59 | <configuration> |
| 60 | <vars> |
| 61 | <target.language>en</target.language> |
| 62 | </vars> |
| 63 | <target>src/main/jflex/en</target> |
| 64 | </configuration> |
| 65 | </execution> |
Marc Kupietz | f5a7e04 | 2020-10-12 10:43:24 +0200 | [diff] [blame] | 66 | <execution> |
| 67 | <id>preprocess for fr</id> |
| 68 | <phase>generate-sources</phase> |
| 69 | <goals> |
| 70 | <goal>preprocess</goal> |
| 71 | </goals> |
| 72 | <configuration> |
| 73 | <vars> |
| 74 | <target.language>fr</target.language> |
| 75 | </vars> |
| 76 | <target>src/main/jflex/fr</target> |
| 77 | </configuration> |
| 78 | </execution> |
Marc Kupietz | 67eed1c | 2020-09-28 21:37:16 +0200 | [diff] [blame] | 79 | </executions> |
| 80 | <configuration> |
| 81 | <sources>src/main/jpc/jflex</sources> |
| 82 | <target>src/main/jflex</target> |
| 83 | <extensions> |
| 84 | <extension>jflex</extension> |
| 85 | </extensions> |
| 86 | <keepAttributes>true</keepAttributes> |
| 87 | <keepComments>false</keepComments> |
| 88 | <keepLines>true</keepLines> |
| 89 | <verbose>true</verbose> |
| 90 | <clearTarget>true</clearTarget> |
| 91 | <replaceSources>true</replaceSources> |
| 92 | <dontOverwriteSameContent>false</dontOverwriteSameContent> |
| 93 | <skip>false</skip> |
| 94 | </configuration> |
| 95 | </plugin> |
| 96 | <plugin> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 97 | <groupId>org.apache.maven.plugins</groupId> |
| 98 | <artifactId>maven-surefire-plugin</artifactId> |
| 99 | <version>2.22.2</version> |
| 100 | <configuration> |
| 101 | <threadCount>15</threadCount> |
| 102 | <reuseForks>true</reuseForks> |
| 103 | <parallel>classes</parallel> |
| 104 | </configuration> |
| 105 | </plugin> |
| 106 | <plugin> |
| 107 | <groupId>org.apache.maven.plugins</groupId> |
| 108 | <artifactId>maven-compiler-plugin</artifactId> |
| 109 | <version>3.8.1</version> |
| 110 | <configuration> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 111 | <showDeprecation>true</showDeprecation> |
| 112 | <annotationProcessorPaths> |
| 113 | <path> |
| 114 | <groupId>info.picocli</groupId> |
| 115 | <artifactId>picocli-codegen</artifactId> |
Marc Kupietz | 74141b3 | 2020-10-01 23:23:18 +0200 | [diff] [blame] | 116 | <version>4.5.1</version> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 117 | </path> |
| 118 | </annotationProcessorPaths> |
| 119 | <compilerArgs> |
| 120 | <arg>-Aproject=${project.groupId}/${project.artifactId} |
| 121 | </arg> |
| 122 | </compilerArgs> |
| 123 | </configuration> |
| 124 | <executions> |
| 125 | <!-- Replacing default-compile as it is treated specially by maven --> |
| 126 | <execution> |
| 127 | <id>default-compile</id> |
| 128 | <phase>none</phase> |
| 129 | </execution> |
| 130 | <!-- Replacing default-testCompile as it is treated specially by |
| 131 | maven --> |
| 132 | <execution> |
| 133 | <id>default-testCompile</id> |
| 134 | <phase>none</phase> |
| 135 | </execution> |
| 136 | <execution> |
| 137 | <id>java-compile</id> |
| 138 | <phase>compile</phase> |
| 139 | <goals> |
| 140 | <goal>compile</goal> |
| 141 | </goals> |
| 142 | </execution> |
| 143 | <execution> |
| 144 | <id>java-test-compile</id> |
| 145 | <phase>test-compile</phase> |
| 146 | <goals> |
| 147 | <goal>testCompile</goal> |
| 148 | </goals> |
| 149 | </execution> |
| 150 | </executions> |
| 151 | </plugin> |
| 152 | |
| 153 | <plugin> |
| 154 | <groupId>org.apache.maven.plugins</groupId> |
| 155 | <artifactId>maven-clean-plugin</artifactId> |
| 156 | <version>3.0.0</version> |
| 157 | <configuration> |
| 158 | <excludeDefaultDirectories>true</excludeDefaultDirectories> |
| 159 | <filesets> |
| 160 | <fileset> |
| 161 | <directory>target</directory> |
| 162 | <includes> |
| 163 | <include>**</include> |
| 164 | </includes> |
| 165 | <excludes> |
| 166 | <exclude>generated-sources/jflex/**</exclude> |
| 167 | </excludes> |
| 168 | </fileset> |
| 169 | </filesets> |
| 170 | </configuration> |
| 171 | </plugin> |
| 172 | <plugin> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 173 | <groupId>org.apache.maven.plugins</groupId> |
| 174 | <artifactId>maven-jar-plugin</artifactId> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 175 | <version>3.2.0</version> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 176 | <configuration> |
| 177 | <archive> |
| 178 | <manifest> |
| 179 | <addClasspath>true</addClasspath> |
| 180 | <classpathPrefix>lib/</classpathPrefix> |
Marc Kupietz | 751868b | 2020-09-25 17:59:38 +0200 | [diff] [blame] | 181 | <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 182 | </manifest> |
| 183 | </archive> |
| 184 | </configuration> |
| 185 | </plugin> |
| 186 | |
| 187 | <plugin> |
| 188 | <groupId>de.jflex</groupId> |
| 189 | <artifactId>jflex-maven-plugin</artifactId> |
| 190 | <version>1.8.2</version> |
| 191 | <executions> |
| 192 | <execution> |
| 193 | <goals> |
| 194 | <goal>generate</goal> |
| 195 | </goals> |
| 196 | </execution> |
| 197 | </executions> |
| 198 | </plugin> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 199 | |
| 200 | <plugin> |
| 201 | <groupId>org.apache.maven.plugins</groupId> |
| 202 | <artifactId>maven-assembly-plugin</artifactId> |
| 203 | <version>3.3.0</version> |
| 204 | <configuration> |
Marc Kupietz | f4df712 | 2020-09-14 10:23:53 +0200 | [diff] [blame] | 205 | <appendAssemblyId>true</appendAssemblyId> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 206 | <descriptors> |
| 207 | <descriptor>src/assembly/src-distribution.xml</descriptor> |
| 208 | <descriptor>src/assembly/bin-distribution.xml</descriptor> |
| 209 | </descriptors> |
| 210 | <archive> |
| 211 | <manifest> |
Marc Kupietz | 751868b | 2020-09-25 17:59:38 +0200 | [diff] [blame] | 212 | <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 213 | </manifest> |
| 214 | </archive> |
| 215 | </configuration> |
| 216 | <executions> |
| 217 | <execution> |
| 218 | <id>make-assembly</id> |
| 219 | <phase>package</phase> |
| 220 | <goals> |
| 221 | <goal>single</goal> |
| 222 | </goals> |
| 223 | </execution> |
| 224 | </executions> |
| 225 | </plugin> |
Marc Kupietz | f4df712 | 2020-09-14 10:23:53 +0200 | [diff] [blame] | 226 | <plugin> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 227 | <groupId>org.codehaus.mojo</groupId> |
| 228 | <artifactId>appassembler-maven-plugin</artifactId> |
| 229 | <version>1.10</version> |
| 230 | <executions> |
| 231 | <execution> |
| 232 | <phase>package</phase> |
| 233 | <goals> |
| 234 | <goal>assemble</goal> |
| 235 | </goals> |
| 236 | </execution> |
| 237 | </executions> |
| 238 | <configuration> |
| 239 | <binFolder>bin</binFolder> |
| 240 | <binFileExtensions> |
| 241 | <unix></unix> |
| 242 | </binFileExtensions> |
| 243 | <programs> |
| 244 | <program> |
Marc Kupietz | 751868b | 2020-09-25 17:59:38 +0200 | [diff] [blame] | 245 | <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 246 | <id>koraptokenizer</id> |
| 247 | </program> |
| 248 | </programs> |
| 249 | </configuration> |
| 250 | </plugin> |
| 251 | |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 252 | </plugins> |
| 253 | </build> |
| 254 | |
| 255 | <dependencies> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 256 | <dependency> |
| 257 | <groupId>info.picocli</groupId> |
| 258 | <artifactId>picocli</artifactId> |
Marc Kupietz | 74141b3 | 2020-10-01 23:23:18 +0200 | [diff] [blame] | 259 | <version>4.5.1</version> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 260 | </dependency> |
| 261 | |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 262 | <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools --> |
| 263 | <dependency> |
| 264 | <groupId>org.apache.opennlp</groupId> |
| 265 | <artifactId>opennlp-tools</artifactId> |
| 266 | <version>1.9.3</version> |
| 267 | </dependency> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 268 | <dependency> |
| 269 | <groupId>org.apache.maven.plugins</groupId> |
| 270 | <artifactId>maven-surefire-plugin</artifactId> |
| 271 | <version>2.22.2</version> |
| 272 | </dependency> |
| 273 | <dependency> |
| 274 | <groupId>junit</groupId> |
| 275 | <artifactId>junit</artifactId> |
| 276 | <version>4.11</version> |
| 277 | </dependency> |
Marc Kupietz | 793f85d | 2020-09-08 14:40:24 +0200 | [diff] [blame] | 278 | <dependency> |
| 279 | <groupId>com.github.stephenc.jcip</groupId> |
| 280 | <artifactId>jcip-annotations</artifactId> |
| 281 | <version>1.0-1</version> |
| 282 | <scope>test</scope> |
| 283 | </dependency> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 284 | <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin --> |
| 285 | <dependency> |
| 286 | <groupId>org.codehaus.mojo</groupId> |
| 287 | <artifactId>appassembler-maven-plugin</artifactId> |
| 288 | <version>2.1.0</version> |
| 289 | </dependency> |
Marc Kupietz | 751868b | 2020-09-25 17:59:38 +0200 | [diff] [blame] | 290 | <dependency> |
| 291 | <groupId>org.jetbrains</groupId> |
| 292 | <artifactId>annotations</artifactId> |
| 293 | <version>RELEASE</version> |
| 294 | <scope>compile</scope> |
| 295 | </dependency> |
Marc Kupietz | 67eed1c | 2020-09-28 21:37:16 +0200 | [diff] [blame] | 296 | <!-- https://mvnrepository.com/artifact/com.igormaznitsa/jcp --> |
| 297 | <dependency> |
| 298 | <groupId>com.igormaznitsa</groupId> |
| 299 | <artifactId>jcp</artifactId> |
| 300 | <version>7.0.4</version> |
| 301 | </dependency> |
Marc Kupietz | 5c6df03 | 2020-09-29 22:19:38 +0200 | [diff] [blame] | 302 | <dependency> |
| 303 | <groupId>io.github.classgraph</groupId> |
| 304 | <artifactId>classgraph</artifactId> |
| 305 | <version>4.8.90</version> |
| 306 | </dependency> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 307 | </dependencies> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 308 | </project> |