Till Westmann | f55c475 | 2015-05-29 12:23:07 -0700 | [diff] [blame] | 1 | <!-- |
Ian Maxon | 928bbd1 | 2015-09-14 17:12:48 -0700 | [diff] [blame] | 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 |
Till Westmann | f55c475 | 2015-05-29 12:23:07 -0700 | [diff] [blame] | 9 | ! |
Ian Maxon | 928bbd1 | 2015-09-14 17:12:48 -0700 | [diff] [blame] | 10 | ! http://www.apache.org/licenses/LICENSE-2.0 |
Till Westmann | f55c475 | 2015-05-29 12:23:07 -0700 | [diff] [blame] | 11 | ! |
Ian Maxon | 928bbd1 | 2015-09-14 17:12:48 -0700 | [diff] [blame] | 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 | !--> |
Ian Maxon | d2e1e89 | 2015-10-05 12:46:26 -0700 | [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"> |
Till Westmann | f55c475 | 2015-05-29 12:23:07 -0700 | [diff] [blame] | 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | <parent> |
Ian Maxon | ab556d1 | 2016-02-02 18:18:05 -0800 | [diff] [blame] | 22 | <artifactId>apache-asterixdb</artifactId> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 23 | <groupId>org.apache.asterix</groupId> |
Ian Maxon | 03ccded | 2021-03-07 18:35:16 -0800 | [diff] [blame] | 24 | <version>0.9.7-SNAPSHOT</version> |
Till Westmann | f55c475 | 2015-05-29 12:23:07 -0700 | [diff] [blame] | 25 | </parent> |
| 26 | |
Till Westmann | fd4e1e5 | 2016-06-25 09:52:50 +0200 | [diff] [blame] | 27 | <url>http://asterixdb.apache.org/</url> |
Ian | 4a816dc | 2014-11-26 15:46:32 -0800 | [diff] [blame] | 28 | |
| 29 | <licenses> |
| 30 | <license> |
| 31 | <name>Apache License, Version 2.0</name> |
| 32 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 33 | <distribution>repo</distribution> |
| 34 | <comments>A business-friendly OSS license</comments> |
| 35 | </license> |
| 36 | </licenses> |
| 37 | |
Ian Maxon | 6e5f18e | 2015-11-24 18:02:48 -0800 | [diff] [blame] | 38 | <properties> |
Michael Blow | 4cd925c | 2018-01-20 17:15:38 -0500 | [diff] [blame] | 39 | <root.dir>${basedir}/..</root.dir> |
Ian Maxon | 6e5f18e | 2015-11-24 18:02:48 -0800 | [diff] [blame] | 40 | </properties> |
| 41 | |
Till Westmann | f55c475 | 2015-05-29 12:23:07 -0700 | [diff] [blame] | 42 | <artifactId>asterix-doc</artifactId> |
| 43 | <build> |
| 44 | <plugins> |
| 45 | <plugin> |
| 46 | <groupId>org.apache.maven.plugins</groupId> |
Till Westmann | 0ae44e3 | 2016-09-08 13:06:11 -0700 | [diff] [blame] | 47 | <artifactId>maven-antrun-plugin</artifactId> |
Till Westmann | 0ae44e3 | 2016-09-08 13:06:11 -0700 | [diff] [blame] | 48 | <executions> |
| 49 | <execution> |
Yingyi Bu | f7f3a7f | 2016-10-02 21:18:30 -0700 | [diff] [blame] | 50 | <id>manual</id> |
Till Westmann | 0ae44e3 | 2016-09-08 13:06:11 -0700 | [diff] [blame] | 51 | <phase>pre-site</phase> |
| 52 | <configuration> |
| 53 | <target> |
| 54 | <concat destfile="${project.build.directory}/generated-site/markdown/sqlpp/manual.md"> |
Glenn | 67fd1f3 | 2021-02-25 16:04:49 -0800 | [diff] [blame] | 55 | <filelist dir="${project.basedir}/src/main/markdown/sqlpp" files="0_toc.md,1_intro.md,2_expr_title.md,2_expr.md,3_query_title.md,3_query.md,4_windowfunctions_title.md,4_windowfunctions.md,5_error_title.md,5_error.md,6_sql_diff_title.md,6_sql_diff.md,7_ddl_head.md,7_ddl_dml.md,appendix_1_title.md,appendix_1_keywords.md,appendix_2_title.md,appendix_2_parameters.md,appendix_2_parallel_sort.md,appendix_2_index_only.md,appendix_2_arrayindex.md,appendix_2_hints.md,appendix_3_title.md,appendix_3_resolution.md,appendix_4_title.md,appendix_4_manual_data.md" /> |
Till Westmann | 0ae44e3 | 2016-09-08 13:06:11 -0700 | [diff] [blame] | 56 | </concat> |
Yingyi Bu | f7f3a7f | 2016-10-02 21:18:30 -0700 | [diff] [blame] | 57 | <concat destfile="${project.build.directory}/generated-site/markdown/sqlpp/builtins.md"> |
Simon Dew | dc8efea | 2021-02-25 00:24:28 +0000 | [diff] [blame] | 58 | <filelist dir="${project.basedir}/src/main/markdown/builtins" files="0_toc.md,0_toc_sqlpp.md,0_toc_common.md,1_numeric_common.md,1_numeric_delta.md,2_string_common.md,2_string_delta.md,3_binary.md,4_spatial.md,5_similarity.md,6_tokenizing.md,7_temporal.md,7_allens.md,8_record.md,9_aggregate_sql.md,10_comparison.md,11_type_common.md,11_type_delta.md,11_type_conversion.md,13_conditional.md,12_misc.md,15_bitwise.md,14_window.md" /> |
Yingyi Bu | f7f3a7f | 2016-10-02 21:18:30 -0700 | [diff] [blame] | 59 | </concat> |
| 60 | <concat destfile="${project.build.directory}/generated-site/markdown/aql/builtins.md"> |
Simon Dew | dc8efea | 2021-02-25 00:24:28 +0000 | [diff] [blame] | 61 | <filelist dir="${project.basedir}/src/main/markdown/builtins" files="0_toc.md,0_toc_aql.md,0_toc_common.md,1_numeric_common.md,1_numeric_delta.md,2_string_common.md,2_string_delta.md,3_binary.md,4_spatial.md,5_similarity.md,6_tokenizing.md,7_temporal.md,7_allens.md,8_record.md,9_aggregate_sql.md,10_comparison.md,11_type_common.md,11_type_delta.md,11_type_conversion.md,13_conditional.md,12_misc.md" /> |
Yingyi Bu | d819274 | 2017-07-24 23:46:39 -0700 | [diff] [blame] | 62 | </concat> |
| 63 | <concat destfile="${project.build.directory}/generated-site/markdown/datamodel.md"> |
| 64 | <filelist dir="${project.basedir}/src/main/markdown/datamodel" files="datamodel_header.md,datamodel_primitive_common.md,datamodel_primitive_delta.md,datamodel_incomplete.md,datamodel_composite.md" /> |
Yingyi Bu | f7f3a7f | 2016-10-02 21:18:30 -0700 | [diff] [blame] | 65 | </concat> |
Till Westmann | 4d3cec7 | 2017-03-31 18:51:43 -0700 | [diff] [blame] | 66 | <concat destfile="${project.build.directory}/generated-site/markdown/ansible.md"> |
| 67 | <filelist dir="${project.basedir}/src/main/installation/" files="ansible_title.md,ansible.md" /> |
| 68 | </concat> |
| 69 | <concat destfile="${project.build.directory}/generated-site/markdown/aws.md"> |
| 70 | <filelist dir="${project.basedir}/src/main/installation/" files="aws_title.md,aws.md" /> |
| 71 | </concat> |
Xikui Wang | 511e1c8 | 2018-09-28 14:35:02 -0700 | [diff] [blame] | 72 | <concat destfile="${project.build.directory}/generated-site/markdown/feeds.md"> |
| 73 | <filelist dir="${project.basedir}/src/main/data_ingestion/" files="feeds_title.md,feeds.md" /> |
| 74 | </concat> |
| 75 | <concat destfile="${project.build.directory}/generated-site/markdown/udf.md"> |
| 76 | <filelist dir="${project.basedir}/src/main/user-defined_function/" files="udf_title.md,udf.md" /> |
| 77 | </concat> |
Ian Maxon | 32f4269c | 2020-11-05 11:05:09 -0800 | [diff] [blame] | 78 | <concat destfile="${project.build.directory}/generated-site/markdown/interval_join.md"> |
| 79 | <filelist dir="${project.basedir}/src/main/interval_join/" files="interval_join_title.md,interval_join.md" /> |
| 80 | </concat> |
Till Westmann | 0ae44e3 | 2016-09-08 13:06:11 -0700 | [diff] [blame] | 81 | </target> |
| 82 | </configuration> |
| 83 | <goals> |
| 84 | <goal>run</goal> |
| 85 | </goals> |
| 86 | </execution> |
Ian Maxon | 32f4269c | 2020-11-05 11:05:09 -0800 | [diff] [blame] | 87 | <execution> |
| 88 | <!-- TODO: this is gross, we should consume this as part of the asterix-lang-sqlpp dependency's build, not copy --> |
| 89 | <id>sqlpp</id> |
| 90 | <phase>prepare-package</phase> |
| 91 | <configuration> |
| 92 | <target> |
| 93 | <copy file="${project.basedir}/../asterix-lang-sqlpp/target/site/jjdoc/SQLPP.html" tofile="${project.build.directory}/site/SQLPP.html"/> |
| 94 | </target> |
| 95 | </configuration> |
| 96 | <goals> |
| 97 | <goal>run</goal> |
| 98 | </goals> |
| 99 | </execution> |
Till Westmann | 0ae44e3 | 2016-09-08 13:06:11 -0700 | [diff] [blame] | 100 | </executions> |
| 101 | </plugin> |
| 102 | <plugin> |
| 103 | <groupId>org.apache.maven.plugins</groupId> |
Till Westmann | f55c475 | 2015-05-29 12:23:07 -0700 | [diff] [blame] | 104 | <artifactId>maven-site-plugin</artifactId> |
Till Westmann | f55c475 | 2015-05-29 12:23:07 -0700 | [diff] [blame] | 105 | <configuration> |
| 106 | <generateReports>false</generateReports> |
| 107 | </configuration> |
| 108 | <executions> |
| 109 | <execution> |
| 110 | <phase>package</phase> |
| 111 | <goals> |
| 112 | <goal>site</goal> |
| 113 | </goals> |
| 114 | </execution> |
| 115 | </executions> |
| 116 | </plugin> |
Ian Maxon | ab556d1 | 2016-02-02 18:18:05 -0800 | [diff] [blame] | 117 | <plugin> |
| 118 | <groupId>org.apache.maven.plugins</groupId> |
| 119 | <artifactId>maven-deploy-plugin</artifactId> |
| 120 | <configuration> |
| 121 | <skip>true</skip> |
| 122 | </configuration> |
| 123 | </plugin> |
Michael Blow | 82464fb | 2017-03-28 18:48:13 -0400 | [diff] [blame] | 124 | <plugin> |
| 125 | <groupId>org.apache.rat</groupId> |
| 126 | <artifactId>apache-rat-plugin</artifactId> |
| 127 | <configuration> |
| 128 | <excludes combine.children="append"> |
| 129 | <exclude>src/site/resources/data/lineitem.tbl</exclude> |
Ian Maxon | 32f4269c | 2020-11-05 11:05:09 -0800 | [diff] [blame] | 130 | <exclude>src/main/grammar/sqlpp.ebnf</exclude> |
Michael Blow | 82464fb | 2017-03-28 18:48:13 -0400 | [diff] [blame] | 131 | </excludes> |
| 132 | </configuration> |
| 133 | </plugin> |
Till Westmann | f55c475 | 2015-05-29 12:23:07 -0700 | [diff] [blame] | 134 | </plugins> |
| 135 | </build> |
Ian Maxon | 32f4269c | 2020-11-05 11:05:09 -0800 | [diff] [blame] | 136 | <profiles> |
| 137 | <profile> |
| 138 | <id>generate.rr</id> |
| 139 | <build> |
| 140 | <plugins> |
| 141 | <plugin> |
| 142 | <groupId>org.codehaus.mojo</groupId> |
| 143 | <artifactId>exec-maven-plugin</artifactId> |
| 144 | <executions> |
| 145 | <execution> |
| 146 | <id>venv</id> |
| 147 | <phase>generate-resources</phase> |
| 148 | <goals> |
| 149 | <goal>exec</goal> |
| 150 | </goals> |
| 151 | <configuration> |
| 152 | <!--suppress UnresolvedMavenProperty --> |
| 153 | <executable>${java.home}/bin/java</executable> |
| 154 | <workingDirectory>${project.build.directory}</workingDirectory> |
| 155 | <arguments> |
| 156 | <argument>-jar</argument> |
| 157 | <argument>rr.war</argument> |
| 158 | <argument>-png</argument> |
| 159 | <argument>-out:railroads.zip</argument> |
| 160 | <argument>-color:#f7f7f7</argument> |
| 161 | <argument>-width:1280</argument> |
| 162 | <argument>../src/main/grammar/sqlpp.ebnf</argument> |
| 163 | </arguments> |
| 164 | </configuration> |
| 165 | </execution> |
| 166 | </executions> |
| 167 | </plugin> |
| 168 | <plugin> |
| 169 | <groupId>com.googlecode.maven-download-plugin</groupId> |
| 170 | <artifactId>download-maven-plugin</artifactId> |
| 171 | <version>1.4.2</version> |
| 172 | <executions> |
| 173 | <execution> |
| 174 | <id>install-rr</id> |
| 175 | <phase>initialize</phase> |
| 176 | <goals> |
| 177 | <goal>wget</goal> |
| 178 | </goals> |
| 179 | <configuration> |
| 180 | <url>https://github.com/GuntherRademacher/rr/releases/download/v1.62/rr-1.62-java8.zip</url> |
| 181 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 182 | </configuration> |
| 183 | </execution> |
| 184 | </executions> |
| 185 | </plugin> |
| 186 | <plugin> |
| 187 | <groupId>org.apache.maven.plugins</groupId> |
| 188 | <artifactId>maven-antrun-plugin</artifactId> |
| 189 | <executions> |
| 190 | <execution> |
| 191 | <id>extract-rr</id> |
| 192 | <phase>generate-sources</phase> |
| 193 | <configuration> |
| 194 | <tasks> |
| 195 | <echo message="Extracting rr" /> |
| 196 | <unzip src="${project.build.directory}/rr-1.62-java8.zip" dest="${project.build.directory}" /> |
| 197 | </tasks> |
| 198 | </configuration> |
| 199 | <goals> |
| 200 | <goal>run</goal> |
| 201 | </goals> |
| 202 | </execution> |
| 203 | <execution> |
| 204 | <id>extract-diagrams</id> |
| 205 | <phase>process-resources</phase> |
| 206 | <configuration> |
| 207 | <tasks> |
| 208 | <echo message="Extracting diagrams" /> |
| 209 | <unzip src="${project.build.directory}/railroads.zip" dest="${project.build.directory}" /> |
| 210 | <copy todir="${project.build.directory}/site/images/diagrams/"> |
| 211 | <fileset dir="${project.build.directory}/diagram/"/> |
| 212 | </copy> |
| 213 | </tasks> |
| 214 | </configuration> |
| 215 | <goals> |
| 216 | <goal>run</goal> |
| 217 | </goals> |
| 218 | </execution> |
| 219 | </executions> |
| 220 | </plugin> |
| 221 | </plugins> |
| 222 | </build> |
| 223 | </profile> |
| 224 | </profiles> |
Till Westmann | f55c475 | 2015-05-29 12:23:07 -0700 | [diff] [blame] | 225 | |
| 226 | <distributionManagement> |
| 227 | <site> |
| 228 | <id>site</id> |
| 229 | <name>site</name> |
Till Westmann | fd4e1e5 | 2016-06-25 09:52:50 +0200 | [diff] [blame] | 230 | <url>file:../../../../site/asterixdb-site</url> |
Till Westmann | f55c475 | 2015-05-29 12:23:07 -0700 | [diff] [blame] | 231 | </site> |
| 232 | </distributionManagement> |
| 233 | |
Till Westmann | db64c0c | 2013-05-14 11:48:15 -0700 | [diff] [blame] | 234 | </project> |