blob: ad783a7504d1af099ba8fd819dbc8dab258c1781 [file] [log] [blame]
<!--
! Licensed to the Apache Software Foundation (ASF) under one
! or more contributor license agreements. See the NOTICE file
! distributed with this work for additional information
! regarding copyright ownership. The ASF licenses this file
! to you under the Apache License, Version 2.0 (the
! "License"); you may not use this file except in compliance
! with the License. You may obtain a copy of the License at
!
! http://www.apache.org/licenses/LICENSE-2.0
!
! Unless required by applicable law or agreed to in writing,
! software distributed under the License is distributed on an
! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
! KIND, either express or implied. See the License for the
! specific language governing permissions and limitations
! under the License.
!-->
<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">
<modelVersion>4.0.0</modelVersion>
<artifactId>asterix-server</artifactId>
<name>asterix-server</name>
<parent>
<groupId>org.apache.asterix</groupId>
<artifactId>apache-asterixdb</artifactId>
<version>0.8.9-SNAPSHOT</version>
</parent>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<properties>
<appendedResourcesDirectory>${basedir}/../src/main/appended-resources</appendedResourcesDirectory>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.hyracks</groupId>
<artifactId>license-automation-plugin</artifactId>
<version>${hyracks.version}</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<templateRootDir>${basedir}/../../</templateRootDir>
<generatedFiles>
<generatedFile>
<template>asterixdb/src/main/licenses/templates/asterix-license.ftl</template>
<outputFile>LICENSE</outputFile>
</generatedFile>
<generatedFile>
<template>hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/asterix-notice.ftl</template>
<outputFile>NOTICE</outputFile>
</generatedFile>
</generatedFiles>
<location>repo/</location>
<licenseMapOutputFile>${project.build.directory}/generated-resources/license_map.json</licenseMapOutputFile>
<timeoutSecs>10</timeoutSecs>
<downloadDir>${project.build.directory}/generated-resources/license</downloadDir>
<excludedScopes>
<excludedScope>test</excludedScope>
</excludedScopes>
<excludes>
<exclude>org.apache.asterix:*</exclude>
<exclude>org.apache.algebricks:*</exclude>
<exclude>org.apache.hyracks:*</exclude>
</excludes>
<licenseDirectory>${basedir}/../src/main/licenses/content</licenseDirectory>
<models>
<model>${basedir}/../src/main/appended-resources/supplemental-models.xml</model>
</models>
<overrides>
<override>
<gav>org.tukaani:xz:1.0</gav>
<url>PUBLIC_DOMAIN</url>
</override>
<override>
<gav>aopalliance:aopalliance:1.0</gav>
<url>PUBLIC_DOMAIN</url>
</override>
<override>
<gav>asm:asm:3.1</gav>
<url>http://asm.objectweb.org/license.html</url>
</override>
<override>
<gav>commons-el:commons-el:1.0</gav>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</override>
<override>
<gav>com.thoughtworks.paranamer:paranamer:2.3</gav>
<url>https://raw.githubusercontent.com/codehaus/paranamer-git/master/LICENSE.txt</url>
</override>
<override>
<gav>org.codehaus.jettison:jettison:1.1</gav>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</override>
<override>
<gav>commons-configuration:commons-configuration:1.6</gav>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</override>
<override>
<gav>commons-digester:commons-digester:1.8</gav>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</override>
<override>
<gav>org.apache.zookeeper:zookeeper:3.4.5</gav>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</override>
<override>
<gav>javax.servlet.jsp:jsp-api:2.1</gav>
<url>https://jsp.java.net/license.html</url>
</override>
<override>
<gav>com.google.protobuf:protobuf-java:2.5.0</gav>
<url>https://raw.githubusercontent.com/google/protobuf/master/LICENSE</url>
</override>
<override>
<gav>org.hamcrest:hamcrest-core:1.3</gav>
<url>https://raw.githubusercontent.com/hamcrest/JavaHamcrest/1260407ae3d2786cb54b8be52ebe041e54ccd6ac/LICENSE.txt</url>
</override>
<override>
<gav>xmlenc:xmlenc:0.52</gav>
<url>xmlenc_0.52_LICENSE</url>
</override>
<override>
<gav>org.slf4j:slf4j-log4j12:1.7.5</gav>
<url>http://www.slf4j.org/license.html</url>
</override>
</overrides>
<licenses>
<license>
<url>https://raw.githubusercontent.com/google/protobuf/master/LICENSE</url>
<contentFile>protobuf_2.5.0_LICENSE.txt</contentFile>
</license>
<license>
<url>xmlenc_0.52_LICENSE</url>
<contentFile>xmlenc_0.52_LICENSE.txt</contentFile>
</license>
<license>
<url>https://raw.githubusercontent.com/hamcrest/JavaHamcrest/1260407ae3d2786cb54b8be52ebe041e54ccd6ac/LICENSE.txt</url>
<contentFile>hamcrest_1.3_LICENSE.txt</contentFile>
</license>
<license>
<displayName>The Apache Software License, Version 2.0</displayName>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<aliasUrls>
<aliasUrl>http://www.apache.org/licenses/LICENSE-2.0</aliasUrl>
<aliasUrl>https://www.apache.org/licenses/LICENSE-2.0.txt</aliasUrl>
<aliasUrl>http://www.apache.org/licenses/LICENSE-2.0.html</aliasUrl>
</aliasUrls>
<metric>1</metric>
</license>
<license>
<url>https://java.net/projects/stax-utils/sources/svn/content/trunk/LICENSE</url>
<contentFile>stax-utils_LICENSE.txt</contentFile>
<displayName>a BSD-style License</displayName>
<aliasUrls>
<aliasUrl>https://stax-utils.dev.java.net/source/browse/*checkout*/stax-utils/LICENSE</aliasUrl>
</aliasUrls>
</license>
<license>
<url>http://www.json.org/license.html</url>
<displayName>The JSON License</displayName>
</license>
<license>
<url>https://raw.githubusercontent.com/mojohaus/appassembler/master/LICENSE.txt</url>
<aliasUrls>http://svn.codehaus.org/mojo/trunk/mojo/appassembler/LICENSE.txt</aliasUrls>
</license>
<license>
<url>https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html</url>
<!--<displayName>CDDL 1.1</displayName>-->
<metric>10</metric>
<aliasUrls>
<aliasUrl>https://glassfish.java.net/public/CDDL+GPL_1_1.html</aliasUrl>
<aliasUrl>http://glassfish.java.net/public/CDDL+GPL_1_1.html</aliasUrl>
<aliasUrl>https://jsp.java.net/license.html</aliasUrl>
</aliasUrls>
</license>
<license>
<url>http://www.sun.com/cddl/cddl.html</url>
<metric>10</metric>
<aliasUrls>
<aliasUrl>https://glassfish.dev.java.net/public/CDDL+GPL.html</aliasUrl>
<aliasUrl>https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html</aliasUrl>
<aliasUrl>http://glassfish.dev.java.net/nonav/public/CDDL+GPL.html</aliasUrl>
<aliasUrl>http://glassfish.java.net/public/CDDL+GPL.html</aliasUrl>
<aliasUrl>https://glassfish.java.net/public/CDDL+GPL.html</aliasUrl>
<aliasUrl>http://glassfish.dev.java.net/public/CDDL+GPL.html</aliasUrl>
<aliasUrl>https://glassfish.dev.java.net/public/CDDLv1.0.html</aliasUrl>
</aliasUrls>
</license>
<license>
<url>http://www.antlr.org/license.html</url>
<aliasUrls>http://antlr.org/license.html</aliasUrls>
</license>
<license>
<url>https://opensource.org/licenses/mit-license.php</url>
<aliasUrls>http://www.opensource.org/licenses/mit-license.php</aliasUrls>
</license>
<license>
<url>https://opensource.org/licenses/bsd-license.php</url>
<aliasUrls>http://www.opensource.org/licenses/bsd-license.php</aliasUrls>
</license>
<license>
<!-- this is special case- handled in ftl template -->
<url>PUBLIC_DOMAIN</url>
</license>
</licenses>
<templateProperties>
<packageName>Server Install</packageName>
<asterixAppLocation>repo/asterix-app-${project.version}.jar, within this assembly</asterixAppLocation>
<hyracksControlCcLocation>repo/hyracks-control-cc-${project.version}.jar, within this assembly</hyracksControlCcLocation>
</templateProperties>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>appassembler-maven-plugin</artifactId>
<version>1.10</version>
<configuration>
<assembleDirectory>
${project.build.directory}/appassembler
</assembleDirectory>
<repositoryLayout>flat</repositoryLayout>
<useWildcardClassPath>true</useWildcardClassPath>
<programs>
<program>
<platforms>
<platform>unix</platform>
</platforms>
<name>asterixcc</name>
<mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
<commandLineArguments>
<commandLineArgument>-app-cc-main-class</commandLineArgument>
<commandLineArgument>org.apache.asterix.hyracks.bootstrap.CCApplicationEntryPoint</commandLineArgument>
</commandLineArguments>
</program>
<program>
<platforms>
<platform>unix</platform>
</platforms>
<name>asterixnc</name>
<mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
<commandLineArguments>
<commandLineArgument>-app-nc-main-class</commandLineArgument>
<commandLineArgument>org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint</commandLineArgument>
</commandLineArguments>
</program>
<program>
<platforms>
<platform>unix</platform>
</platforms>
<name>asterixncservice</name>
<mainClass>org.apache.hyracks.control.nc.service.NCService</mainClass>
</program>
</programs>
<daemons>
<daemon>
<id>asterixcc</id>
<mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
<platforms>
<platform>booter-windows</platform>
</platforms>
<commandLineArguments>
<commandLineArgument>-app-cc-main-class</commandLineArgument>
<commandLineArgument>org.apache.asterix.hyracks.bootstrap.CCApplicationEntryPoint</commandLineArgument>
</commandLineArguments>
</daemon>
<daemon>
<id>asterixnc</id>
<mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
<platforms>
<platform>booter-windows</platform>
</platforms>
<commandLineArguments>
<commandLineArgument>-app-nc-main-class</commandLineArgument>
<commandLineArgument>org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint</commandLineArgument>
</commandLineArguments>
</daemon>
<daemon>
<id>asterixncservice</id>
<mainClass>org.apache.hyracks.control.nc.service.NCService</mainClass>
<platforms>
<platform>booter-windows</platform>
</platforms>
</daemon>
</daemons>
</configuration>
<executions>
<execution>
<goals>
<goal>assemble</goal>
<goal>generate-daemons</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>process-test-classes</id>
<phase>package</phase>
<configuration>
<target>
<chmod file="target/appassembler/bin/*" perm="755" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<configuration>
<attach>true</attach>
<filters>
<filter>${project.basedir}/src/main/assembly/filter.properties</filter>
</filters>
<descriptors>
<descriptor>${project.basedir}/src/main/assembly/binary-assembly.xml</descriptor>
</descriptors>
</configuration>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<configuration>
<ignoredDependencies>
<ignoredDependency>org.apache.asterix:asterix-opt-bom:*</ignoredDependency>
</ignoredDependencies>
<usedDependencies>
<usedDependency>org.apache.asterix:asterix-app</usedDependency>
<usedDependency>org.apache.asterix:asterix-client-helper</usedDependency>
<usedDependency>org.apache.hadoop:hadoop-minicluster</usedDependency>
<usedDependency>org.apache.hyracks:hyracks-control-cc</usedDependency>
<usedDependency>org.apache.hyracks:hyracks-control-nc</usedDependency>
<usedDependency>org.apache.hyracks:hyracks-nc-service</usedDependency>
<usedDependency>org.codehaus.mojo.appassembler:appassembler-booter</usedDependency>
</usedDependencies>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.asterix</groupId>
<artifactId>license-automation-plugin</artifactId>
<versionRange>${project.version}</versionRange>
<goals>
<goal>generate</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>opt-modules</id>
<activation>
<file>
<exists>../asterix-opt/pom.xml</exists>
</file>
</activation>
<dependencies>
<dependency>
<groupId>org.apache.asterix</groupId>
<artifactId>asterix-opt-bom</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
</dependencies>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
<artifactId>hyracks-control-cc</artifactId>
</dependency>
<dependency>
<groupId>org.apache.hyracks</groupId>
<artifactId>hyracks-control-nc</artifactId>
</dependency>
<dependency>
<groupId>org.apache.hyracks</groupId>
<artifactId>hyracks-nc-service</artifactId>
</dependency>
<dependency>
<groupId>org.apache.asterix</groupId>
<artifactId>asterix-app</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hyracks</groupId>
<artifactId>hyracks-server</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.asterix</groupId>
<artifactId>asterix-app</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.asterix</groupId>
<artifactId>asterix-common</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.asterix</groupId>
<artifactId>asterix-test-framework</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.mojo.appassembler</groupId>
<artifactId>appassembler-booter</artifactId>
<version>1.10</version>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.asterix</groupId>
<artifactId>asterix-client-helper</artifactId>
<version>${project.version}</version>
<type>zip</type>
<classifier>assembly</classifier>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.apache.asterix</groupId>
<artifactId>asterix-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-minicluster</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>