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