Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
Nils Diewald | 97b6638 | 2014-02-11 00:32:23 +0000 | [diff] [blame] | 4 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 5 | <!-- ** Server |
| 6 | |
| 7 | # Start the server with |
| 8 | |
| 9 | $ mvn compile exec:java |
| 10 | |
| 11 | # Or after packaging |
| 12 | |
| 13 | $ mvn clean package |
Nils Diewald | e26f03f | 2014-06-04 17:48:53 +0000 | [diff] [blame] | 14 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 15 | # with |
| 16 | |
| 17 | $ java -jar target/Krill-Server.jar |
| 18 | |
| 19 | ** Formatter |
| 20 | |
| 21 | # Format the code with $ mvn java-formatter:format |
| 22 | |
| 23 | ** Indexer |
| 24 | # after packaging (see above) |
| 25 | |
| 26 | $ java -jar target/Krill-Indexer.jar -c [configuration file] |
| 27 | -i [input directories] -o [output directory] |
| 28 | |
| 29 | for example: |
| 30 | |
| 31 | $ java -jar target/Krill-Indexer.jar -c src/test/resources/krill.properties |
| 32 | -i src/test/resources/bzk -o index/ |
| 33 | |
| 34 | --> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 35 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 36 | <groupId>de.ids_mannheim.korap</groupId> |
| 37 | <artifactId>Krill</artifactId> |
Akron | cef695a | 2020-10-27 11:36:35 +0100 | [diff] [blame] | 38 | <version>0.59.3</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 39 | <packaging>jar</packaging> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 40 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 41 | <name>Krill</name> |
Akron | 59caed4 | 2020-03-04 07:32:25 +0100 | [diff] [blame] | 42 | <url>https://korap.ids-mannheim.de/</url> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 43 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 44 | <organization> |
| 45 | <name>IDS Mannheim</name> |
| 46 | <url>http://www.ids-mannheim.de/</url> |
| 47 | </organization> |
Nils Diewald | 8a1fc01 | 2014-02-19 15:23:33 +0000 | [diff] [blame] | 48 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 49 | <developers> |
| 50 | <developer> |
| 51 | <name>Nils Diewald</name> |
| 52 | <email>diewald@ids-mannheim.de</email> |
| 53 | <url>http://nils-diewald.de</url> |
| 54 | </developer> |
| 55 | <developer> |
| 56 | <name>Eliza Margaretha</name> |
| 57 | <email>margaretha@ids-mannheim.de</email> |
| 58 | </developer> |
| 59 | </developers> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 60 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 61 | <properties> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 62 | <java.version>1.8</java.version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 63 | <jersey.version>2.15</jersey.version> |
Akron | 7790384 | 2018-10-22 13:05:23 +0200 | [diff] [blame] | 64 | <jackson.version>[2.9.5,)</jackson.version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 65 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 66 | </properties> |
Nils Diewald | 32030a6 | 2014-09-03 20:16:50 +0000 | [diff] [blame] | 67 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 68 | <dependencyManagement> |
| 69 | <dependencies> |
| 70 | <dependency> |
| 71 | <groupId>org.glassfish.jersey</groupId> |
| 72 | <artifactId>jersey-bom</artifactId> |
| 73 | <version>${jersey.version}</version> |
| 74 | <type>pom</type> |
| 75 | <scope>import</scope> |
| 76 | </dependency> |
| 77 | </dependencies> |
| 78 | </dependencyManagement> |
Nils Diewald | 32030a6 | 2014-09-03 20:16:50 +0000 | [diff] [blame] | 79 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 80 | <dependencies> |
| 81 | <!-- junit dependency --> |
| 82 | <dependency> |
| 83 | <groupId>junit</groupId> |
| 84 | <artifactId>junit</artifactId> |
Akron | cef695a | 2020-10-27 11:36:35 +0100 | [diff] [blame] | 85 | <version>4.13.1</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 86 | <scope>test</scope> |
| 87 | </dependency> |
Nils Diewald | f5ab4b2 | 2015-02-25 20:55:16 +0000 | [diff] [blame] | 88 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 89 | <!-- log4j dependency --> |
| 90 | <dependency> |
Akron | ab2b3a5 | 2018-01-11 16:10:46 +0100 | [diff] [blame] | 91 | <groupId>org.apache.logging.log4j</groupId> |
| 92 | <artifactId>log4j-api</artifactId> |
dependabot[bot] | f5f7320 | 2020-07-01 18:39:20 +0000 | [diff] [blame] | 93 | <version>2.13.2</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 94 | </dependency> |
Akron | ab2b3a5 | 2018-01-11 16:10:46 +0100 | [diff] [blame] | 95 | <dependency> |
| 96 | <groupId>org.apache.logging.log4j</groupId> |
| 97 | <artifactId>log4j-core</artifactId> |
dependabot[bot] | f5f7320 | 2020-07-01 18:39:20 +0000 | [diff] [blame] | 98 | <version>2.13.2</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 99 | </dependency> |
Akron | ab2b3a5 | 2018-01-11 16:10:46 +0100 | [diff] [blame] | 100 | <dependency> |
| 101 | <groupId>org.apache.logging.log4j</groupId> |
| 102 | <artifactId>log4j-slf4j-impl</artifactId> |
dependabot[bot] | f5f7320 | 2020-07-01 18:39:20 +0000 | [diff] [blame] | 103 | <version>2.13.2</version> |
Akron | ab2b3a5 | 2018-01-11 16:10:46 +0100 | [diff] [blame] | 104 | </dependency> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 105 | <dependency> |
| 106 | <groupId>org.slf4j</groupId> |
| 107 | <artifactId>jul-to-slf4j</artifactId> |
dependabot[bot] | f5f7320 | 2020-07-01 18:39:20 +0000 | [diff] [blame] | 108 | <version>1.7.30</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 109 | </dependency> |
margaretha | 8efa375 | 2018-07-24 17:46:43 +0200 | [diff] [blame] | 110 | |
| 111 | <dependency> |
| 112 | <groupId>net.sf.ehcache</groupId> |
| 113 | <artifactId>ehcache</artifactId> |
| 114 | <version>2.10.5</version> |
| 115 | </dependency> |
Nils Diewald | f5ab4b2 | 2015-02-25 20:55:16 +0000 | [diff] [blame] | 116 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 117 | <!-- SQLite for database connection tests --> |
| 118 | <dependency> |
| 119 | <groupId>org.xerial</groupId> |
| 120 | <artifactId>sqlite-jdbc</artifactId> |
| 121 | <version>3.7.2</version> |
| 122 | </dependency> |
Nils Diewald | f5ab4b2 | 2015-02-25 20:55:16 +0000 | [diff] [blame] | 123 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 124 | <!-- Database Connection Pool Manager --> |
| 125 | <dependency> |
| 126 | <groupId>c3p0</groupId> |
| 127 | <artifactId>c3p0</artifactId> |
| 128 | <version>0.9.1.2</version> |
| 129 | </dependency> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 130 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 131 | <!-- Lucene core dependency --> |
| 132 | <dependency> |
| 133 | <artifactId>lucene-core</artifactId> |
| 134 | <groupId>org.apache.lucene</groupId> |
| 135 | <type>jar</type> |
| 136 | <version>5.0.0</version> |
| 137 | </dependency> |
Nils Diewald | aee4545 | 2013-11-27 22:35:55 +0000 | [diff] [blame] | 138 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 139 | <!-- Lucene queryparser dependency --> |
| 140 | <dependency> |
| 141 | <artifactId>lucene-queryparser</artifactId> |
| 142 | <groupId>org.apache.lucene</groupId> |
| 143 | <type>jar</type> |
| 144 | <version>5.0.0</version> |
| 145 | </dependency> |
Akron | 09ae373 | 2015-08-13 20:56:20 +0200 | [diff] [blame] | 146 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 147 | <!-- Lucene analyzers dependency --> |
| 148 | <dependency> |
| 149 | <artifactId>lucene-analyzers-common</artifactId> |
| 150 | <groupId>org.apache.lucene</groupId> |
| 151 | <type>jar</type> |
| 152 | <version>5.0.0</version> |
| 153 | </dependency> |
Nils Diewald | 32030a6 | 2014-09-03 20:16:50 +0000 | [diff] [blame] | 154 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 155 | <dependency> |
| 156 | <groupId>org.hamcrest</groupId> |
| 157 | <artifactId>hamcrest-core</artifactId> |
| 158 | <version>1.3</version> |
| 159 | </dependency> |
Nils Diewald | 2f2b067 | 2014-11-25 20:26:22 +0000 | [diff] [blame] | 160 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 161 | <!-- JCache --> |
| 162 | <dependency> |
| 163 | <groupId>net.sf.jsr107cache</groupId> |
| 164 | <artifactId>jsr107cache</artifactId> |
| 165 | <version>1.0</version> |
| 166 | </dependency> |
Nils Diewald | cdd465b | 2014-02-24 18:47:38 +0000 | [diff] [blame] | 167 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 168 | <!-- Jersey --> |
| 169 | <dependency> |
| 170 | <groupId>org.glassfish.jersey.containers</groupId> |
| 171 | <artifactId>jersey-container-grizzly2-http</artifactId> |
| 172 | </dependency> |
Nils Diewald | cdd465b | 2014-02-24 18:47:38 +0000 | [diff] [blame] | 173 | |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 174 | <!-- JSON support in Jersey --> |
| 175 | <dependency> |
| 176 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 177 | <artifactId>jackson-jaxrs-json-provider</artifactId> |
margaretha | 3b2c351 | 2017-11-17 14:42:12 +0100 | [diff] [blame] | 178 | <version>${jackson.version}</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 179 | </dependency> |
| 180 | |
| 181 | <!-- JSON support using Jackson --> |
| 182 | <!-- see https://github.com/FasterXML/jackson-core --> |
| 183 | <!-- https://github.com/FasterXML/jackson-databind --> |
| 184 | <dependency> |
| 185 | <groupId>com.fasterxml.jackson.core</groupId> |
| 186 | <artifactId>jackson-databind</artifactId> |
margaretha | 3b2c351 | 2017-11-17 14:42:12 +0100 | [diff] [blame] | 187 | <version>${jackson.version}</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 188 | </dependency> |
| 189 | <dependency> |
| 190 | <groupId>com.fasterxml.jackson.core</groupId> |
| 191 | <artifactId>jackson-annotations</artifactId> |
margaretha | 3b2c351 | 2017-11-17 14:42:12 +0100 | [diff] [blame] | 192 | <version>${jackson.version}</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 193 | </dependency> |
| 194 | <dependency> |
| 195 | <groupId>com.fasterxml.jackson.core</groupId> |
| 196 | <artifactId>jackson-core</artifactId> |
margaretha | 3b2c351 | 2017-11-17 14:42:12 +0100 | [diff] [blame] | 197 | <version>${jackson.version}</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 198 | </dependency> |
| 199 | |
| 200 | <!-- JSON-LD support --> |
| 201 | <!-- <dependency> <groupId>com.github.jsonld-java</groupId> <artifactId>jsonld-java</artifactId> |
| 202 | <version>0.5.2-SNAPSHOT</version> </dependency> Temporarily disable @Experimental |
| 203 | annotation <dependency> <groupId>KorapAnnotationProcessor</groupId> <artifactId>KorapAnnotationProcessor</artifactId> |
| 204 | <version>0.0.1-SNAPSHOT</version> <scope>compile</scope> </dependency> --> |
| 205 | |
Akron | 22d319e | 2018-04-01 17:13:49 +0200 | [diff] [blame] | 206 | <!-- Some language extensions like StringUtil, IOUtils ... --> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 207 | <dependency> |
| 208 | <groupId>commons-lang</groupId> |
| 209 | <artifactId>commons-lang</artifactId> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 210 | <version>2.6</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 211 | </dependency> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 212 | <dependency> |
| 213 | <groupId>commons-cli</groupId> |
| 214 | <artifactId>commons-cli</artifactId> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 215 | <version>1.4</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 216 | </dependency> |
margaretha | c20a921 | 2018-08-21 14:32:09 +0200 | [diff] [blame] | 217 | <dependency> |
| 218 | <groupId>commons-io</groupId> |
| 219 | <artifactId>commons-io</artifactId> |
dependabot[bot] | 6489b19 | 2021-04-26 18:27:36 +0000 | [diff] [blame] | 220 | <version>2.7</version> |
margaretha | c20a921 | 2018-08-21 14:32:09 +0200 | [diff] [blame] | 221 | </dependency> |
Marc Kupietz | 4369ed6 | 2020-11-12 10:05:44 +0100 | [diff] [blame] | 222 | |
| 223 | <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin --> |
| 224 | <dependency> |
| 225 | <groupId>org.codehaus.mojo</groupId> |
| 226 | <artifactId>cobertura-maven-plugin</artifactId> |
| 227 | <version>2.7</version> |
| 228 | <scope>test</scope> |
| 229 | </dependency> |
Akron | 22d319e | 2018-04-01 17:13:49 +0200 | [diff] [blame] | 230 | </dependencies> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 231 | |
| 232 | <build> |
| 233 | <sourceDirectory>${basedir}/src/main/java</sourceDirectory> |
| 234 | <outputDirectory>${basedir}/bin</outputDirectory> |
| 235 | <plugins> |
| 236 | <plugin> |
| 237 | <artifactId>maven-compiler-plugin</artifactId> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 238 | <version>3.8.1</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 239 | <inherited>true</inherited> |
| 240 | <configuration> |
| 241 | <showWarnings>true</showWarnings> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 242 | <source>${java.version}</source> |
| 243 | <target>${java.version}</target> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 244 | </configuration> |
| 245 | </plugin> |
| 246 | |
| 247 | <plugin> |
| 248 | <groupId>org.apache.maven.plugins</groupId> |
| 249 | <artifactId>maven-shade-plugin</artifactId> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 250 | <version>3.2.1</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 251 | <executions> |
| 252 | <execution> |
| 253 | <id>indexer</id> |
| 254 | <phase>package</phase> |
| 255 | <goals> |
| 256 | <goal>shade</goal> |
| 257 | </goals> |
| 258 | <configuration> |
| 259 | <transformers> |
| 260 | <transformer |
| 261 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 262 | <mainClass>de.ids_mannheim.korap.index.Indexer</mainClass> |
| 263 | </transformer> |
| 264 | </transformers> |
| 265 | <finalName>${project.artifactId}-Indexer</finalName> |
| 266 | </configuration> |
| 267 | </execution> |
| 268 | <execution> |
| 269 | <id>server</id> |
| 270 | <phase>package</phase> |
| 271 | <goals> |
| 272 | <goal>shade</goal> |
| 273 | </goals> |
| 274 | <configuration> |
| 275 | <transformers> |
| 276 | <transformer |
| 277 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 278 | <mainClass>de.ids_mannheim.korap.server.Node</mainClass> |
| 279 | </transformer> |
| 280 | <transformer |
| 281 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 282 | <resource>krill.properties</resource> |
| 283 | </transformer> |
| 284 | </transformers> |
| 285 | <finalName>${project.name}-Server</finalName> |
| 286 | </configuration> |
| 287 | </execution> |
| 288 | </executions> |
| 289 | </plugin> |
| 290 | |
| 291 | <plugin> |
| 292 | <groupId>org.apache.maven.plugins</groupId> |
| 293 | <artifactId>maven-surefire-plugin</artifactId> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 294 | <version>2.22.2</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 295 | <configuration> |
margaretha | cab655c | 2019-02-26 11:31:29 +0100 | [diff] [blame] | 296 | <useSystemClassLoader>false</useSystemClassLoader> |
margaretha | fd469f3 | 2019-05-02 12:35:08 +0200 | [diff] [blame] | 297 | <argLine>-Xmx512m</argLine> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 298 | <excludes> |
| 299 | <exclude>**/benchmark/*</exclude> |
| 300 | <exclude>**/TestWPDIndex.java</exclude> |
| 301 | <exclude>**/TestRealIndex.java</exclude> |
margaretha | 3d81110 | 2017-09-06 14:20:42 +0200 | [diff] [blame] | 302 | <exclude>**/TestSampleIndex.java</exclude> |
Akron | 672f98c | 2019-11-05 19:20:45 +0100 | [diff] [blame] | 303 | <exclude>**/TestParallelIndex.java</exclude> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 304 | </excludes> |
| 305 | </configuration> |
| 306 | </plugin> |
| 307 | |
| 308 | <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html --> |
| 309 | <plugin> |
| 310 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 311 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 312 | <version>0.4</version> |
| 313 | <configuration> |
| 314 | <configFile>${project.basedir}/Format.xml</configFile> |
| 315 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 316 | <compilerSource>${java.version}</compilerSource> |
| 317 | <compilerCompliance>${java.version}</compilerCompliance> |
| 318 | <compilerTargetPlatform>${java.version}</compilerTargetPlatform> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 319 | </configuration> |
| 320 | </plugin> |
| 321 | |
| 322 | <plugin> |
| 323 | <groupId>org.codehaus.mojo</groupId> |
| 324 | <artifactId>exec-maven-plugin</artifactId> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 325 | <version>1.6.0</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 326 | <executions> |
| 327 | <execution> |
| 328 | <goals> |
| 329 | <goal>java</goal> |
| 330 | </goals> |
| 331 | </execution> |
| 332 | </executions> |
| 333 | <configuration> |
| 334 | <mainClass>de.ids_mannheim.korap.server.Node</mainClass> |
| 335 | </configuration> |
| 336 | </plugin> |
Marc Kupietz | 4369ed6 | 2020-11-12 10:05:44 +0100 | [diff] [blame] | 337 | |
| 338 | <plugin> |
| 339 | <groupId>org.codehaus.mojo</groupId> |
| 340 | <artifactId>cobertura-maven-plugin</artifactId> |
| 341 | <version>2.7</version> |
| 342 | <configuration> |
| 343 | <formats> |
| 344 | <format>html</format> |
| 345 | <format>xml</format> |
| 346 | </formats> |
| 347 | <check> |
| 348 | <branchRate>70</branchRate> |
| 349 | <lineRate>70</lineRate> |
| 350 | <haltOnFailure>true</haltOnFailure> |
| 351 | <totalBranchRate>70</totalBranchRate> |
| 352 | <totalLineRate>70</totalLineRate> |
| 353 | <packageLineRate>70</packageLineRate> |
| 354 | <packageBranchRate>70</packageBranchRate> |
| 355 | </check> |
| 356 | </configuration> |
| 357 | <executions> |
| 358 | <execution> |
| 359 | <goals> |
| 360 | <goal>clean</goal> |
| 361 | </goals> |
| 362 | </execution> |
| 363 | </executions> |
| 364 | </plugin> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 365 | </plugins> |
| 366 | |
| 367 | <resources> |
| 368 | <resource> |
| 369 | <directory>src/main/resources</directory> |
| 370 | <filtering>true</filtering> |
| 371 | <includes> |
| 372 | <include>krill.info</include> |
| 373 | </includes> |
| 374 | </resource> |
| 375 | <resource> |
| 376 | <directory>src/main/resources</directory> |
| 377 | <filtering>false</filtering> |
| 378 | <excludes> |
| 379 | <exclude>krill.info</exclude> |
| 380 | </excludes> |
| 381 | </resource> |
| 382 | </resources> |
| 383 | |
| 384 | <testResources> |
| 385 | <testResource> |
| 386 | <directory>src/test/resources</directory> |
| 387 | <filtering>true</filtering> |
| 388 | <includes> |
| 389 | <include>krill.properties</include> |
| 390 | </includes> |
| 391 | </testResource> |
| 392 | <testResource> |
| 393 | <directory>src/test/resources</directory> |
| 394 | <filtering>false</filtering> |
| 395 | <excludes> |
| 396 | <exclude>krill.properties</exclude> |
| 397 | </excludes> |
| 398 | </testResource> |
| 399 | </testResources> |
| 400 | </build> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 401 | </project> |