blob: 8eae177b34df95ea134e5cb518c7ab2cd8b4c4f5 [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-client-helper</artifactId>
<parent>
<groupId>org.apache.asterix</groupId>
<artifactId>apache-asterixdb</artifactId>
<version>0.9.0</version>
</parent>
<build>
<plugins>
<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>
<repositoryName>lib</repositoryName>
<useWildcardClassPath>false</useWildcardClassPath>
<programs>
<program>
<platforms>
<platform>unix</platform>
</platforms>
<name>asterixhelper</name>
<mainClass>org.apache.asterix.clienthelper.AsterixHelper</mainClass>
</program>
</programs>
<daemons>
<daemon>
<id>asterixhelper</id>
<mainClass>org.apache.asterix.clienthelper.AsterixHelper</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>
<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>
</generatedFiles>
<location>repo/</location>
<licenseMapOutputFile>${project.build.directory}/generated-resources/license_map.json</licenseMapOutputFile>
<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>
<licenses>
<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://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>
</licenses>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<configuration>
<attach>true</attach>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</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>
<usedDependencies>
<usedDependency>org.codehaus.mojo.appassembler:appassembler-booter</usedDependency>
<usedDependency>javax.servlet:javax.servlet-api</usedDependency>
</usedDependencies>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>args4j</groupId>
<artifactId>args4j</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</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>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
</dependencies>
</project>