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> |
| 36 | <groupId>org.apache.maven.plugins</groupId> |
| 37 | <artifactId>maven-surefire-plugin</artifactId> |
| 38 | <version>2.22.2</version> |
| 39 | <configuration> |
| 40 | <threadCount>15</threadCount> |
| 41 | <reuseForks>true</reuseForks> |
| 42 | <parallel>classes</parallel> |
| 43 | </configuration> |
| 44 | </plugin> |
| 45 | <plugin> |
| 46 | <groupId>org.apache.maven.plugins</groupId> |
| 47 | <artifactId>maven-compiler-plugin</artifactId> |
| 48 | <version>3.8.1</version> |
| 49 | <configuration> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 50 | <showDeprecation>true</showDeprecation> |
| 51 | <annotationProcessorPaths> |
| 52 | <path> |
| 53 | <groupId>info.picocli</groupId> |
| 54 | <artifactId>picocli-codegen</artifactId> |
| 55 | <version>4.2.0</version> |
| 56 | </path> |
| 57 | </annotationProcessorPaths> |
| 58 | <compilerArgs> |
| 59 | <arg>-Aproject=${project.groupId}/${project.artifactId} |
| 60 | </arg> |
| 61 | </compilerArgs> |
| 62 | </configuration> |
| 63 | <executions> |
| 64 | <!-- Replacing default-compile as it is treated specially by maven --> |
| 65 | <execution> |
| 66 | <id>default-compile</id> |
| 67 | <phase>none</phase> |
| 68 | </execution> |
| 69 | <!-- Replacing default-testCompile as it is treated specially by |
| 70 | maven --> |
| 71 | <execution> |
| 72 | <id>default-testCompile</id> |
| 73 | <phase>none</phase> |
| 74 | </execution> |
| 75 | <execution> |
| 76 | <id>java-compile</id> |
| 77 | <phase>compile</phase> |
| 78 | <goals> |
| 79 | <goal>compile</goal> |
| 80 | </goals> |
| 81 | </execution> |
| 82 | <execution> |
| 83 | <id>java-test-compile</id> |
| 84 | <phase>test-compile</phase> |
| 85 | <goals> |
| 86 | <goal>testCompile</goal> |
| 87 | </goals> |
| 88 | </execution> |
| 89 | </executions> |
| 90 | </plugin> |
| 91 | |
| 92 | <plugin> |
| 93 | <groupId>org.apache.maven.plugins</groupId> |
| 94 | <artifactId>maven-clean-plugin</artifactId> |
| 95 | <version>3.0.0</version> |
| 96 | <configuration> |
| 97 | <excludeDefaultDirectories>true</excludeDefaultDirectories> |
| 98 | <filesets> |
| 99 | <fileset> |
| 100 | <directory>target</directory> |
| 101 | <includes> |
| 102 | <include>**</include> |
| 103 | </includes> |
| 104 | <excludes> |
| 105 | <exclude>generated-sources/jflex/**</exclude> |
| 106 | </excludes> |
| 107 | </fileset> |
| 108 | </filesets> |
| 109 | </configuration> |
| 110 | </plugin> |
| 111 | <plugin> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 112 | <groupId>org.apache.maven.plugins</groupId> |
| 113 | <artifactId>maven-jar-plugin</artifactId> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 114 | <version>3.2.0</version> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 115 | <configuration> |
| 116 | <archive> |
| 117 | <manifest> |
| 118 | <addClasspath>true</addClasspath> |
| 119 | <classpathPrefix>lib/</classpathPrefix> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame^] | 120 | <mainClass>de.ids_mannheim.korap.tokenizer.KorAPTokenizer</mainClass> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 121 | </manifest> |
| 122 | </archive> |
| 123 | </configuration> |
| 124 | </plugin> |
| 125 | |
| 126 | <plugin> |
| 127 | <groupId>de.jflex</groupId> |
| 128 | <artifactId>jflex-maven-plugin</artifactId> |
| 129 | <version>1.8.2</version> |
| 130 | <executions> |
| 131 | <execution> |
| 132 | <goals> |
| 133 | <goal>generate</goal> |
| 134 | </goals> |
| 135 | </execution> |
| 136 | </executions> |
| 137 | </plugin> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 138 | |
| 139 | <plugin> |
| 140 | <groupId>org.apache.maven.plugins</groupId> |
| 141 | <artifactId>maven-assembly-plugin</artifactId> |
| 142 | <version>3.3.0</version> |
| 143 | <configuration> |
Marc Kupietz | f4df712 | 2020-09-14 10:23:53 +0200 | [diff] [blame] | 144 | <appendAssemblyId>true</appendAssemblyId> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 145 | <descriptors> |
| 146 | <descriptor>src/assembly/src-distribution.xml</descriptor> |
| 147 | <descriptor>src/assembly/bin-distribution.xml</descriptor> |
| 148 | </descriptors> |
| 149 | <archive> |
| 150 | <manifest> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame^] | 151 | <mainClass>de.ids_mannheim.korap.tokenizer.KorAPTokenizer</mainClass> |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 152 | </manifest> |
| 153 | </archive> |
| 154 | </configuration> |
| 155 | <executions> |
| 156 | <execution> |
| 157 | <id>make-assembly</id> |
| 158 | <phase>package</phase> |
| 159 | <goals> |
| 160 | <goal>single</goal> |
| 161 | </goals> |
| 162 | </execution> |
| 163 | </executions> |
| 164 | </plugin> |
Marc Kupietz | f4df712 | 2020-09-14 10:23:53 +0200 | [diff] [blame] | 165 | <plugin> |
| 166 | <groupId>pl.project13.maven</groupId> |
| 167 | <artifactId>git-commit-id-plugin</artifactId> |
| 168 | <version>4.0.2</version> |
| 169 | <executions> |
| 170 | <execution> |
| 171 | <phase>validate</phase> |
| 172 | <goals> |
| 173 | <goal>revision</goal> |
| 174 | </goals> |
| 175 | </execution> |
| 176 | </executions> |
| 177 | <configuration> |
| 178 | <dateFormat>yyyyMMdd-HHmmss</dateFormat><!-- human-readable part of the version number --> |
| 179 | <dotGitDirectory>${project.basedir}/.git</dotGitDirectory> |
| 180 | <generateGitPropertiesFile>false</generateGitPropertiesFile><!-- somehow necessary. otherwise the variables are not available in the pom --> |
| 181 | </configuration> |
| 182 | </plugin> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame^] | 183 | <plugin> |
| 184 | <groupId>org.codehaus.mojo</groupId> |
| 185 | <artifactId>appassembler-maven-plugin</artifactId> |
| 186 | <version>1.10</version> |
| 187 | <executions> |
| 188 | <execution> |
| 189 | <phase>package</phase> |
| 190 | <goals> |
| 191 | <goal>assemble</goal> |
| 192 | </goals> |
| 193 | </execution> |
| 194 | </executions> |
| 195 | <configuration> |
| 196 | <binFolder>bin</binFolder> |
| 197 | <binFileExtensions> |
| 198 | <unix></unix> |
| 199 | </binFileExtensions> |
| 200 | <programs> |
| 201 | <program> |
| 202 | <mainClass>de.ids_mannheim.korap.tokenizer.KorAPTokenizer</mainClass> |
| 203 | <id>koraptokenizer</id> |
| 204 | </program> |
| 205 | </programs> |
| 206 | </configuration> |
| 207 | </plugin> |
| 208 | |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 209 | </plugins> |
| 210 | </build> |
| 211 | |
| 212 | <dependencies> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame^] | 213 | <dependency> |
| 214 | <groupId>info.picocli</groupId> |
| 215 | <artifactId>picocli</artifactId> |
| 216 | <version>4.2.0</version> |
| 217 | </dependency> |
| 218 | |
Marc Kupietz | 8192509 | 2020-09-07 15:16:51 +0200 | [diff] [blame] | 219 | <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools --> |
| 220 | <dependency> |
| 221 | <groupId>org.apache.opennlp</groupId> |
| 222 | <artifactId>opennlp-tools</artifactId> |
| 223 | <version>1.9.3</version> |
| 224 | </dependency> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 225 | <dependency> |
| 226 | <groupId>org.apache.maven.plugins</groupId> |
| 227 | <artifactId>maven-surefire-plugin</artifactId> |
| 228 | <version>2.22.2</version> |
| 229 | </dependency> |
| 230 | <dependency> |
| 231 | <groupId>junit</groupId> |
| 232 | <artifactId>junit</artifactId> |
| 233 | <version>4.11</version> |
| 234 | </dependency> |
Marc Kupietz | 793f85d | 2020-09-08 14:40:24 +0200 | [diff] [blame] | 235 | <dependency> |
| 236 | <groupId>com.github.stephenc.jcip</groupId> |
| 237 | <artifactId>jcip-annotations</artifactId> |
| 238 | <version>1.0-1</version> |
| 239 | <scope>test</scope> |
| 240 | </dependency> |
Marc Kupietz | c419d5b | 2020-09-17 15:21:26 +0200 | [diff] [blame^] | 241 | <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin --> |
| 242 | <dependency> |
| 243 | <groupId>org.codehaus.mojo</groupId> |
| 244 | <artifactId>appassembler-maven-plugin</artifactId> |
| 245 | <version>2.1.0</version> |
| 246 | </dependency> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 247 | </dependencies> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 248 | </project> |