blob: e1d517c27b3ccadb6a1de6a194fbd0bce9c65d5f [file] [log] [blame]
ggalvizoab83c3b2021-12-22 14:15:50 -08001<!--
2 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
18 !-->
19<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21 <modelVersion>4.0.0</modelVersion>
22 <parent>
23 <groupId>org.apache.asterix.graphix</groupId>
24 <artifactId>asterix-opt</artifactId>
25 <version>0.1.0-SNAPSHOT</version>
26 </parent>
27
28 <artifactId>asterix-graphix</artifactId>
29 <properties>
Ian Maxon868bce22022-01-20 11:59:28 -080030 <asterix.version>0.9.8-SNAPSHOT</asterix.version>
31 <hyracks.version>0.3.8-SNAPSHOT</hyracks.version>
ggalvizoab83c3b2021-12-22 14:15:50 -080032 </properties>
33
34 <build>
35 <plugins>
36 <plugin>
37 <groupId>org.apache.asterix</groupId>
38 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
39 <version>${asterix.version}</version>
40 <configuration>
41 <base>${project.basedir}</base>
42 <gbase>../../asterix-lang-sqlpp/src/main/javacc/SQLPP.jj</gbase>
43 <gextension>src/main/resources/lang-extension/lang.txt</gextension>
44 <output>target/generated-resources/javacc/grammar.jj</output>
45 <parserClassName>GraphixParser</parserClassName>
46 <packageName>org.apache.asterix.graphix.lang.parser</packageName>
47 </configuration>
48 <executions>
49 <execution>
50 <phase>generate-sources</phase>
51 <goals>
52 <goal>grammarix</goal>
53 </goals>
54 </execution>
55 </executions>
56 </plugin>
57 <plugin>
58 <groupId>org.codehaus.mojo</groupId>
59 <artifactId>javacc-maven-plugin</artifactId>
60 <executions>
61 <execution>
62 <id>javacc</id>
63 <goals>
64 <goal>javacc</goal>
65 </goals>
66 <configuration>
67 <isStatic>false</isStatic>
68 <javaUnicodeEscape>true</javaUnicodeEscape>
69 <sourceDirectory>target/generated-resources/javacc</sourceDirectory>
70 </configuration>
71 </execution>
72 <execution>
73 <id>javacc-jjdoc</id>
74 <goals>
75 <goal>jjdoc</goal>
76 </goals>
77 <phase>process-sources</phase>
78 </execution>
79 </executions>
80 </plugin>
81 <plugin>
82 <groupId>org.codehaus.mojo</groupId>
83 <artifactId>build-helper-maven-plugin</artifactId>
84 <executions>
85 <execution>
86 <id>add-source</id>
87 <phase>generate-sources</phase>
88 <goals>
89 <goal>add-source</goal>
90 </goals>
91 <configuration>
92 <sources>
93 <source>${project.build.directory}/generated-sources/javacc/</source>
94 </sources>
95 </configuration>
96 </execution>
97 </executions>
98 </plugin>
99 <plugin>
100 <groupId>org.apache.rat</groupId>
101 <artifactId>apache-rat-plugin</artifactId>
102 <configuration>
103 <excludes combine.children="append">
104 <exclude>src/test/resources/**/results/**</exclude>
105 <exclude>data/**</exclude>
106 </excludes>
107 </configuration>
108 </plugin>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-dependency-plugin</artifactId>
112 <configuration>
113 <usedDependencies>
114 <usedDependency>org.apache.hadoop:hadoop-minicluster</usedDependency>
115 <usedDependency>org.apache.asterix:asterix-fuzzyjoin</usedDependency>
116 </usedDependencies>
117 <ignoredUnusedDeclaredDependencies>
118 <ignoredUnusedDeclaredDependency>org.apache.asterix:asterix-common</ignoredUnusedDeclaredDependency>
119 </ignoredUnusedDeclaredDependencies>
120 </configuration>
121 </plugin>
122 <plugin>
123 <groupId>net.revelc.code.formatter</groupId>
124 <artifactId>formatter-maven-plugin</artifactId>
125 <executions>
126 <execution>
127 <goals>
128 <goal>${source-format.goal}</goal>
129 </goals>
130 </execution>
131 </executions>
132 <configuration>
133 <configFile>../../../hyracks-fullstack/AsterixCodeFormatProfile.xml</configFile>
134 <skipFormatting>${source-format.skip}</skipFormatting>
135 </configuration>
136 </plugin>
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-compiler-plugin</artifactId>
140 <configuration>
141 <source>9</source>
142 <target>9</target>
143 </configuration>
144 </plugin>
145 </plugins>
146
147 <pluginManagement>
148 <plugins>
149 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
150 <plugin>
151 <groupId>org.eclipse.m2e</groupId>
152 <artifactId>lifecycle-mapping</artifactId>
153 <version>1.0.0</version>
154 <configuration>
155 <lifecycleMappingMetadata>
156 <pluginExecutions>
157 <pluginExecution>
158 <pluginExecutionFilter>
159 <groupId>org.apache.asterix</groupId>
160 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
161 <versionRange>[${asterix.version},)</versionRange>
162 <goals>
163 <goal>grammarix</goal>
164 </goals>
165 </pluginExecutionFilter>
166 <action>
167 <ignore></ignore>
168 </action>
169 </pluginExecution>
170 <pluginExecution>
171 <pluginExecutionFilter>
172 <groupId>org.codehaus.mojo</groupId>
173 <artifactId>javacc-maven-plugin</artifactId>
174 <versionRange>[2.6,)</versionRange>
175 <goals>
176 <goal>javacc</goal>
177 </goals>
178 </pluginExecutionFilter>
179 <action>
180 <ignore></ignore>
181 </action>
182 </pluginExecution>
183 </pluginExecutions>
184 </lifecycleMappingMetadata>
185 </configuration>
186 </plugin>
187 </plugins>
188 </pluginManagement>
189 </build>
190
191 <dependencies>
192 <dependency>
193 <groupId>org.apache.asterix</groupId>
194 <artifactId>asterix-om</artifactId>
195 <version>${asterix.version}</version>
196 <type>jar</type>
197 <scope>compile</scope>
198 </dependency>
199 <dependency>
200 <groupId>org.apache.asterix</groupId>
201 <artifactId>asterix-runtime</artifactId>
202 <version>${asterix.version}</version>
203 <type>jar</type>
204 <scope>compile</scope>
205 </dependency>
206 <dependency>
207 <groupId>org.apache.asterix</groupId>
208 <artifactId>asterix-common</artifactId>
209 <version>${asterix.version}</version>
210 </dependency>
211 <dependency>
212 <groupId>org.apache.asterix</groupId>
213 <artifactId>asterix-algebra</artifactId>
214 <version>${asterix.version}</version>
215 <scope>compile</scope>
216 </dependency>
217 <dependency>
218 <groupId>org.apache.asterix</groupId>
219 <artifactId>asterix-metadata</artifactId>
220 <version>${asterix.version}</version>
221 </dependency>
222 <dependency>
223 <groupId>org.apache.asterix</groupId>
224 <artifactId>asterix-app</artifactId>
225 <version>${asterix.version}</version>
226 <type>jar</type>
227 <scope>compile</scope>
228 </dependency>
229 <dependency>
230 <groupId>org.apache.asterix</groupId>
231 <artifactId>asterix-app</artifactId>
232 <version>${asterix.version}</version>
233 <type>test-jar</type>
234 <scope>test</scope>
235 </dependency>
236 <dependency>
237 <groupId>org.apache.asterix</groupId>
238 <artifactId>asterix-test-framework</artifactId>
ggalvizo08eab6f2022-04-15 15:22:00 -0700239 <version>${asterix.version}</version>
ggalvizoab83c3b2021-12-22 14:15:50 -0800240 <scope>test</scope>
241 </dependency>
242
243 <dependency>
244 <groupId>org.apache.hyracks</groupId>
245 <artifactId>algebricks-compiler</artifactId>
246 <version>${hyracks.version}</version>
247 </dependency>
248 <dependency>
249 <groupId>org.apache.hyracks</groupId>
250 <artifactId>hyracks-test-support</artifactId>
251 <version>${hyracks.version}</version>
252 </dependency>
253 <dependency>
254 <groupId>org.apache.hyracks</groupId>
255 <artifactId>hyracks-storage-am-lsm-btree-test</artifactId>
256 <version>${hyracks.version}</version>
257 <type>test-jar</type>
258 <scope>test</scope>
259 </dependency>
260 </dependencies>
261</project>