forked from qubole/rubix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new:usr:Add a new module to generate rpm for rubix (qubole#51)
Generate RPM with instructions in README. RPM is not generated in default or release profile. The RPM contents are: /usr/lib/rubix/conf /usr/lib/rubix/lib /usr/lib/rubix/lib/rubix-bookkeeper-0.2.12-SNAPSHOT.jar /usr/lib/rubix/lib/rubix-core-0.2.12-SNAPSHOT.jar /usr/lib/rubix/lib/rubix-hadoop1-0.2.12-SNAPSHOT.jar /usr/lib/rubix/lib/rubix-hadoop2-0.2.12-SNAPSHOT.jar /usr/lib/rubix/lib/rubix-presto-0.2.12-SNAPSHOT.jar /usr/lib/rubix/lib/rubix-rpm-0.2.12-SNAPSHOT.jar /usr/lib/rubix/lib/rubix-spi-0.2.12-SNAPSHOT.jar /usr/lib/rubix/logs The content will evolve with installation code.
- Loading branch information
Showing
4 changed files
with
120 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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"> | ||
<parent> | ||
<artifactId>rubix-root</artifactId> | ||
<groupId>com.qubole.rubix</groupId> | ||
<version>0.2.12-SNAPSHOT</version> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<artifactId>rubix-rpm</artifactId> | ||
<properties> | ||
<app.home>/usr/lib/rubix</app.home> | ||
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.qubole.rubix</groupId> | ||
<artifactId>rubix-bookkeeper</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.qubole.rubix</groupId> | ||
<artifactId>rubix-hadoop1</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.qubole.rubix</groupId> | ||
<artifactId>rubix-presto</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.qubole.rubix</groupId> | ||
<artifactId>rubix-core</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.qubole.rubix</groupId> | ||
<artifactId>rubix-spi</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.qubole.rubix</groupId> | ||
<artifactId>rubix-hadoop2</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.qubole.rubix</groupId> | ||
<artifactId>rubix-tests</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
<profiles> | ||
<profile> | ||
<id>rpm</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>rpm-maven-plugin</artifactId> | ||
<version>2.1.5</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>rpm</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<name>qubole-rubix</name> | ||
<copyright>2015, Qubole</copyright> | ||
<group>Applications/Databases</group> | ||
<description>RPM Package for Rubix (https://github.com/qubole/rubix</description> | ||
<mappings> | ||
<mapping> | ||
<directory>${app.home}/lib/</directory> | ||
<dependency> | ||
<includes> | ||
<include>com.qubole.rubix:rubix-bookkeeper</include> | ||
<include>com.qubole.rubix:rubix-hadoop1</include> | ||
<include>com.qubole.rubix:rubix-hadoop2</include> | ||
<include>com.qubole.rubix:rubix-spi</include> | ||
<include>com.qubole.rubix:rubix-presto</include> | ||
<include>com.qubole.rubix:rubix-core</include> | ||
</includes> | ||
</dependency> | ||
<artifact/> | ||
</mapping> | ||
<mapping> | ||
<directory>${app.home}/conf</directory> | ||
<!-- <configuration>true</configuration> | ||
<sources> | ||
<source> | ||
<location>${project.build.outputDirectory}/app.properties</location> | ||
<destination>app.sample.properties</destination> | ||
</source> | ||
</sources>--> | ||
</mapping> | ||
<mapping> | ||
<directory>${app.home}/logs</directory> | ||
</mapping> | ||
</mappings> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
</project> |