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 | 72cc171 | 2020-12-09 12:05:35 +0100 | [diff] [blame] | 9 | <version>2.0.0</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> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 13 | </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 Kupietz | 67eed1c | 2020-09-28 21:37:16 +0200 | [diff] [blame] | 33 | <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 Kupietz | f5a7e04 | 2020-10-12 10:43:24 +0200 | [diff] [blame] | 63 | <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 Kupietz | 67eed1c | 2020-09-28 21:37:16 +0200 | [diff] [blame] | 76 | </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 Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 94 | <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 Kupietz | f2d1ffc | 2020-12-09 10:39:56 +0100 | [diff] [blame] | 108 | <source>1.8</source> |
| 109 | <target>1.8</target> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 110 | <showDeprecation>true</showDeprecation> |
| 111 | <annotationProcessorPaths> |
| 112 | <path> |
| 113 | <groupId>info.picocli</groupId> |
| 114 | <artifactId>picocli-codegen</artifactId> |
Marc Kupietz | 74141b3 | 2020-10-01 23:23:18 +0200 | [diff] [blame] | 115 | <version>4.5.1</version> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 116 | </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 Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 154 | <artifactId>maven-jar-plugin</artifactId> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 155 | <version>3.2.0</version> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 156 | <configuration> |
| 157 | <archive> |
| 158 | <manifest> |
| 159 | <addClasspath>true</addClasspath> |
| 160 | <classpathPrefix>lib/</classpathPrefix> |
Marc Kupietz | 751868b | 2020-09-25 17:59:38 +0200 | [diff] [blame] | 161 | <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 162 | </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 Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 179 | |
| 180 | <plugin> |
| 181 | <groupId>org.apache.maven.plugins</groupId> |
| 182 | <artifactId>maven-assembly-plugin</artifactId> |
| 183 | <version>3.3.0</version> |
| 184 | <configuration> |
Marc Kupietz | f4df712 | 2020-09-14 10:23:53 +0200 | [diff] [blame] | 185 | <appendAssemblyId>true</appendAssemblyId> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 186 | <descriptors> |
| 187 | <descriptor>src/assembly/src-distribution.xml</descriptor> |
| 188 | <descriptor>src/assembly/bin-distribution.xml</descriptor> |
| 189 | </descriptors> |
| 190 | <archive> |
| 191 | <manifest> |
Marc Kupietz | 751868b | 2020-09-25 17:59:38 +0200 | [diff] [blame] | 192 | <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 193 | </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 Kupietz | f4df712 | 2020-09-14 10:23:53 +0200 | [diff] [blame] | 206 | <plugin> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 207 | <groupId>org.codehaus.mojo</groupId> |
| 208 | <artifactId>appassembler-maven-plugin</artifactId> |
dependabot[bot] | af0b2b9 | 2020-12-09 08:13:16 +0000 | [diff] [blame] | 209 | <version>2.1.0</version> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 210 | <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 Kupietz | 751868b | 2020-09-25 17:59:38 +0200 | [diff] [blame] | 225 | <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 226 | <id>koraptokenizer</id> |
| 227 | </program> |
| 228 | </programs> |
| 229 | </configuration> |
| 230 | </plugin> |
Marc Kupietz | 45d2dba | 2020-10-13 19:13:35 +0200 | [diff] [blame] | 231 | <plugin> |
| 232 | <artifactId>maven-dependency-plugin</artifactId> |
dependabot[bot] | 22e9091 | 2020-12-09 08:13:14 +0000 | [diff] [blame] | 233 | <version>3.1.2</version> |
Marc Kupietz | 45d2dba | 2020-10-13 19:13:35 +0200 | [diff] [blame] | 234 | <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 Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 247 | </plugins> |
| 248 | </build> |
| 249 | |
| 250 | <dependencies> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 251 | <dependency> |
| 252 | <groupId>info.picocli</groupId> |
| 253 | <artifactId>picocli</artifactId> |
dependabot[bot] | 2d00822 | 2020-12-09 08:13:16 +0000 | [diff] [blame] | 254 | <version>4.5.2</version> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 255 | </dependency> |
| 256 | |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 257 | <!-- 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 Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 263 | <dependency> |
Marc Kupietz | 45d2dba | 2020-10-13 19:13:35 +0200 | [diff] [blame] | 264 | <groupId>org.apache.maven.surefire</groupId> |
| 265 | <artifactId>maven-surefire-common</artifactId> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 266 | <version>2.22.2</version> |
| 267 | </dependency> |
| 268 | <dependency> |
| 269 | <groupId>junit</groupId> |
| 270 | <artifactId>junit</artifactId> |
dependabot[bot] | 52dd64d | 2021-02-15 07:28:02 +0000 | [diff] [blame] | 271 | <version>4.13.2</version> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 272 | </dependency> |
Marc Kupietz | 793f85d | 2020-09-08 14:40:24 +0200 | [diff] [blame] | 273 | <dependency> |
Marc Kupietz | 5c6df03 | 2020-09-29 22:19:38 +0200 | [diff] [blame] | 274 | <groupId>io.github.classgraph</groupId> |
| 275 | <artifactId>classgraph</artifactId> |
dependabot[bot] | a0188f3 | 2021-01-28 06:49:34 +0000 | [diff] [blame^] | 276 | <version>4.8.102</version> |
Marc Kupietz | 5c6df03 | 2020-09-29 22:19:38 +0200 | [diff] [blame] | 277 | </dependency> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 278 | </dependencies> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 279 | </project> |