blob: 28576217c8c6a405807673dd2b26cfde651be624 [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.8-incubating</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.codehaus.mojo</groupId>
<artifactId>appassembler-maven-plugin</artifactId>
<version>1.3</version>
<configuration>
<assembleDirectory>
${project.build.directory}/appassembler
</assembleDirectory>
<repositoryLayout>flat</repositoryLayout>
<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>
</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>
</daemons>
</configuration>
<executions>
<execution>
<goals>
<goal>assemble</goal>
<goal>generate-daemons</goal>
<goal>create-repository</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-5</version>
<executions>
<execution>
<configuration>
<descriptors>
<descriptor>src/main/assembly/binary-assembly.xml</descriptor>
</descriptors>
</configuration>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
<artifactId>hyracks-control-cc</artifactId>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.hyracks</groupId>
<artifactId>hyracks-control-nc</artifactId>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.asterix</groupId>
<artifactId>asterix-app</artifactId>
<version>0.8.8-incubating</version>
</dependency>
<dependency>
<groupId>org.codehaus.mojo.appassembler</groupId>
<artifactId>appassembler-booter</artifactId>
<version>1.3.1</version>
</dependency>
</dependencies>
</project>