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