Joachim Bingel | 4b405f5 | 2013-11-15 15:29:30 +0000 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +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> |
Michael Hanl | 10d2150 | 2014-02-07 20:09:58 +0000 | [diff] [blame] | 4 | |
Michael Hanl | f33f706 | 2015-06-24 21:14:26 +0200 | [diff] [blame] | 5 | <groupId>de.ids_mannheim.korap</groupId> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 6 | <artifactId>Koral</artifactId> |
Akron | 79cd736 | 2016-06-03 17:05:05 +0200 | [diff] [blame] | 7 | <version>0.22</version> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 8 | <packaging>jar</packaging> |
| 9 | <name>Koral</name> |
| 10 | <url>http://maven.apache.org</url> |
Akron | e9c81d1 | 2016-06-13 17:27:21 +0200 | [diff] [blame^] | 11 | |
| 12 | <organization> |
| 13 | <name>IDS Mannheim</name> |
| 14 | <url>http://www.ids-mannheim.de/</url> |
| 15 | </organization> |
| 16 | |
| 17 | <developers> |
| 18 | <developer> |
| 19 | <name>Joachim Bingel</name> |
| 20 | <email>bingel@ids-mannheim.de</email> |
| 21 | </developer> |
| 22 | <developer> |
| 23 | <name>Nils Diewald</name> |
| 24 | <email>diewald@ids-mannheim.de</email> |
| 25 | <url>http://nils-diewald.de</url> |
| 26 | </developer> |
| 27 | <developer> |
| 28 | <name>Michael Hanl</name> |
| 29 | <email>hanl@ids-mannheim.de</email> |
| 30 | </developer> |
| 31 | <developer> |
| 32 | <name>Eliza Margaretha</name> |
| 33 | <email>margaretha@ids-mannheim.de</email> |
| 34 | </developer> |
| 35 | </developers> |
| 36 | |
| 37 | <properties> |
| 38 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 39 | </properties> |
| 40 | |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 41 | <repositories> |
| 42 | <repository> |
| 43 | <id>id-maven-repo</id> |
| 44 | <url>http://maven.indexdata.com</url> |
| 45 | </repository> |
| 46 | </repositories> |
| 47 | <dependencies> |
| 48 | <dependency> |
| 49 | <groupId>org.antlr</groupId> |
| 50 | <artifactId>antlr4-runtime</artifactId> |
Jim O'Regan | c61a1df | 2016-02-12 12:22:24 +0000 | [diff] [blame] | 51 | <version>4.2</version> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>org.antlr</groupId> |
| 55 | <artifactId>antlr4-maven-plugin</artifactId> |
Jim O'Regan | c61a1df | 2016-02-12 12:22:24 +0000 | [diff] [blame] | 56 | <version>4.2</version> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>org.antlr</groupId> |
| 60 | <artifactId>antlr-runtime</artifactId> |
| 61 | <version>3.5</version> |
| 62 | <scope>compile</scope> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>com.google.guava</groupId> |
| 66 | <artifactId>guava</artifactId> |
| 67 | <version>15.0</version> |
| 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>com.fasterxml.jackson.core</groupId> |
| 71 | <artifactId>jackson-core</artifactId> |
| 72 | <version>2.3.3</version> |
| 73 | </dependency> |
| 74 | <dependency> |
| 75 | <groupId>com.fasterxml.jackson.core</groupId> |
| 76 | <artifactId>jackson-annotations</artifactId> |
| 77 | <version>2.3.3</version> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>com.fasterxml.jackson.core</groupId> |
| 81 | <artifactId>jackson-databind</artifactId> |
| 82 | <version>2.3.3</version> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>junit</groupId> |
| 86 | <artifactId>junit</artifactId> |
| 87 | <version>4.11</version> |
| 88 | <scope>test</scope> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>commons-lang</groupId> |
| 92 | <artifactId>commons-lang</artifactId> |
| 93 | <version>2.6</version> |
| 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>org.z3950.zing</groupId> |
| 97 | <artifactId>cql-java</artifactId> |
| 98 | <version>1.12</version> |
| 99 | </dependency> |
| 100 | <dependency> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 101 | <groupId>log4j</groupId> |
| 102 | <artifactId>log4j</artifactId> |
| 103 | <version>1.2.17</version> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>log4j</groupId> |
| 107 | <artifactId>apache-log4j-extras</artifactId> |
| 108 | <version>1.2.17</version> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>org.slf4j</groupId> |
| 112 | <artifactId>slf4j-api</artifactId> |
| 113 | <version>1.7.5</version> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>org.slf4j</groupId> |
| 117 | <artifactId>slf4j-log4j12</artifactId> |
| 118 | <version>1.7.5</version> |
| 119 | </dependency> |
| 120 | </dependencies> |
| 121 | <build> |
| 122 | <sourceDirectory>${basedir}/src/main/java</sourceDirectory> |
| 123 | <outputDirectory>${basedir}/target/classes</outputDirectory> |
| 124 | <plugins> |
Akron | e9c81d1 | 2016-06-13 17:27:21 +0200 | [diff] [blame^] | 125 | <plugin> |
| 126 | <groupId>org.apache.maven.plugins</groupId> |
| 127 | <artifactId>maven-compiler-plugin</artifactId> |
| 128 | <version>3.3</version> |
| 129 | <configuration> |
| 130 | <compilerVersion>1.7</compilerVersion> |
| 131 | <source>1.7</source> |
| 132 | <target>1.7</target> |
| 133 | </configuration> |
| 134 | </plugin> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 135 | <!-- |
| 136 | Formatter plugin for Eclipse based coding conventions |
| 137 | http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html |
Michael Hanl | e91345d | 2015-10-22 17:55:27 +0200 | [diff] [blame] | 138 | --> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 139 | <plugin> |
| 140 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 141 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 142 | <version>0.4</version> |
| 143 | <configuration> |
| 144 | <configFile>${project.basedir}/Format.xml</configFile> |
| 145 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| 146 | <compilerSource>1.7</compilerSource> |
| 147 | <compilerCompliance>1.7</compilerCompliance> |
| 148 | <compilerTargetPlatform>1.7</compilerTargetPlatform> |
| 149 | </configuration> |
| 150 | </plugin> |
| 151 | <plugin> |
| 152 | <artifactId>maven-dependency-plugin</artifactId> |
| 153 | <executions> |
| 154 | <execution> |
| 155 | <phase>install</phase> |
| 156 | <goals> |
| 157 | <goal>copy-dependencies</goal> |
| 158 | </goals> |
| 159 | <configuration> |
| 160 | <outputDirectory>${project.build.directory}/../lib</outputDirectory> |
| 161 | </configuration> |
| 162 | </execution> |
| 163 | </executions> |
| 164 | </plugin> |
| 165 | <plugin> |
| 166 | <groupId>org.apache.maven.plugins</groupId> |
| 167 | <artifactId>maven-jar-plugin</artifactId> |
| 168 | <version>2.5</version> |
| 169 | <configuration> |
| 170 | <archive> |
| 171 | <manifest> |
| 172 | <addClasspath>true</addClasspath> |
| 173 | <classpathPrefix>../lib/</classpathPrefix> |
| 174 | <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass> |
| 175 | </manifest> |
| 176 | </archive> |
| 177 | </configuration> |
| 178 | </plugin> |
| 179 | <plugin> |
| 180 | <!-- This plugin will help to build the ANTLR4 grammar on the fly. The |
| 181 | recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build --> |
| 182 | <groupId>org.antlr</groupId> |
| 183 | <artifactId>antlr4-maven-plugin</artifactId> |
Jim O'Regan | c61a1df | 2016-02-12 12:22:24 +0000 | [diff] [blame] | 184 | <version>4.2</version> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 185 | <executions> |
| 186 | <execution> |
| 187 | <id>poliqarpplus</id> |
| 188 | <goals> |
| 189 | <goal>antlr4</goal> |
| 190 | </goals> |
| 191 | <configuration> |
| 192 | <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory> |
| 193 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory> |
| 194 | <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory> |
| 195 | </configuration> |
| 196 | <phase>generate-sources</phase> |
| 197 | </execution> |
| 198 | <execution> |
| 199 | <id>annis</id> |
| 200 | <goals> |
| 201 | <goal>antlr4</goal> |
| 202 | </goals> |
| 203 | <configuration> |
| 204 | <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory> |
| 205 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory> |
| 206 | <libDirectory>${basedir}/src/main/antlr/annis</libDirectory> |
| 207 | </configuration> |
| 208 | <phase>generate-sources</phase> |
| 209 | </execution> |
| 210 | <execution> |
| 211 | <id>collection</id> |
| 212 | <goals> |
| 213 | <goal>antlr4</goal> |
| 214 | </goals> |
| 215 | <configuration> |
| 216 | <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory> |
| 217 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory> |
| 218 | <libDirectory>${basedir}/src/main/antlr/collection</libDirectory> |
| 219 | </configuration> |
| 220 | <phase>generate-sources</phase> |
| 221 | </execution> |
| 222 | </executions> |
| 223 | </plugin> |
| 224 | <plugin> |
| 225 | <!-- This plugin will help to build the ANTLR3 grammar on the fly. The |
| 226 | recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build --> |
| 227 | <groupId>org.antlr</groupId> |
| 228 | <artifactId>antlr3-maven-plugin</artifactId> |
| 229 | <version>3.5.1</version> |
| 230 | <configuration> |
| 231 | <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory> |
| 232 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory> |
| 233 | <libDirectory>${basedir}/src/main/antlr</libDirectory> |
| 234 | </configuration> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 235 | <executions> |
| 236 | <execution> |
| 237 | <goals> |
| 238 | <goal>antlr</goal> |
| 239 | </goals> |
| 240 | <phase>generate-sources</phase> |
| 241 | </execution> |
| 242 | </executions> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 243 | </plugin> |
| 244 | </plugins> |
| 245 | </build> |
Joachim Bingel | 4b405f5 | 2013-11-15 15:29:30 +0000 | [diff] [blame] | 246 | </project> |