blob: d7ce5fdf0fa61f349e0af221f0ad70a00b329bb1 [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>
Ian Maxonf20e64f2024-03-05 00:02:55 -080026 <version>0.9.10-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>
Ian Maxon70be6912019-06-13 18:36:32 -070056 <templateRootDir>${basedir}/..</templateRootDir>
Michael Blow43b40b62017-01-14 17:03:12 -050057 <outputDir>${basedir}/..</outputDir>
58 <location>ignored</location>
59 <generatedFiles>
60 <generatedFile>
Ian Maxon70be6912019-06-13 18:36:32 -070061 <template>src/main/licenses/templates/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 -->
Ian Maxon70be6912019-06-13 18:36:32 -070066 <template>src/main/licenses/templates/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 Blow13e30c72018-03-08 16:08:59 -080091 <asterixDashboardResourcesPrefix>asterix-dashboard/src/main/resources/</asterixDashboardResourcesPrefix>
Michael Blowe2cf4912017-01-18 15:39:40 -050092 <packageName />
Michael Blow43b40b62017-01-14 17:03:12 -050093 </templateProperties>
94 </configuration>
95 </plugin>
96 </plugins>
97 <pluginManagement>
98 <plugins>
99 <plugin>
100 <groupId>org.eclipse.m2e</groupId>
101 <artifactId>lifecycle-mapping</artifactId>
102 <version>1.0.0</version>
103 <configuration>
104 <lifecycleMappingMetadata>
105 <pluginExecutions>
106 <pluginExecution>
107 <pluginExecutionFilter>
108 <groupId>org.apache.asterix</groupId>
109 <artifactId>license-automation-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400110 <versionRange>[0.0,)</versionRange>
Michael Blow43b40b62017-01-14 17:03:12 -0500111 <goals>
112 <goal>generate</goal>
113 </goals>
114 </pluginExecutionFilter>
115 <action>
116 <ignore />
117 </action>
118 </pluginExecution>
119 </pluginExecutions>
120 </lifecycleMappingMetadata>
121 </configuration>
122 </plugin>
123 </plugins>
124 </pluginManagement>
125 </build>
126</project>