blob: 76d29f5553e08a020cbdb92a0b4d994ae21a96d8 [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 Bingela6954de2015-03-20 16:37:37 +01002 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> <groupId>KorAP-modules</groupId> <artifactId>KorAP-core-modules</artifactId>
5 <version>1.1</version> </parent> -->
Michael Hanl10d21502014-02-07 20:09:58 +00006
Michael Hanlf33f7062015-06-24 21:14:26 +02007 <groupId>de.ids_mannheim.korap</groupId>
Joachim Bingela6954de2015-03-20 16:37:37 +01008 <artifactId>Koral</artifactId>
Akron79cd7362016-06-03 17:05:05 +02009 <version>0.22</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010010 <packaging>jar</packaging>
11 <name>Koral</name>
12 <url>http://maven.apache.org</url>
13 <repositories>
14 <repository>
15 <id>id-maven-repo</id>
16 <url>http://maven.indexdata.com</url>
17 </repository>
18 </repositories>
19 <dependencies>
20 <dependency>
21 <groupId>org.antlr</groupId>
22 <artifactId>antlr4-runtime</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +000023 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010024 </dependency>
25 <dependency>
26 <groupId>org.antlr</groupId>
27 <artifactId>antlr4-maven-plugin</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +000028 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010029 </dependency>
30 <dependency>
31 <groupId>org.antlr</groupId>
32 <artifactId>antlr-runtime</artifactId>
33 <version>3.5</version>
34 <scope>compile</scope>
35 </dependency>
36 <dependency>
37 <groupId>com.google.guava</groupId>
38 <artifactId>guava</artifactId>
39 <version>15.0</version>
40 </dependency>
41 <dependency>
42 <groupId>com.fasterxml.jackson.core</groupId>
43 <artifactId>jackson-core</artifactId>
44 <version>2.3.3</version>
45 </dependency>
46 <dependency>
47 <groupId>com.fasterxml.jackson.core</groupId>
48 <artifactId>jackson-annotations</artifactId>
49 <version>2.3.3</version>
50 </dependency>
51 <dependency>
52 <groupId>com.fasterxml.jackson.core</groupId>
53 <artifactId>jackson-databind</artifactId>
54 <version>2.3.3</version>
55 </dependency>
56 <dependency>
57 <groupId>junit</groupId>
58 <artifactId>junit</artifactId>
59 <version>4.11</version>
60 <scope>test</scope>
61 </dependency>
62 <dependency>
63 <groupId>commons-lang</groupId>
64 <artifactId>commons-lang</artifactId>
65 <version>2.6</version>
66 </dependency>
67 <dependency>
68 <groupId>org.z3950.zing</groupId>
69 <artifactId>cql-java</artifactId>
70 <version>1.12</version>
71 </dependency>
72 <dependency>
Joachim Bingela6954de2015-03-20 16:37:37 +010073 <groupId>log4j</groupId>
74 <artifactId>log4j</artifactId>
75 <version>1.2.17</version>
76 </dependency>
77 <dependency>
78 <groupId>log4j</groupId>
79 <artifactId>apache-log4j-extras</artifactId>
80 <version>1.2.17</version>
81 </dependency>
82 <dependency>
83 <groupId>org.slf4j</groupId>
84 <artifactId>slf4j-api</artifactId>
85 <version>1.7.5</version>
86 </dependency>
87 <dependency>
88 <groupId>org.slf4j</groupId>
89 <artifactId>slf4j-log4j12</artifactId>
90 <version>1.7.5</version>
91 </dependency>
92 </dependencies>
93 <build>
94 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
95 <outputDirectory>${basedir}/target/classes</outputDirectory>
96 <plugins>
Michael Hanle91345d2015-10-22 17:55:27 +020097 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-compiler-plugin</artifactId>
100 <version>3.3</version>
101 <configuration>
102 <compilerVersion>1.7</compilerVersion>
103 <source>1.7</source>
104 <target>1.7</target>
105 </configuration>
106 </plugin>
Joachim Bingela6954de2015-03-20 16:37:37 +0100107 <!--
108 Formatter plugin for Eclipse based coding conventions
109 http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html
Michael Hanle91345d2015-10-22 17:55:27 +0200110 -->
Joachim Bingela6954de2015-03-20 16:37:37 +0100111 <plugin>
112 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
113 <artifactId>maven-java-formatter-plugin</artifactId>
114 <version>0.4</version>
115 <configuration>
116 <configFile>${project.basedir}/Format.xml</configFile>
117 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
118 <compilerSource>1.7</compilerSource>
119 <compilerCompliance>1.7</compilerCompliance>
120 <compilerTargetPlatform>1.7</compilerTargetPlatform>
121 </configuration>
122 </plugin>
123 <plugin>
124 <artifactId>maven-dependency-plugin</artifactId>
125 <executions>
126 <execution>
127 <phase>install</phase>
128 <goals>
129 <goal>copy-dependencies</goal>
130 </goals>
131 <configuration>
132 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
133 </configuration>
134 </execution>
135 </executions>
136 </plugin>
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-jar-plugin</artifactId>
140 <version>2.5</version>
141 <configuration>
142 <archive>
143 <manifest>
144 <addClasspath>true</addClasspath>
145 <classpathPrefix>../lib/</classpathPrefix>
146 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
147 </manifest>
148 </archive>
149 </configuration>
150 </plugin>
151 <plugin>
152 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
153 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
154 <groupId>org.antlr</groupId>
155 <artifactId>antlr4-maven-plugin</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +0000156 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +0100157 <executions>
158 <execution>
159 <id>poliqarpplus</id>
160 <goals>
161 <goal>antlr4</goal>
162 </goals>
163 <configuration>
164 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
165 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
166 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
167 </configuration>
168 <phase>generate-sources</phase>
169 </execution>
170 <execution>
171 <id>annis</id>
172 <goals>
173 <goal>antlr4</goal>
174 </goals>
175 <configuration>
176 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
177 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
178 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
179 </configuration>
180 <phase>generate-sources</phase>
181 </execution>
182 <execution>
183 <id>collection</id>
184 <goals>
185 <goal>antlr4</goal>
186 </goals>
187 <configuration>
188 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
189 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
190 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
191 </configuration>
192 <phase>generate-sources</phase>
193 </execution>
194 </executions>
195 </plugin>
196 <plugin>
197 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
198 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
199 <groupId>org.antlr</groupId>
200 <artifactId>antlr3-maven-plugin</artifactId>
201 <version>3.5.1</version>
202 <configuration>
203 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
204 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
205 <libDirectory>${basedir}/src/main/antlr</libDirectory>
206 </configuration>
207
208 <executions>
209 <execution>
210 <goals>
211 <goal>antlr</goal>
212 </goals>
213 <phase>generate-sources</phase>
214 </execution>
215 </executions>
Joachim Bingela6954de2015-03-20 16:37:37 +0100216 </plugin>
217 </plugins>
218 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000219</project>