| <?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"> |
| <modelVersion>4.0.0</modelVersion> |
| <name>Grill Distribution</name> |
| |
| <parent> |
| <artifactId>grill-parent</artifactId> |
| <groupId>com.inmobi.grill</groupId> |
| <version>1.1.0</version> |
| </parent> |
| |
| <artifactId>grill-dist</artifactId> |
| <description> Packaging and distribution </description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.inmobi.grill</groupId> |
| <artifactId>grill-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.inmobi.grill</groupId> |
| <artifactId>grill-server-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.inmobi.grill</groupId> |
| <artifactId>grill-driver-hive</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.inmobi.grill</groupId> |
| <artifactId>grill-driver-cube</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.inmobi.grill</groupId> |
| <artifactId>grill-driver-jdbc</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.inmobi.grill</groupId> |
| <artifactId>grill-storage-db</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions> |
| <descriptors> |
| <descriptor>src/main/assembly/server-dist.xml</descriptor> |
| </descriptors> |
| </configuration> |
| <executions> |
| <execution> |
| <id>assemble</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <!--Plugin to build deb--> |
| <plugin> |
| <artifactId>jdeb</artifactId> |
| <groupId>org.vafer</groupId> |
| <executions> |
| <execution> |
| <id>server</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jdeb</goal> |
| </goals> |
| <configuration> |
| <installDir>/usr/local/grill</installDir> |
| <deb>${project.build.directory}/grill-server_${project.version}.deb</deb> |
| <dataSet> |
| <data> |
| <src>target/grill-dist-${project.version}-server</src> |
| <type>directory</type> |
| <mapper> |
| <type>perm</type> |
| <prefix>/usr/local/grill</prefix> |
| </mapper> |
| </data> |
| <data> |
| <src>target/grill-dist-${project.version}-server/bin</src> |
| <type>directory</type> |
| <mapper> |
| <type>perm</type> |
| <prefix>/usr/local/grill/bin</prefix> |
| <filemode>755</filemode> |
| </mapper> |
| </data> |
| <data> |
| <src>target/grill-dist-${project.version}-server/webapp</src> |
| <type>directory</type> |
| <mapper> |
| <type>perm</type> |
| <prefix>/usr/local/grill/webapp</prefix> |
| </mapper> |
| </data> |
| </dataSet> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.7</version> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |