Steven Glenn Jacobs | d0ec837 | 2016-12-07 11:00:08 -0800 | [diff] [blame^] | 1 | <!-- |
| 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | <parent> |
| 22 | <groupId>org.apache.asterix.bad</groupId> |
| 23 | <artifactId>asterix-opt</artifactId> |
| 24 | <version>1.0.0-SNAPSHOT</version> |
| 25 | </parent> |
| 26 | <artifactId>asterix-bad</artifactId> |
| 27 | <properties> |
| 28 | <asterix.version>0.8.9-SNAPSHOT</asterix.version> |
| 29 | </properties> |
| 30 | <build> |
| 31 | <plugins> |
| 32 | <plugin> |
| 33 | <groupId>org.apache.asterix</groupId> |
| 34 | <artifactId>asterix-grammar-extension-maven-plugin</artifactId> |
| 35 | <version>${asterix.version}</version> |
| 36 | <configuration> |
| 37 | <base>${project.basedir}</base> |
| 38 | <gbase>../../asterix-lang-aql/src/main/javacc/AQL.jj</gbase> |
| 39 | <gextension>src/main/resources/lang-extension/lang.txt</gextension> |
| 40 | <output>target/generated-resources/javacc/grammar.jj</output> |
| 41 | <parserClassName>BADAQLParser</parserClassName> |
| 42 | <packageName>org.apache.asterix.bad.lang</packageName> |
| 43 | </configuration> |
| 44 | <executions> |
| 45 | <execution> |
| 46 | <phase>generate-sources</phase> |
| 47 | <goals> |
| 48 | <goal>grammarix</goal> |
| 49 | </goals> |
| 50 | </execution> |
| 51 | </executions> |
| 52 | </plugin> |
| 53 | <plugin> |
| 54 | <groupId>org.codehaus.mojo</groupId> |
| 55 | <artifactId>javacc-maven-plugin</artifactId> |
| 56 | <version>2.6</version> |
| 57 | <executions> |
| 58 | <execution> |
| 59 | <id>javacc</id> |
| 60 | <goals> |
| 61 | <goal>javacc</goal> |
| 62 | </goals> |
| 63 | <configuration> |
| 64 | <isStatic>false</isStatic> |
| 65 | <javaUnicodeEscape>true</javaUnicodeEscape> |
| 66 | <sourceDirectory>target/generated-resources/javacc</sourceDirectory> |
| 67 | </configuration> |
| 68 | </execution> |
| 69 | <execution> |
| 70 | <id>javacc-jjdoc</id> |
| 71 | <goals> |
| 72 | <goal>jjdoc</goal> |
| 73 | </goals> |
| 74 | <phase>process-sources</phase> |
| 75 | </execution> |
| 76 | </executions> |
| 77 | </plugin> |
| 78 | <plugin> |
| 79 | <groupId>org.codehaus.mojo</groupId> |
| 80 | <artifactId>build-helper-maven-plugin</artifactId> |
| 81 | <version>1.9</version> |
| 82 | <executions> |
| 83 | <execution> |
| 84 | <id>add-source</id> |
| 85 | <phase>generate-sources</phase> |
| 86 | <goals> |
| 87 | <goal>add-source</goal> |
| 88 | </goals> |
| 89 | <configuration> |
| 90 | <sources> |
| 91 | <source>${project.build.directory}/generated-sources/javacc/</source> |
| 92 | </sources> |
| 93 | </configuration> |
| 94 | </execution> |
| 95 | </executions> |
| 96 | </plugin> |
| 97 | </plugins> |
| 98 | <pluginManagement> |
| 99 | <plugins> |
| 100 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 101 | <plugin> |
| 102 | <groupId>org.eclipse.m2e</groupId> |
| 103 | <artifactId>lifecycle-mapping</artifactId> |
| 104 | <version>1.0.0</version> |
| 105 | <configuration> |
| 106 | <lifecycleMappingMetadata> |
| 107 | <pluginExecutions> |
| 108 | <pluginExecution> |
| 109 | <pluginExecutionFilter> |
| 110 | <groupId>org.apache.asterix</groupId> |
| 111 | <artifactId>asterix-grammar-extension-maven-plugin</artifactId> |
| 112 | <versionRange>[${asterix.version},)</versionRange> |
| 113 | <goals> |
| 114 | <goal>grammarix</goal> |
| 115 | </goals> |
| 116 | </pluginExecutionFilter> |
| 117 | <action> |
| 118 | <ignore></ignore> |
| 119 | </action> |
| 120 | </pluginExecution> |
| 121 | <pluginExecution> |
| 122 | <pluginExecutionFilter> |
| 123 | <groupId>org.codehaus.mojo</groupId> |
| 124 | <artifactId>javacc-maven-plugin</artifactId> |
| 125 | <versionRange>[2.6,)</versionRange> |
| 126 | <goals> |
| 127 | <goal>javacc</goal> |
| 128 | </goals> |
| 129 | </pluginExecutionFilter> |
| 130 | <action> |
| 131 | <ignore></ignore> |
| 132 | </action> |
| 133 | </pluginExecution> |
| 134 | </pluginExecutions> |
| 135 | </lifecycleMappingMetadata> |
| 136 | </configuration> |
| 137 | </plugin> |
| 138 | </plugins> |
| 139 | </pluginManagement> |
| 140 | </build> |
| 141 | <dependencies> |
| 142 | <dependency> |
| 143 | <groupId>org.apache.asterix</groupId> |
| 144 | <artifactId>asterix-om</artifactId> |
| 145 | <version>${asterix.version}</version> |
| 146 | <type>jar</type> |
| 147 | <scope>compile</scope> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>org.apache.hyracks</groupId> |
| 151 | <artifactId>hyracks-test-support</artifactId> |
| 152 | <scope>test</scope> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>org.apache.asterix</groupId> |
| 156 | <artifactId>asterix-runtime</artifactId> |
| 157 | <version>${asterix.version}</version> |
| 158 | <type>jar</type> |
| 159 | <scope>compile</scope> |
| 160 | </dependency> |
| 161 | <dependency> |
| 162 | <groupId>org.apache.hyracks</groupId> |
| 163 | <artifactId>algebricks-compiler</artifactId> |
| 164 | </dependency> |
| 165 | <dependency> |
| 166 | <groupId>org.apache.hyracks</groupId> |
| 167 | <artifactId>hyracks-hdfs-core</artifactId> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>org.apache.asterix</groupId> |
| 171 | <artifactId>asterix-common</artifactId> |
| 172 | <version>${asterix.version}</version> |
| 173 | </dependency> |
| 174 | <dependency> |
| 175 | <groupId>org.apache.asterix</groupId> |
| 176 | <artifactId>asterix-test-framework</artifactId> |
| 177 | <version>${asterix.version}</version> |
| 178 | </dependency> |
| 179 | <dependency> |
| 180 | <groupId>org.apache.asterix</groupId> |
| 181 | <artifactId>asterix-active</artifactId> |
| 182 | <version>${asterix.version}</version> |
| 183 | </dependency> |
| 184 | <dependency> |
| 185 | <groupId>org.apache.asterix</groupId> |
| 186 | <artifactId>asterix-algebra</artifactId> |
| 187 | <version>${asterix.version}</version> |
| 188 | </dependency> |
| 189 | <dependency> |
| 190 | <groupId>org.apache.asterix</groupId> |
| 191 | <artifactId>asterix-app</artifactId> |
| 192 | <version>${asterix.version}</version> |
| 193 | <type>jar</type> |
| 194 | <scope>compile</scope> |
| 195 | </dependency> |
| 196 | <dependency> |
| 197 | <groupId>org.apache.asterix</groupId> |
| 198 | <artifactId>asterix-app</artifactId> |
| 199 | <version>${asterix.version}</version> |
| 200 | <type>test-jar</type> |
| 201 | <scope>test</scope> |
| 202 | </dependency> |
| 203 | <dependency> |
| 204 | <groupId>org.apache.asterix</groupId> |
| 205 | <artifactId>asterix-common</artifactId> |
| 206 | <version>${asterix.version}</version> |
| 207 | <type>test-jar</type> |
| 208 | <scope>test</scope> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>org.apache.hadoop</groupId> |
| 212 | <artifactId>hadoop-minicluster</artifactId> |
| 213 | <version>${hadoop.version}</version> |
| 214 | <type>jar</type> |
| 215 | <scope>test</scope> |
| 216 | </dependency> |
| 217 | </dependencies> |
| 218 | </project> |