| <?xml version="1.0"?> |
| <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"> |
| <!-- |
| 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. |
| --> |
| <parent> |
| <groupId>org.apache.slider</groupId> |
| <artifactId>slider</artifactId> |
| <version>0.50.1-incubating</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>slider-accumulo-app-package</artifactId> |
| <packaging>jar</packaging> |
| <name>Slider Accumulo App Package</name> |
| <description>Slider Accumulo App Package</description> |
| |
| <properties> |
| <work.dir>package-tmp</work.dir> |
| <app.package.name>apache-slider-accumulo-${accumulo.version}-app-package-${project.version}</app.package.name> |
| </properties> |
| |
| <profiles> |
| <profile> |
| <id>accumulo-app-package</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptor>src/assembly/accumulo.xml</descriptor> |
| <appendAssemblyId>false</appendAssemblyId> |
| <finalName>${app.package.name}</finalName> |
| </configuration> |
| <executions> |
| <execution> |
| <id>build-app-package</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>${maven-dependency-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>copy-dependencies</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeArtifactIds>accumulo</includeArtifactIds> |
| <includeTypes>tar.gz</includeTypes> |
| <excludeTransitive>true</excludeTransitive> |
| <outputDirectory>${project.build.directory}/${work.dir}</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>${maven-failsafe-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>run-integration-tests</id> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <systemPropertyVariables> |
| <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack> |
| <java.awt.headless>true</java.awt.headless> |
| <!-- this property must be supplied--> |
| <slider.conf.dir>${slider.conf.dir}</slider.conf.dir> |
| <slider.bin.dir>../../slider-assembly/target/slider-${project.version}-all/slider-${project.version}</slider.bin.dir> |
| <test.app.pkg.dir>target</test.app.pkg.dir> |
| <test.app.pkg.file>${app.package.name}.zip</test.app.pkg.file> |
| <test.app.resource>target/test-config/resources.json</test.app.resource> |
| <test.app.template>target/${app.package.name}/appConfig.json</test.app.template> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <build> |
| <!-- resources are filtered for dynamic updates. This gets build info in--> |
| <resources> |
| <resource> |
| <directory>src/test/resources</directory> |
| <filtering>true</filtering> |
| <targetPath>${project.build.directory}/test-config</targetPath> |
| </resource> |
| </resources> |
| |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-eclipse-compiler</artifactId> |
| <version>${groovy-eclipse-compiler.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-eclipse-batch</artifactId> |
| <version>${groovy-eclipse-batch.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>accumulo</artifactId> |
| <version>${accumulo.version}</version> |
| <classifier>bin</classifier> |
| <type>tar.gz</type> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>accumulo-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>accumulo-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.slider</groupId> |
| <artifactId>slider-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.slider</groupId> |
| <artifactId>slider-core</artifactId> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.slider</groupId> |
| <artifactId>slider-funtest</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-all</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |