blob: 88e9c121d56d39c9662a85211775b83866f11a57 [file] [log] [blame]
Michael Blow82464fb2017-03-28 18:48:13 -04001<!--
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 !-->
Abdullah Alamoudi806f7d22016-07-23 18:02:55 +030019<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">
Yingyi Buab817482016-08-19 21:29:31 -070020 <modelVersion>4.0.0</modelVersion>
21 <parent>
22 <groupId>org.apache.asterix</groupId>
23 <artifactId>asterix-maven-plugins</artifactId>
AsterixDB Jenkins92a9a652017-08-07 17:23:07 -070024 <version>0.9.3-SNAPSHOT</version>
Yingyi Buab817482016-08-19 21:29:31 -070025 </parent>
26 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
27 <packaging>maven-plugin</packaging>
Michael Blow4cd925c2018-01-20 17:15:38 -050028 <properties>
29 <root.dir>${basedir}/../..</root.dir>
30 </properties>
Yingyi Buab817482016-08-19 21:29:31 -070031 <dependencies>
32 <dependency>
33 <groupId>org.apache.maven</groupId>
34 <artifactId>maven-plugin-api</artifactId>
Yingyi Buab817482016-08-19 21:29:31 -070035 </dependency>
36 <dependency>
37 <groupId>org.apache.maven</groupId>
38 <artifactId>maven-core</artifactId>
Michael Blowfbccee62016-10-26 12:18:30 -040039 <version>3.3.9</version>
Yingyi Buab817482016-08-19 21:29:31 -070040 </dependency>
41 <dependency>
42 <groupId>org.apache.maven</groupId>
43 <artifactId>maven-compat</artifactId>
Michael Blowfbccee62016-10-26 12:18:30 -040044 <version>3.3.9</version>
Yingyi Buab817482016-08-19 21:29:31 -070045 </dependency>
Abdullah Alamoudi806f7d22016-07-23 18:02:55 +030046 <!-- dependencies to annotations -->
Yingyi Buab817482016-08-19 21:29:31 -070047 <dependency>
48 <groupId>org.apache.maven.plugin-tools</groupId>
49 <artifactId>maven-plugin-annotations</artifactId>
Michael Blowfbccee62016-10-26 12:18:30 -040050 <version>3.5</version>
Yingyi Buab817482016-08-19 21:29:31 -070051 <scope>provided</scope>
52 </dependency>
53 <dependency>
Abdullah Alamoudid718dc42017-02-02 21:41:48 -080054 <groupId>org.apache.hyracks</groupId>
55 <artifactId>algebricks-common</artifactId>
56 </dependency>
57 <dependency>
Yingyi Buab817482016-08-19 21:29:31 -070058 <groupId>org.apache.asterix</groupId>
59 <artifactId>asterix-external-data</artifactId>
60 <version>${project.version}</version>
61 </dependency>
62 <dependency>
63 <groupId>org.apache.maven.plugin-testing</groupId>
64 <artifactId>maven-plugin-testing-harness</artifactId>
65 <version>3.3.0</version>
66 <scope>test</scope>
67 </dependency>
68 <dependency>
69 <groupId>org.apache.asterix</groupId>
70 <artifactId>asterix-lang-common</artifactId>
71 <version>${project.version}</version>
72 </dependency>
73 <dependency>
74 <groupId>org.apache.asterix</groupId>
Michael Blow599ef8f2017-01-12 11:02:53 -050075 <artifactId>asterix-common</artifactId>
Yingyi Buab817482016-08-19 21:29:31 -070076 <version>${project.version}</version>
77 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -050078 <dependency>
79 <groupId>org.apache.commons</groupId>
80 <artifactId>commons-lang3</artifactId>
81 </dependency>
82 <dependency>
83 <groupId>junit</groupId>
84 <artifactId>junit</artifactId>
85 <scope>test</scope>
86 </dependency>
Yingyi Buab817482016-08-19 21:29:31 -070087 </dependencies>
88 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.codehaus.mojo</groupId>
92 <artifactId>javacc-maven-plugin</artifactId>
93 <version>2.6</version>
94 <executions>
95 <execution>
96 <id>javacc</id>
97 <goals>
98 <goal>javacc</goal>
99 </goals>
Ian Maxon9658f932017-03-29 21:36:31 -0700100 <phase>generate-test-sources</phase>
Yingyi Buab817482016-08-19 21:29:31 -0700101 <configuration>
102 <isStatic>false</isStatic>
103 <javaUnicodeEscape>true</javaUnicodeEscape>
104 <sourceDirectory>${project.build.directory}/generated-sources/lang</sourceDirectory>
105 <outputDirectory>${project.build.directory}/generated-sources/javacc</outputDirectory>
106 </configuration>
107 </execution>
Yingyi Buab817482016-08-19 21:29:31 -0700108 </executions>
109 </plugin>
Michael Blow599ef8f2017-01-12 11:02:53 -0500110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow599ef8f2017-01-12 11:02:53 -0500113 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500114 <usedDependencies combine.children="append">
Michael Blow599ef8f2017-01-12 11:02:53 -0500115 <usedDependency>org.apache.maven:maven-core</usedDependency>
116 <usedDependency>org.apache.maven:maven-compat</usedDependency>
117 </usedDependencies>
118 </configuration>
119 </plugin>
Yingyi Buab817482016-08-19 21:29:31 -0700120 </plugins>
121 <pluginManagement>
122 <plugins>
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-plugin-plugin</artifactId>
Yingyi Buab817482016-08-19 21:29:31 -0700126 <configuration>
127 <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
128 </configuration>
129 <executions>
130 <execution>
131 <id>mojo-descriptor</id>
132 <phase>process-classes</phase>
133 <goals>
134 <goal>descriptor</goal>
135 </goals>
136 </execution>
137 </executions>
138 </plugin>
139 </plugins>
140 </pluginManagement>
141 </build>
Michael Blow7626d162017-12-10 14:26:56 -0500142 <profiles>
143 <profile>
144 <id>jjdoc</id>
145 <activation>
146 <property>
147 <name>jjdoc.skip</name>
148 <value>!true</value>
149 </property>
150 </activation>
151 <build>
152 <plugins>
153 <plugin>
154 <groupId>org.codehaus.mojo</groupId>
155 <artifactId>javacc-maven-plugin</artifactId>
156 <executions>
157 <execution>
158 <id>javacc-jjdoc</id>
159 <goals>
160 <goal>jjdoc</goal>
161 </goals>
162 <phase>generate-test-sources</phase>
163 </execution>
164 </executions>
165 </plugin>
166 </plugins>
167 </build>
168 </profile>
169 </profiles>
Abdullah Alamoudi806f7d22016-07-23 18:02:55 +0300170</project>