blob: 7097e50b2a0072ce2d7537de1cb342a9b142d0ef [file] [log] [blame]
Michael Blow43b40b62017-01-14 17:03:12 -05001<!--
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/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21 <artifactId>asterix-license</artifactId>
22 <name>asterix-license</name>
23 <parent>
24 <groupId>org.apache.asterix</groupId>
25 <artifactId>apache-asterixdb</artifactId>
AsterixDB Jenkins0948b242017-11-20 15:56:08 -080026 <version>0.9.4-SNAPSHOT</version>
Michael Blow43b40b62017-01-14 17:03:12 -050027 </parent>
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
Michael Blow4cd925c2018-01-20 17:15:38 -050038 <properties>
39 <root.dir>${basedir}/..</root.dir>
40 </properties>
41
Michael Blow43b40b62017-01-14 17:03:12 -050042 <build>
43 <plugins>
44 <plugin>
45 <groupId>org.apache.hyracks</groupId>
46 <artifactId>license-automation-plugin</artifactId>
Michael Blow43b40b62017-01-14 17:03:12 -050047 <executions>
48 <execution>
49 <phase>generate-resources</phase>
50 <goals>
51 <goal>generate</goal>
52 </goals>
53 </execution>
54 </executions>
55 <configuration>
Michael Blowe2cf4912017-01-18 15:39:40 -050056 <templateRootDir>${basedir}/../src/main/licenses/templates</templateRootDir>
Michael Blow43b40b62017-01-14 17:03:12 -050057 <outputDir>${basedir}/..</outputDir>
58 <location>ignored</location>
59 <generatedFiles>
60 <generatedFile>
Michael Blowe2cf4912017-01-18 15:39:40 -050061 <template>asterix-source-license.ftl</template>
Michael Blow43b40b62017-01-14 17:03:12 -050062 <outputFile>LICENSE</outputFile>
63 </generatedFile>
64 <generatedFile>
Michael Blowe2cf4912017-01-18 15:39:40 -050065 <!-- TODO(mblow): share the template with hyracks as a maven artifact -->
66 <template>asterix-notice.ftl</template>
Michael Blow43b40b62017-01-14 17:03:12 -050067 <outputFile>NOTICE</outputFile>
68 </generatedFile>
69 </generatedFiles>
70 <excludedScopes>
71 <excludedScope>test</excludedScope>
72 </excludedScopes>
73 <licenseDirectory>${basedir}/../src/main/licenses/content</licenseDirectory>
74 <models>
75 <model>${basedir}/../src/main/appended-resources/supplemental-models.xml</model>
76 </models>
77 <licenses>
78 <license>
79 <displayName>The Apache Software License, Version 2.0</displayName>
80 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
81 <aliasUrls>
82 <aliasUrl>http://www.apache.org/licenses/LICENSE-2.0</aliasUrl>
83 <aliasUrl>https://www.apache.org/licenses/LICENSE-2.0.txt</aliasUrl>
84 <aliasUrl>http://www.apache.org/licenses/LICENSE-2.0.html</aliasUrl>
85 </aliasUrls>
86 <metric>1</metric>
87 </license>
88 </licenses>
89 <templateProperties>
Michael Blow43b40b62017-01-14 17:03:12 -050090 <asterixAppResourcesPrefix>asterix-app/src/main/resources/</asterixAppResourcesPrefix>
Michael Blowe2cf4912017-01-18 15:39:40 -050091 <hivecompatPrefix>asterix-hivecompat/src/main/java/</hivecompatPrefix>
Michael Blow13e30c72018-03-08 16:08:59 -080092 <asterixDashboardResourcesPrefix>asterix-dashboard/src/main/resources/</asterixDashboardResourcesPrefix>
Michael Blowe2cf4912017-01-18 15:39:40 -050093 <packageName />
Michael Blow43b40b62017-01-14 17:03:12 -050094 </templateProperties>
95 </configuration>
96 </plugin>
97 </plugins>
98 <pluginManagement>
99 <plugins>
100 <plugin>
101 <groupId>org.eclipse.m2e</groupId>
102 <artifactId>lifecycle-mapping</artifactId>
103 <version>1.0.0</version>
104 <configuration>
105 <lifecycleMappingMetadata>
106 <pluginExecutions>
107 <pluginExecution>
108 <pluginExecutionFilter>
109 <groupId>org.apache.asterix</groupId>
110 <artifactId>license-automation-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400111 <versionRange>[0.0,)</versionRange>
Michael Blow43b40b62017-01-14 17:03:12 -0500112 <goals>
113 <goal>generate</goal>
114 </goals>
115 </pluginExecutionFilter>
116 <action>
117 <ignore />
118 </action>
119 </pluginExecution>
120 </pluginExecutions>
121 </lifecycleMappingMetadata>
122 </configuration>
123 </plugin>
124 </plugins>
125 </pluginManagement>
126 </build>
127</project>