Michael Blow | 82464fb | 2017-03-28 18:48:13 -0400 | [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 | !--> |
Abdullah Alamoudi | 806f7d2 | 2016-07-23 18:02:55 +0300 | [diff] [blame] | 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"> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | <parent> |
| 22 | <groupId>org.apache.asterix</groupId> |
| 23 | <artifactId>asterix-maven-plugins</artifactId> |
Ian Maxon | 2ce5631 | 2023-05-09 12:37:01 -0700 | [diff] [blame] | 24 | <version>0.9.8.2-SNAPSHOT</version> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 25 | </parent> |
| 26 | <artifactId>asterix-grammar-extension-maven-plugin</artifactId> |
| 27 | <packaging>maven-plugin</packaging> |
Michael Blow | 4cd925c | 2018-01-20 17:15:38 -0500 | [diff] [blame] | 28 | <properties> |
| 29 | <root.dir>${basedir}/../..</root.dir> |
| 30 | </properties> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>org.apache.maven</groupId> |
| 34 | <artifactId>maven-plugin-api</artifactId> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 35 | </dependency> |
| 36 | <dependency> |
| 37 | <groupId>org.apache.maven</groupId> |
| 38 | <artifactId>maven-core</artifactId> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 39 | </dependency> |
| 40 | <dependency> |
| 41 | <groupId>org.apache.maven</groupId> |
| 42 | <artifactId>maven-compat</artifactId> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 43 | </dependency> |
Abdullah Alamoudi | 806f7d2 | 2016-07-23 18:02:55 +0300 | [diff] [blame] | 44 | <!-- dependencies to annotations --> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 45 | <dependency> |
| 46 | <groupId>org.apache.maven.plugin-tools</groupId> |
| 47 | <artifactId>maven-plugin-annotations</artifactId> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 48 | <scope>provided</scope> |
| 49 | </dependency> |
| 50 | <dependency> |
Abdullah Alamoudi | d718dc4 | 2017-02-02 21:41:48 -0800 | [diff] [blame] | 51 | <groupId>org.apache.hyracks</groupId> |
| 52 | <artifactId>algebricks-common</artifactId> |
| 53 | </dependency> |
| 54 | <dependency> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 55 | <groupId>org.apache.asterix</groupId> |
| 56 | <artifactId>asterix-external-data</artifactId> |
| 57 | <version>${project.version}</version> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.apache.maven.plugin-testing</groupId> |
| 61 | <artifactId>maven-plugin-testing-harness</artifactId> |
| 62 | <version>3.3.0</version> |
| 63 | <scope>test</scope> |
| 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>org.apache.asterix</groupId> |
| 67 | <artifactId>asterix-lang-common</artifactId> |
| 68 | <version>${project.version}</version> |
| 69 | </dependency> |
| 70 | <dependency> |
| 71 | <groupId>org.apache.asterix</groupId> |
Michael Blow | 599ef8f | 2017-01-12 11:02:53 -0500 | [diff] [blame] | 72 | <artifactId>asterix-common</artifactId> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 73 | <version>${project.version}</version> |
| 74 | </dependency> |
Michael Blow | 599ef8f | 2017-01-12 11:02:53 -0500 | [diff] [blame] | 75 | <dependency> |
| 76 | <groupId>org.apache.commons</groupId> |
| 77 | <artifactId>commons-lang3</artifactId> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>junit</groupId> |
| 81 | <artifactId>junit</artifactId> |
| 82 | <scope>test</scope> |
| 83 | </dependency> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 84 | </dependencies> |
| 85 | <build> |
| 86 | <plugins> |
| 87 | <plugin> |
| 88 | <groupId>org.codehaus.mojo</groupId> |
| 89 | <artifactId>javacc-maven-plugin</artifactId> |
| 90 | <version>2.6</version> |
| 91 | <executions> |
| 92 | <execution> |
| 93 | <id>javacc</id> |
| 94 | <goals> |
| 95 | <goal>javacc</goal> |
| 96 | </goals> |
Ian Maxon | 9658f93 | 2017-03-29 21:36:31 -0700 | [diff] [blame] | 97 | <phase>generate-test-sources</phase> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 98 | <configuration> |
| 99 | <isStatic>false</isStatic> |
| 100 | <javaUnicodeEscape>true</javaUnicodeEscape> |
| 101 | <sourceDirectory>${project.build.directory}/generated-sources/lang</sourceDirectory> |
| 102 | <outputDirectory>${project.build.directory}/generated-sources/javacc</outputDirectory> |
| 103 | </configuration> |
| 104 | </execution> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 105 | </executions> |
| 106 | </plugin> |
Michael Blow | 599ef8f | 2017-01-12 11:02:53 -0500 | [diff] [blame] | 107 | <plugin> |
| 108 | <groupId>org.apache.maven.plugins</groupId> |
| 109 | <artifactId>maven-dependency-plugin</artifactId> |
Michael Blow | 599ef8f | 2017-01-12 11:02:53 -0500 | [diff] [blame] | 110 | <configuration> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 111 | <usedDependencies combine.children="append"> |
Michael Blow | 599ef8f | 2017-01-12 11:02:53 -0500 | [diff] [blame] | 112 | <usedDependency>org.apache.maven:maven-core</usedDependency> |
| 113 | <usedDependency>org.apache.maven:maven-compat</usedDependency> |
| 114 | </usedDependencies> |
| 115 | </configuration> |
| 116 | </plugin> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 117 | </plugins> |
| 118 | <pluginManagement> |
| 119 | <plugins> |
| 120 | <plugin> |
| 121 | <groupId>org.apache.maven.plugins</groupId> |
| 122 | <artifactId>maven-plugin-plugin</artifactId> |
Yingyi Bu | ab81748 | 2016-08-19 21:29:31 -0700 | [diff] [blame] | 123 | <configuration> |
| 124 | <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| 125 | </configuration> |
| 126 | <executions> |
| 127 | <execution> |
| 128 | <id>mojo-descriptor</id> |
| 129 | <phase>process-classes</phase> |
| 130 | <goals> |
| 131 | <goal>descriptor</goal> |
| 132 | </goals> |
| 133 | </execution> |
| 134 | </executions> |
| 135 | </plugin> |
| 136 | </plugins> |
| 137 | </pluginManagement> |
| 138 | </build> |
Michael Blow | 7626d16 | 2017-12-10 14:26:56 -0500 | [diff] [blame] | 139 | <profiles> |
| 140 | <profile> |
| 141 | <id>jjdoc</id> |
| 142 | <activation> |
| 143 | <property> |
| 144 | <name>jjdoc.skip</name> |
| 145 | <value>!true</value> |
| 146 | </property> |
| 147 | </activation> |
| 148 | <build> |
| 149 | <plugins> |
| 150 | <plugin> |
| 151 | <groupId>org.codehaus.mojo</groupId> |
| 152 | <artifactId>javacc-maven-plugin</artifactId> |
| 153 | <executions> |
| 154 | <execution> |
| 155 | <id>javacc-jjdoc</id> |
| 156 | <goals> |
| 157 | <goal>jjdoc</goal> |
| 158 | </goals> |
| 159 | <phase>generate-test-sources</phase> |
| 160 | </execution> |
| 161 | </executions> |
| 162 | </plugin> |
| 163 | </plugins> |
| 164 | </build> |
| 165 | </profile> |
| 166 | </profiles> |
Abdullah Alamoudi | 806f7d2 | 2016-07-23 18:02:55 +0300 | [diff] [blame] | 167 | </project> |