blob: 2aba85573581bf536a66eb79081cff3387b076ee [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>
margarethaca05cc22016-06-10 11:01:32 +020018 <repository>
19 <id>CLARIN</id>
20 <name>CLARIN Repository</name>
21 <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
22 <snapshots>
23 <enabled>false</enabled>
24 </snapshots>
25 </repository>
Joachim Bingela6954de2015-03-20 16:37:37 +010026 </repositories>
27 <dependencies>
28 <dependency>
29 <groupId>org.antlr</groupId>
30 <artifactId>antlr4-runtime</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +000031 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010032 </dependency>
33 <dependency>
34 <groupId>org.antlr</groupId>
35 <artifactId>antlr4-maven-plugin</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +000036 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010037 </dependency>
38 <dependency>
39 <groupId>org.antlr</groupId>
40 <artifactId>antlr-runtime</artifactId>
41 <version>3.5</version>
42 <scope>compile</scope>
43 </dependency>
44 <dependency>
45 <groupId>com.google.guava</groupId>
46 <artifactId>guava</artifactId>
47 <version>15.0</version>
48 </dependency>
49 <dependency>
50 <groupId>com.fasterxml.jackson.core</groupId>
51 <artifactId>jackson-core</artifactId>
52 <version>2.3.3</version>
53 </dependency>
54 <dependency>
55 <groupId>com.fasterxml.jackson.core</groupId>
56 <artifactId>jackson-annotations</artifactId>
57 <version>2.3.3</version>
58 </dependency>
59 <dependency>
60 <groupId>com.fasterxml.jackson.core</groupId>
61 <artifactId>jackson-databind</artifactId>
62 <version>2.3.3</version>
63 </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 <dependency>
Joachim Bingela6954de2015-03-20 16:37:37 +010081 <groupId>log4j</groupId>
82 <artifactId>log4j</artifactId>
83 <version>1.2.17</version>
84 </dependency>
85 <dependency>
86 <groupId>log4j</groupId>
87 <artifactId>apache-log4j-extras</artifactId>
88 <version>1.2.17</version>
89 </dependency>
90 <dependency>
91 <groupId>org.slf4j</groupId>
92 <artifactId>slf4j-api</artifactId>
93 <version>1.7.5</version>
94 </dependency>
95 <dependency>
96 <groupId>org.slf4j</groupId>
97 <artifactId>slf4j-log4j12</artifactId>
98 <version>1.7.5</version>
99 </dependency>
100 </dependencies>
101 <build>
102 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
103 <outputDirectory>${basedir}/target/classes</outputDirectory>
104 <plugins>
Michael Hanle91345d2015-10-22 17:55:27 +0200105 <plugin>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-compiler-plugin</artifactId>
108 <version>3.3</version>
109 <configuration>
110 <compilerVersion>1.7</compilerVersion>
111 <source>1.7</source>
112 <target>1.7</target>
113 </configuration>
114 </plugin>
Joachim Bingela6954de2015-03-20 16:37:37 +0100115 <!--
116 Formatter plugin for Eclipse based coding conventions
117 http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html
Michael Hanle91345d2015-10-22 17:55:27 +0200118 -->
Joachim Bingela6954de2015-03-20 16:37:37 +0100119 <plugin>
120 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
121 <artifactId>maven-java-formatter-plugin</artifactId>
122 <version>0.4</version>
123 <configuration>
124 <configFile>${project.basedir}/Format.xml</configFile>
125 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
126 <compilerSource>1.7</compilerSource>
127 <compilerCompliance>1.7</compilerCompliance>
128 <compilerTargetPlatform>1.7</compilerTargetPlatform>
129 </configuration>
130 </plugin>
131 <plugin>
132 <artifactId>maven-dependency-plugin</artifactId>
133 <executions>
134 <execution>
135 <phase>install</phase>
136 <goals>
137 <goal>copy-dependencies</goal>
138 </goals>
139 <configuration>
140 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
141 </configuration>
142 </execution>
143 </executions>
144 </plugin>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-jar-plugin</artifactId>
148 <version>2.5</version>
149 <configuration>
150 <archive>
151 <manifest>
152 <addClasspath>true</addClasspath>
153 <classpathPrefix>../lib/</classpathPrefix>
154 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
155 </manifest>
156 </archive>
157 </configuration>
158 </plugin>
159 <plugin>
160 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
161 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
162 <groupId>org.antlr</groupId>
163 <artifactId>antlr4-maven-plugin</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +0000164 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +0100165 <executions>
166 <execution>
167 <id>poliqarpplus</id>
168 <goals>
169 <goal>antlr4</goal>
170 </goals>
171 <configuration>
172 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
173 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
174 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
175 </configuration>
176 <phase>generate-sources</phase>
177 </execution>
178 <execution>
179 <id>annis</id>
180 <goals>
181 <goal>antlr4</goal>
182 </goals>
183 <configuration>
184 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
185 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
186 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
187 </configuration>
188 <phase>generate-sources</phase>
189 </execution>
190 <execution>
191 <id>collection</id>
192 <goals>
193 <goal>antlr4</goal>
194 </goals>
195 <configuration>
196 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
197 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
198 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
199 </configuration>
200 <phase>generate-sources</phase>
201 </execution>
202 </executions>
203 </plugin>
204 <plugin>
205 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
206 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
207 <groupId>org.antlr</groupId>
208 <artifactId>antlr3-maven-plugin</artifactId>
209 <version>3.5.1</version>
210 <configuration>
211 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
212 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
213 <libDirectory>${basedir}/src/main/antlr</libDirectory>
214 </configuration>
215
216 <executions>
217 <execution>
218 <goals>
219 <goal>antlr</goal>
220 </goals>
221 <phase>generate-sources</phase>
222 </execution>
223 </executions>
Joachim Bingela6954de2015-03-20 16:37:37 +0100224 </plugin>
225 </plugins>
226 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000227</project>