blob: b3b66f872ca18262546c288853b8518674372260 [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>
34 <groupId>com.google.guava</groupId>
35 <artifactId>guava</artifactId>
36 <version>15.0</version>
37 </dependency>
38 <dependency>
39 <groupId>com.fasterxml.jackson.core</groupId>
40 <artifactId>jackson-core</artifactId>
41 <version>2.3.3</version>
42 </dependency>
43 <dependency>
44 <groupId>com.fasterxml.jackson.core</groupId>
45 <artifactId>jackson-annotations</artifactId>
46 <version>2.3.3</version>
47 </dependency>
48 <dependency>
49 <groupId>com.fasterxml.jackson.core</groupId>
50 <artifactId>jackson-databind</artifactId>
51 <version>2.3.3</version>
52 </dependency>
53 <!-- dependency> <groupId>KorAP-modules</groupId> <artifactId>KorAP-PoliqarpParser</artifactId>
54 <version>0.1</version> </dependency> <dependency> <groupId>KorAP-modules</groupId>
55 <artifactId>KorAP-Cosmas2Parser</artifactId> <version>0.02</version> </dependency>
56 <dependency> <groupId>KorAP-modules</groupId> <artifactId>KorAP-AnnisParser</artifactId>
57 <version>0.01</version> </dependency -->
58 <dependency>
59 <groupId>junit</groupId>
60 <artifactId>junit</artifactId>
61 <version>4.11</version>
62 <scope>test</scope>
63 </dependency>
64 <dependency>
65 <groupId>commons-lang</groupId>
66 <artifactId>commons-lang</artifactId>
67 <version>2.6</version>
68 </dependency>
69 <dependency>
70 <groupId>org.z3950.zing</groupId>
71 <artifactId>cql-java</artifactId>
72 <version>1.12</version>
73 </dependency>
Joachim Bingel4b9fbd72014-12-18 15:57:05 +000074 <dependency>
75 <groupId>KorAP-modules</groupId>
76 <artifactId>KorAP-Entities</artifactId>
77 <version>1.1</version>
78 </dependency>
Joachim Bingel6003b852014-12-18 14:20:55 +000079 </dependencies>
80 <build>
81 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
82 <outputDirectory>${basedir}/bin</outputDirectory>
83 <plugins>
84 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
85 <plugin>
86 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
87 <artifactId>maven-java-formatter-plugin</artifactId>
88 <version>0.4</version>
89 <configuration>
90 <configFile>${project.basedir}/korap-style.xml</configFile>
91 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
92 <compilerSource>1.7</compilerSource>
93 <compilerCompliance>1.7</compilerCompliance>
94 <compilerTargetPlatform>1.7</compilerTargetPlatform>
95 </configuration>
96 </plugin>
97 <plugin>
98 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
99 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 +0000100 <groupId>org.antlr</groupId>
101 <artifactId>antlr4-maven-plugin</artifactId>
Joachim Bingel787836a2014-08-07 14:50:18 +0000102 <version>4.1</version>
Joachim Bingeldbbde772014-05-12 15:26:10 +0000103 <executions>
Joachim Bingel6003b852014-12-18 14:20:55 +0000104 <execution>
105 <id>poliqarpplus</id>
106 <goals>
107 <goal>antlr4</goal>
108 </goals>
109 <configuration>
110 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
111 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
112 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
113 </configuration>
114 <phase>generate-sources</phase>
115 </execution>
116 <execution>
117 <id>annis</id>
118 <goals>
119 <goal>antlr4</goal>
120 </goals>
121 <configuration>
122 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
123 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
124 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
125 </configuration>
126 <phase>generate-sources</phase>
127 </execution>
128 <execution>
129 <id>collection</id>
130 <goals>
131 <goal>antlr4</goal>
132 </goals>
133 <configuration>
134 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
135 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
136 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
137 </configuration>
138 <phase>generate-sources</phase>
139 </execution>
Joachim Bingeldbbde772014-05-12 15:26:10 +0000140 </executions>
Joachim Bingel6003b852014-12-18 14:20:55 +0000141 </plugin>
142 <plugin>
143 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
144 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
145 <groupId>org.antlr</groupId>
146 <artifactId>antlr3-maven-plugin</artifactId>
147 <version>3.5.1</version>
148 <configuration>
149 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
150 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
151 <libDirectory>${basedir}/src/main/antlr</libDirectory>
152 </configuration>
153
154 <executions>
155 <execution>
156 <goals>
157 <goal>antlr</goal>
158 </goals>
159 <phase>generate-sources</phase>
160 </execution>
161 </executions>
162
163 </plugin>
164 <plugin>
165 <artifactId>maven-compiler-plugin</artifactId>
166 <version>2.3.2</version>
167 <configuration>
168 <source>1.7</source>
169 <target>1.7</target>
170 <!-- excludes> <exclude>**/CosmasTree.java</exclude> </excludes -->
171 </configuration>
172 </plugin>
173 </plugins>
174 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000175</project>