blob: 216bc3b424de2efc108067c70355e5b9b7de2b94 [file] [log] [blame]
Joachim Bingel4b405f52013-11-15 15:29:30 +00001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Joachim Bingel6003b852014-12-18 14:20:55 +00002 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>
4 <parent>
5 <groupId>KorAP-modules</groupId>
6 <artifactId>KorAP-core-modules</artifactId>
7 <version>1.1</version>
8 </parent>
Michael Hanl10d21502014-02-07 20:09:58 +00009
Joachim Bingel6003b852014-12-18 14:20:55 +000010 <groupId>KorAP-modules</groupId>
Joachim Bingel2b00f492015-01-31 18:25:49 +000011 <artifactId>Koral</artifactId>
12 <version>1.0</version>
Joachim Bingel6003b852014-12-18 14:20:55 +000013 <packaging>jar</packaging>
Joachim Bingel2b00f492015-01-31 18:25:49 +000014 <name>Koral</name>
Joachim Bingel6003b852014-12-18 14:20:55 +000015 <url>http://maven.apache.org</url>
16 <repositories>
17 <repository>
18 <id>id-maven-repo</id>
19 <url>http://maven.indexdata.com</url>
20 </repository>
21 </repositories>
22 <dependencies>
23 <dependency>
24 <groupId>org.antlr</groupId>
25 <artifactId>antlr4-runtime</artifactId>
26 <version>4.1</version>
27 </dependency>
28 <dependency>
Joachim Bingel787836a2014-08-07 14:50:18 +000029 <groupId>org.antlr</groupId>
30 <artifactId>antlr4-maven-plugin</artifactId>
31 <version>4.1</version>
32 </dependency>
Joachim Bingel6003b852014-12-18 14:20:55 +000033 <dependency>
Joachim Bingel2919a052014-12-18 15:58:50 +000034 <groupId>org.antlr</groupId>
35 <artifactId>antlr-runtime</artifactId>
36 <version>3.5</version>
37 <scope>compile</scope>
38 </dependency>
39 <dependency>
Joachim Bingel6003b852014-12-18 14:20:55 +000040 <groupId>com.google.guava</groupId>
41 <artifactId>guava</artifactId>
42 <version>15.0</version>
43 </dependency>
44 <dependency>
45 <groupId>com.fasterxml.jackson.core</groupId>
46 <artifactId>jackson-core</artifactId>
47 <version>2.3.3</version>
48 </dependency>
49 <dependency>
50 <groupId>com.fasterxml.jackson.core</groupId>
51 <artifactId>jackson-annotations</artifactId>
52 <version>2.3.3</version>
53 </dependency>
54 <dependency>
55 <groupId>com.fasterxml.jackson.core</groupId>
56 <artifactId>jackson-databind</artifactId>
57 <version>2.3.3</version>
58 </dependency>
59 <!-- dependency> <groupId>KorAP-modules</groupId> <artifactId>KorAP-PoliqarpParser</artifactId>
60 <version>0.1</version> </dependency> <dependency> <groupId>KorAP-modules</groupId>
61 <artifactId>KorAP-Cosmas2Parser</artifactId> <version>0.02</version> </dependency>
62 <dependency> <groupId>KorAP-modules</groupId> <artifactId>KorAP-AnnisParser</artifactId>
63 <version>0.01</version> </dependency -->
64 <dependency>
65 <groupId>junit</groupId>
66 <artifactId>junit</artifactId>
67 <version>4.11</version>
68 <scope>test</scope>
69 </dependency>
70 <dependency>
71 <groupId>commons-lang</groupId>
72 <artifactId>commons-lang</artifactId>
73 <version>2.6</version>
74 </dependency>
75 <dependency>
76 <groupId>org.z3950.zing</groupId>
77 <artifactId>cql-java</artifactId>
78 <version>1.12</version>
79 </dependency>
80 </dependencies>
81 <build>
82 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
83 <outputDirectory>${basedir}/bin</outputDirectory>
84 <plugins>
85 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
86 <plugin>
87 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
88 <artifactId>maven-java-formatter-plugin</artifactId>
89 <version>0.4</version>
90 <configuration>
91 <configFile>${project.basedir}/korap-style.xml</configFile>
92 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
93 <compilerSource>1.7</compilerSource>
94 <compilerCompliance>1.7</compilerCompliance>
95 <compilerTargetPlatform>1.7</compilerTargetPlatform>
96 </configuration>
97 </plugin>
98 <plugin>
Joachim Bingel2b00f492015-01-31 18:25:49 +000099 <artifactId>maven-dependency-plugin</artifactId>
100 <executions>
101 <execution>
102 <phase>install</phase>
103 <goals>
104 <goal>copy-dependencies</goal>
105 </goals>
106 <configuration>
107 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
108 </configuration>
109 </execution>
110 </executions>
111 </plugin>
112 <plugin>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-jar-plugin</artifactId>
115 <version>2.5</version>
116 <configuration>
117 <archive>
118 <manifest>
119 <addClasspath>true</addClasspath>
120 <classpathPrefix>../lib/</classpathPrefix>
121 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
122 </manifest>
123 </archive>
124 </configuration>
125 </plugin>
126 <plugin>
Joachim Bingel6003b852014-12-18 14:20:55 +0000127 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
128 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
Joachim Bingeldbbde772014-05-12 15:26:10 +0000129 <groupId>org.antlr</groupId>
130 <artifactId>antlr4-maven-plugin</artifactId>
Joachim Bingel787836a2014-08-07 14:50:18 +0000131 <version>4.1</version>
Joachim Bingeldbbde772014-05-12 15:26:10 +0000132 <executions>
Joachim Bingel6003b852014-12-18 14:20:55 +0000133 <execution>
134 <id>poliqarpplus</id>
135 <goals>
136 <goal>antlr4</goal>
137 </goals>
138 <configuration>
139 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
140 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
141 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
142 </configuration>
143 <phase>generate-sources</phase>
144 </execution>
145 <execution>
146 <id>annis</id>
147 <goals>
148 <goal>antlr4</goal>
149 </goals>
150 <configuration>
151 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
152 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
153 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
154 </configuration>
155 <phase>generate-sources</phase>
156 </execution>
157 <execution>
158 <id>collection</id>
159 <goals>
160 <goal>antlr4</goal>
161 </goals>
162 <configuration>
163 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
164 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
165 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
166 </configuration>
167 <phase>generate-sources</phase>
168 </execution>
Joachim Bingeldbbde772014-05-12 15:26:10 +0000169 </executions>
Joachim Bingel6003b852014-12-18 14:20:55 +0000170 </plugin>
171 <plugin>
172 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
173 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
174 <groupId>org.antlr</groupId>
175 <artifactId>antlr3-maven-plugin</artifactId>
176 <version>3.5.1</version>
177 <configuration>
178 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
179 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
180 <libDirectory>${basedir}/src/main/antlr</libDirectory>
181 </configuration>
182
183 <executions>
184 <execution>
185 <goals>
186 <goal>antlr</goal>
187 </goals>
188 <phase>generate-sources</phase>
189 </execution>
190 </executions>
191
192 </plugin>
193 <plugin>
194 <artifactId>maven-compiler-plugin</artifactId>
195 <version>2.3.2</version>
196 <configuration>
197 <source>1.7</source>
198 <target>1.7</target>
199 <!-- excludes> <exclude>**/CosmasTree.java</exclude> </excludes -->
200 </configuration>
201 </plugin>
202 </plugins>
203 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000204</project>