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 | 755a150 | 2020-10-14 16:02:28 +0200 | [diff] [blame^] | 9 | <version>2.0.0-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> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 155 | <artifactId>maven-jar-plugin</artifactId> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 156 | <version>3.2.0</version> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 157 | <configuration> |
| 158 | <archive> |
| 159 | <manifest> |
| 160 | <addClasspath>true</addClasspath> |
| 161 | <classpathPrefix>lib/</classpathPrefix> |
Marc Kupietz | 751868b | 2020-09-25 17:59:38 +0200 | [diff] [blame] | 162 | <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 163 | </manifest> |
| 164 | </archive> |
| 165 | </configuration> |
| 166 | </plugin> |
| 167 | |
| 168 | <plugin> |
| 169 | <groupId>de.jflex</groupId> |
| 170 | <artifactId>jflex-maven-plugin</artifactId> |
| 171 | <version>1.8.2</version> |
| 172 | <executions> |
| 173 | <execution> |
| 174 | <goals> |
| 175 | <goal>generate</goal> |
| 176 | </goals> |
| 177 | </execution> |
| 178 | </executions> |
| 179 | </plugin> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 180 | |
| 181 | <plugin> |
| 182 | <groupId>org.apache.maven.plugins</groupId> |
| 183 | <artifactId>maven-assembly-plugin</artifactId> |
| 184 | <version>3.3.0</version> |
| 185 | <configuration> |
Marc Kupietz | f4df712 | 2020-09-14 10:23:53 +0200 | [diff] [blame] | 186 | <appendAssemblyId>true</appendAssemblyId> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 187 | <descriptors> |
| 188 | <descriptor>src/assembly/src-distribution.xml</descriptor> |
| 189 | <descriptor>src/assembly/bin-distribution.xml</descriptor> |
| 190 | </descriptors> |
| 191 | <archive> |
| 192 | <manifest> |
Marc Kupietz | 751868b | 2020-09-25 17:59:38 +0200 | [diff] [blame] | 193 | <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 194 | </manifest> |
| 195 | </archive> |
| 196 | </configuration> |
| 197 | <executions> |
| 198 | <execution> |
| 199 | <id>make-assembly</id> |
| 200 | <phase>package</phase> |
| 201 | <goals> |
| 202 | <goal>single</goal> |
| 203 | </goals> |
| 204 | </execution> |
| 205 | </executions> |
| 206 | </plugin> |
Marc Kupietz | f4df712 | 2020-09-14 10:23:53 +0200 | [diff] [blame] | 207 | <plugin> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 208 | <groupId>org.codehaus.mojo</groupId> |
| 209 | <artifactId>appassembler-maven-plugin</artifactId> |
| 210 | <version>1.10</version> |
| 211 | <executions> |
| 212 | <execution> |
| 213 | <phase>package</phase> |
| 214 | <goals> |
| 215 | <goal>assemble</goal> |
| 216 | </goals> |
| 217 | </execution> |
| 218 | </executions> |
| 219 | <configuration> |
| 220 | <binFolder>bin</binFolder> |
| 221 | <binFileExtensions> |
| 222 | <unix></unix> |
| 223 | </binFileExtensions> |
| 224 | <programs> |
| 225 | <program> |
Marc Kupietz | 751868b | 2020-09-25 17:59:38 +0200 | [diff] [blame] | 226 | <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 227 | <id>koraptokenizer</id> |
| 228 | </program> |
| 229 | </programs> |
| 230 | </configuration> |
| 231 | </plugin> |
Marc Kupietz | 45d2dba | 2020-10-13 19:13:35 +0200 | [diff] [blame] | 232 | <plugin> |
| 233 | <artifactId>maven-dependency-plugin</artifactId> |
| 234 | <version>2.8</version> |
| 235 | <executions> |
| 236 | <execution> |
| 237 | <id>analyze</id> |
| 238 | <goals> |
| 239 | <goal>analyze-only</goal> |
| 240 | </goals> |
| 241 | <configuration> |
| 242 | <failOnWarning>true</failOnWarning> |
| 243 | <outputXML>true</outputXML> |
| 244 | </configuration> |
| 245 | </execution> |
| 246 | </executions> |
| 247 | </plugin> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 248 | </plugins> |
| 249 | </build> |
| 250 | |
| 251 | <dependencies> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 252 | <dependency> |
| 253 | <groupId>info.picocli</groupId> |
| 254 | <artifactId>picocli</artifactId> |
Marc Kupietz | 74141b3 | 2020-10-01 23:23:18 +0200 | [diff] [blame] | 255 | <version>4.5.1</version> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame] | 256 | </dependency> |
| 257 | |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 258 | <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools --> |
| 259 | <dependency> |
| 260 | <groupId>org.apache.opennlp</groupId> |
| 261 | <artifactId>opennlp-tools</artifactId> |
| 262 | <version>1.9.3</version> |
| 263 | </dependency> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 264 | <dependency> |
Marc Kupietz | 45d2dba | 2020-10-13 19:13:35 +0200 | [diff] [blame] | 265 | <groupId>org.apache.maven.surefire</groupId> |
| 266 | <artifactId>maven-surefire-common</artifactId> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 267 | <version>2.22.2</version> |
| 268 | </dependency> |
| 269 | <dependency> |
| 270 | <groupId>junit</groupId> |
| 271 | <artifactId>junit</artifactId> |
Marc Kupietz | a13fd5d | 2020-10-13 18:01:03 +0200 | [diff] [blame] | 272 | <version>4.13.1</version> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 273 | </dependency> |
Marc Kupietz | 793f85d | 2020-09-08 14:40:24 +0200 | [diff] [blame] | 274 | <dependency> |
Marc Kupietz | 5c6df03 | 2020-09-29 22:19:38 +0200 | [diff] [blame] | 275 | <groupId>io.github.classgraph</groupId> |
| 276 | <artifactId>classgraph</artifactId> |
| 277 | <version>4.8.90</version> |
| 278 | </dependency> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 279 | </dependencies> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 280 | </project> |