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 | 22d319e | 2018-04-01 17:13:49 +0200 | [diff] [blame] | 209 | <!-- Some language extensions like StringUtil, IOUtils ... --> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 210 | <dependency> |
| 211 | <groupId>commons-lang</groupId> |
| 212 | <artifactId>commons-lang</artifactId> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 213 | <version>2.6</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 214 | </dependency> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 215 | <dependency> |
| 216 | <groupId>commons-cli</groupId> |
| 217 | <artifactId>commons-cli</artifactId> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 218 | <version>1.4</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 219 | </dependency> |
margaretha | c20a921 | 2018-08-21 14:32:09 +0200 | [diff] [blame] | 220 | <dependency> |
| 221 | <groupId>commons-io</groupId> |
| 222 | <artifactId>commons-io</artifactId> |
Akron | 9279806 | 2021-07-27 11:58:21 +0200 | [diff] [blame^] | 223 | <version>2.11.0</version> |
margaretha | c20a921 | 2018-08-21 14:32:09 +0200 | [diff] [blame] | 224 | </dependency> |
Marc Kupietz | 4369ed6 | 2020-11-12 10:05:44 +0100 | [diff] [blame] | 225 | |
| 226 | <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin --> |
| 227 | <dependency> |
| 228 | <groupId>org.codehaus.mojo</groupId> |
| 229 | <artifactId>cobertura-maven-plugin</artifactId> |
Akron | 9279806 | 2021-07-27 11:58:21 +0200 | [diff] [blame^] | 230 | <version>${cobertura.version}</version> |
Marc Kupietz | 4369ed6 | 2020-11-12 10:05:44 +0100 | [diff] [blame] | 231 | <scope>test</scope> |
| 232 | </dependency> |
Akron | 22d319e | 2018-04-01 17:13:49 +0200 | [diff] [blame] | 233 | </dependencies> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 234 | |
| 235 | <build> |
| 236 | <sourceDirectory>${basedir}/src/main/java</sourceDirectory> |
| 237 | <outputDirectory>${basedir}/bin</outputDirectory> |
| 238 | <plugins> |
| 239 | <plugin> |
| 240 | <artifactId>maven-compiler-plugin</artifactId> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 241 | <version>3.8.1</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 242 | <inherited>true</inherited> |
| 243 | <configuration> |
| 244 | <showWarnings>true</showWarnings> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 245 | <source>${java.version}</source> |
| 246 | <target>${java.version}</target> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 247 | </configuration> |
| 248 | </plugin> |
| 249 | |
| 250 | <plugin> |
| 251 | <groupId>org.apache.maven.plugins</groupId> |
| 252 | <artifactId>maven-shade-plugin</artifactId> |
Akron | 9279806 | 2021-07-27 11:58:21 +0200 | [diff] [blame^] | 253 | <version>3.2.4</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 254 | <executions> |
| 255 | <execution> |
| 256 | <id>indexer</id> |
| 257 | <phase>package</phase> |
| 258 | <goals> |
| 259 | <goal>shade</goal> |
| 260 | </goals> |
| 261 | <configuration> |
| 262 | <transformers> |
| 263 | <transformer |
| 264 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 265 | <mainClass>de.ids_mannheim.korap.index.Indexer</mainClass> |
| 266 | </transformer> |
| 267 | </transformers> |
| 268 | <finalName>${project.artifactId}-Indexer</finalName> |
| 269 | </configuration> |
| 270 | </execution> |
| 271 | <execution> |
| 272 | <id>server</id> |
| 273 | <phase>package</phase> |
| 274 | <goals> |
| 275 | <goal>shade</goal> |
| 276 | </goals> |
| 277 | <configuration> |
| 278 | <transformers> |
| 279 | <transformer |
| 280 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 281 | <mainClass>de.ids_mannheim.korap.server.Node</mainClass> |
| 282 | </transformer> |
| 283 | <transformer |
| 284 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 285 | <resource>krill.properties</resource> |
| 286 | </transformer> |
| 287 | </transformers> |
| 288 | <finalName>${project.name}-Server</finalName> |
| 289 | </configuration> |
| 290 | </execution> |
| 291 | </executions> |
| 292 | </plugin> |
| 293 | |
| 294 | <plugin> |
| 295 | <groupId>org.apache.maven.plugins</groupId> |
| 296 | <artifactId>maven-surefire-plugin</artifactId> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 297 | <version>2.22.2</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 298 | <configuration> |
margaretha | cab655c | 2019-02-26 11:31:29 +0100 | [diff] [blame] | 299 | <useSystemClassLoader>false</useSystemClassLoader> |
margaretha | fd469f3 | 2019-05-02 12:35:08 +0200 | [diff] [blame] | 300 | <argLine>-Xmx512m</argLine> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 301 | <excludes> |
| 302 | <exclude>**/benchmark/*</exclude> |
| 303 | <exclude>**/TestWPDIndex.java</exclude> |
| 304 | <exclude>**/TestRealIndex.java</exclude> |
margaretha | 3d81110 | 2017-09-06 14:20:42 +0200 | [diff] [blame] | 305 | <exclude>**/TestSampleIndex.java</exclude> |
Akron | 672f98c | 2019-11-05 19:20:45 +0100 | [diff] [blame] | 306 | <exclude>**/TestParallelIndex.java</exclude> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 307 | </excludes> |
| 308 | </configuration> |
| 309 | </plugin> |
| 310 | |
| 311 | <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html --> |
| 312 | <plugin> |
| 313 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 314 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 315 | <version>0.4</version> |
| 316 | <configuration> |
| 317 | <configFile>${project.basedir}/Format.xml</configFile> |
| 318 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
margaretha | 1f2791d | 2019-11-07 15:41:40 +0100 | [diff] [blame] | 319 | <compilerSource>${java.version}</compilerSource> |
| 320 | <compilerCompliance>${java.version}</compilerCompliance> |
| 321 | <compilerTargetPlatform>${java.version}</compilerTargetPlatform> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 322 | </configuration> |
| 323 | </plugin> |
| 324 | |
| 325 | <plugin> |
| 326 | <groupId>org.codehaus.mojo</groupId> |
| 327 | <artifactId>exec-maven-plugin</artifactId> |
Akron | 9279806 | 2021-07-27 11:58:21 +0200 | [diff] [blame^] | 328 | <version>3.0.0</version> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 329 | <executions> |
| 330 | <execution> |
| 331 | <goals> |
| 332 | <goal>java</goal> |
| 333 | </goals> |
| 334 | </execution> |
| 335 | </executions> |
| 336 | <configuration> |
| 337 | <mainClass>de.ids_mannheim.korap.server.Node</mainClass> |
| 338 | </configuration> |
| 339 | </plugin> |
Marc Kupietz | 4369ed6 | 2020-11-12 10:05:44 +0100 | [diff] [blame] | 340 | |
| 341 | <plugin> |
| 342 | <groupId>org.codehaus.mojo</groupId> |
| 343 | <artifactId>cobertura-maven-plugin</artifactId> |
Akron | 9279806 | 2021-07-27 11:58:21 +0200 | [diff] [blame^] | 344 | <version>${cobertura.version}</version> |
Marc Kupietz | 4369ed6 | 2020-11-12 10:05:44 +0100 | [diff] [blame] | 345 | <configuration> |
| 346 | <formats> |
| 347 | <format>html</format> |
| 348 | <format>xml</format> |
| 349 | </formats> |
| 350 | <check> |
| 351 | <branchRate>70</branchRate> |
| 352 | <lineRate>70</lineRate> |
| 353 | <haltOnFailure>true</haltOnFailure> |
| 354 | <totalBranchRate>70</totalBranchRate> |
| 355 | <totalLineRate>70</totalLineRate> |
| 356 | <packageLineRate>70</packageLineRate> |
| 357 | <packageBranchRate>70</packageBranchRate> |
| 358 | </check> |
| 359 | </configuration> |
| 360 | <executions> |
| 361 | <execution> |
| 362 | <goals> |
| 363 | <goal>clean</goal> |
| 364 | </goals> |
| 365 | </execution> |
| 366 | </executions> |
| 367 | </plugin> |
Eliza Margaretha | ff41663 | 2016-11-03 15:08:07 +0100 | [diff] [blame] | 368 | </plugins> |
| 369 | |
| 370 | <resources> |
| 371 | <resource> |
| 372 | <directory>src/main/resources</directory> |
| 373 | <filtering>true</filtering> |
| 374 | <includes> |
| 375 | <include>krill.info</include> |
| 376 | </includes> |
| 377 | </resource> |
| 378 | <resource> |
| 379 | <directory>src/main/resources</directory> |
| 380 | <filtering>false</filtering> |
| 381 | <excludes> |
| 382 | <exclude>krill.info</exclude> |
| 383 | </excludes> |
| 384 | </resource> |
| 385 | </resources> |
| 386 | |
| 387 | <testResources> |
| 388 | <testResource> |
| 389 | <directory>src/test/resources</directory> |
| 390 | <filtering>true</filtering> |
| 391 | <includes> |
| 392 | <include>krill.properties</include> |
| 393 | </includes> |
| 394 | </testResource> |
| 395 | <testResource> |
| 396 | <directory>src/test/resources</directory> |
| 397 | <filtering>false</filtering> |
| 398 | <excludes> |
| 399 | <exclude>krill.properties</exclude> |
| 400 | </excludes> |
| 401 | </testResource> |
| 402 | </testResources> |
| 403 | </build> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 404 | </project> |