<?xml version="1.0" encoding="UTF-8"?>
<!--

  Copyright 2012 FuseSource, Corp. All rights reserved.
  http://fusesource.com
  
  The software in this package is published under the terms of the 
  Fuse Custom Distribution Creator 1.0 User License Agreement. 
  A copy has been included with this distribution in the 
  fusecdc-license.txt file.
 
 -->
<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>
        <artifactId>fuse-cdc</artifactId>
        <groupId>com.fusesource.tooling</groupId>
        <version>1.0.0</version>
    </parent>
    <groupId>com.fusesource.tooling</groupId>
    <artifactId>fuse-cdc-assembly</artifactId>
    <version>1.0.0</version>
    <packaging>pom</packaging>

    <name>FuseSource :: Tooling :: FuseCDC :: Assembly</name>

    <dependencies>
        <dependency>
            <groupId>com.fusesource.tooling</groupId>
            <artifactId>fuse-cdc-cli</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.3</version>
                <executions>
                    <execution>
                        <id>unix</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>src/main/assembly/descriptor/unix-bin.xml</descriptor>
                            </descriptors>
                            <archive>
                                <manifest>
                                    <mainClass>com.fusesource.tooling.fuse.cdc.FuseCDCCLI</mainClass>
                                </manifest>
                            </archive>
                        </configuration>
                    </execution>
                    <execution>
                        <id>win</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>src/main/assembly/descriptor/win-bin.xml</descriptor>
                            </descriptors>
                            <archive>
                                <manifest>
                                    <mainClass>com.fusesource.tooling.fuse.cdc.FuseCDCCLI</mainClass>
                                </manifest>
                            </archive>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
