| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.blur</groupId> |
| <artifactId>blur</artifactId> |
| <version>0.2.4-incubating-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>apache-blur</artifactId> |
| <version>${projectVersion}</version> |
| <packaging>pom</packaging> |
| <name>Distribution</name> |
| <description>The Blur distribution module builds the source and binary artifacts.</description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.blur</groupId> |
| <artifactId>blur-mapred</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.blur</groupId> |
| <artifactId>blur-shell</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.blur</groupId> |
| <artifactId>blur-command</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.blur</groupId> |
| <artifactId>blur-console</artifactId> |
| <version>${project.version}</version> |
| <classifier>webapp</classifier> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2.1</version> |
| <executions> |
| <execution> |
| <id>create-service-descriptor</id> |
| <phase>package</phase> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| <configuration> |
| <mainClass>org.apache.blur.doc.CreateCSDDescriptor</mainClass> |
| <arguments> |
| <argument>${project.build.scriptSourceDirectory}/../../assemble/cdh/csd/descriptor/service.sdl.template</argument> |
| <argument>${project.build.directory}/service.sdl</argument> |
| <argument>${project.version}</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <execution> |
| <id>create-parcel-json</id> |
| <phase>package</phase> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| <configuration> |
| <mainClass>org.apache.blur.doc.ParcelJsonTemplate</mainClass> |
| <arguments> |
| <argument>${project.build.scriptSourceDirectory}/../../assemble/cdh/parcel/meta/parcel.json.template</argument> |
| <argument>${project.build.directory}/parcel.json</argument> |
| <argument>${project.version}</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>distro-assembly-src</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <finalName>apache-blur-${project.parent.version}</finalName> |
| <descriptors> |
| <descriptor>src/assemble/src.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| <execution> |
| <id>distro-assembly-bin</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>${bin.assembly.file}</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| <execution> |
| <id>distro-assembly-parcel</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>${parcel.assembly.file}</descriptor> |
| </descriptors> |
| <finalName>blur-${project.version}.parcel</finalName> |
| <appendAssemblyId>false</appendAssemblyId> |
| <ignoreDirFormatExtensions>false</ignoreDirFormatExtensions> |
| </configuration> |
| </execution> |
| <execution> |
| <id>distro-assembly-csd</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>${csd.assembly.file}</descriptor> |
| </descriptors> |
| <finalName>BLUR-${project.version}</finalName> |
| <appendAssemblyId>false</appendAssemblyId> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>hadoop1</id> |
| <activation> |
| <property> |
| <name>hadoop1</name> |
| </property> |
| </activation> |
| <properties> |
| <bin.assembly.file>src/assemble/bin-hadoop1.xml</bin.assembly.file> |
| </properties> |
| </profile> |
| <profile> |
| <id>hadoop2-mr1</id> |
| <activation> |
| <property> |
| <name>hadoop2-mr1</name> |
| </property> |
| </activation> |
| <properties> |
| <bin.assembly.file>src/assemble/bin-hadoop2.xml</bin.assembly.file> |
| </properties> |
| </profile> |
| <profile> |
| <id>hadoop2</id> |
| <activation> |
| <property> |
| <name>hadoop2</name> |
| </property> |
| </activation> |
| <properties> |
| <bin.assembly.file>src/assemble/bin-hadoop2.xml</bin.assembly.file> |
| |
| <csd.assembly.file>src/assemble/csd-hadoop2.xml</csd.assembly.file> |
| <parcel.assembly.file>src/assemble/parcel-hadoop2.xml</parcel.assembly.file> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |