blob: fe15f96ed0a6b26830a152ea3d63aca70f7964a7 [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>
11 <artifactId>KorAP-querySerialization</artifactId>
12 <version>0.02</version>
13 <packaging>jar</packaging>
14 <name>KorAP-querySerialization</name>
15 <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>
Joachim Bingel4b9fbd72014-12-18 15:57:05 +000080 <dependency>
81 <groupId>KorAP-modules</groupId>
82 <artifactId>KorAP-Entities</artifactId>
83 <version>1.1</version>
84 </dependency>
Joachim Bingel6003b852014-12-18 14:20:55 +000085 </dependencies>
86 <build>
87 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
88 <outputDirectory>${basedir}/bin</outputDirectory>
89 <plugins>
90 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
91 <plugin>
92 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
93 <artifactId>maven-java-formatter-plugin</artifactId>
94 <version>0.4</version>
95 <configuration>
96 <configFile>${project.basedir}/korap-style.xml</configFile>
97 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
98 <compilerSource>1.7</compilerSource>
99 <compilerCompliance>1.7</compilerCompliance>
100 <compilerTargetPlatform>1.7</compilerTargetPlatform>
101 </configuration>
102 </plugin>
103 <plugin>
104 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
105 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 +0000106 <groupId>org.antlr</groupId>
107 <artifactId>antlr4-maven-plugin</artifactId>
Joachim Bingel787836a2014-08-07 14:50:18 +0000108 <version>4.1</version>
Joachim Bingeldbbde772014-05-12 15:26:10 +0000109 <executions>
Joachim Bingel6003b852014-12-18 14:20:55 +0000110 <execution>
111 <id>poliqarpplus</id>
112 <goals>
113 <goal>antlr4</goal>
114 </goals>
115 <configuration>
116 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
117 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
118 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
119 </configuration>
120 <phase>generate-sources</phase>
121 </execution>
122 <execution>
123 <id>annis</id>
124 <goals>
125 <goal>antlr4</goal>
126 </goals>
127 <configuration>
128 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
129 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
130 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
131 </configuration>
132 <phase>generate-sources</phase>
133 </execution>
134 <execution>
135 <id>collection</id>
136 <goals>
137 <goal>antlr4</goal>
138 </goals>
139 <configuration>
140 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
141 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
142 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
143 </configuration>
144 <phase>generate-sources</phase>
145 </execution>
Joachim Bingeldbbde772014-05-12 15:26:10 +0000146 </executions>
Joachim Bingel6003b852014-12-18 14:20:55 +0000147 </plugin>
148 <plugin>
149 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
150 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
151 <groupId>org.antlr</groupId>
152 <artifactId>antlr3-maven-plugin</artifactId>
153 <version>3.5.1</version>
154 <configuration>
155 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
156 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
157 <libDirectory>${basedir}/src/main/antlr</libDirectory>
158 </configuration>
159
160 <executions>
161 <execution>
162 <goals>
163 <goal>antlr</goal>
164 </goals>
165 <phase>generate-sources</phase>
166 </execution>
167 </executions>
168
169 </plugin>
170 <plugin>
171 <artifactId>maven-compiler-plugin</artifactId>
172 <version>2.3.2</version>
173 <configuration>
174 <source>1.7</source>
175 <target>1.7</target>
176 <!-- excludes> <exclude>**/CosmasTree.java</exclude> </excludes -->
177 </configuration>
178 </plugin>
179 </plugins>
180 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000181</project>