blob: d838e0f7d6b46d4a6ae9002f165d1abd0eb1aa00 [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>
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>
99 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
100 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 +0000101 <groupId>org.antlr</groupId>
102 <artifactId>antlr4-maven-plugin</artifactId>
Joachim Bingel787836a2014-08-07 14:50:18 +0000103 <version>4.1</version>
Joachim Bingeldbbde772014-05-12 15:26:10 +0000104 <executions>
Joachim Bingel6003b852014-12-18 14:20:55 +0000105 <execution>
106 <id>poliqarpplus</id>
107 <goals>
108 <goal>antlr4</goal>
109 </goals>
110 <configuration>
111 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
112 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
113 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
114 </configuration>
115 <phase>generate-sources</phase>
116 </execution>
117 <execution>
118 <id>annis</id>
119 <goals>
120 <goal>antlr4</goal>
121 </goals>
122 <configuration>
123 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
124 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
125 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
126 </configuration>
127 <phase>generate-sources</phase>
128 </execution>
129 <execution>
130 <id>collection</id>
131 <goals>
132 <goal>antlr4</goal>
133 </goals>
134 <configuration>
135 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
136 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
137 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
138 </configuration>
139 <phase>generate-sources</phase>
140 </execution>
Joachim Bingeldbbde772014-05-12 15:26:10 +0000141 </executions>
Joachim Bingel6003b852014-12-18 14:20:55 +0000142 </plugin>
143 <plugin>
144 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
145 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
146 <groupId>org.antlr</groupId>
147 <artifactId>antlr3-maven-plugin</artifactId>
148 <version>3.5.1</version>
149 <configuration>
150 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
151 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
152 <libDirectory>${basedir}/src/main/antlr</libDirectory>
153 </configuration>
154
155 <executions>
156 <execution>
157 <goals>
158 <goal>antlr</goal>
159 </goals>
160 <phase>generate-sources</phase>
161 </execution>
162 </executions>
163
164 </plugin>
165 <plugin>
166 <artifactId>maven-compiler-plugin</artifactId>
167 <version>2.3.2</version>
168 <configuration>
169 <source>1.7</source>
170 <target>1.7</target>
171 <!-- excludes> <exclude>**/CosmasTree.java</exclude> </excludes -->
172 </configuration>
173 </plugin>
174 </plugins>
175 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000176</project>