<?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>
  
  <parent>
    <groupId>org.openhab</groupId>
    <artifactId>openhab</artifactId>
    <version>0.7.1-SNAPSHOT</version>
  </parent>
  
  <artifactId>distribution</artifactId>

  <packaging>pom</packaging>

  <name>openHAB Distribution</name>
  
  <build>
  	<plugins>
	    <plugin>
	      <artifactId>maven-assembly-plugin</artifactId>
	      <version>2.2</version>
	      <executions>
	        <execution>
	          <id>distro-assembly</id>
	          <phase>package</phase>
	          <goals>
	            <goal>single</goal>
	          </goals>
	          <configuration>
	            <descriptors>
	              <descriptor>src/assemble/runtime.xml</descriptor>
	              <descriptor>src/assemble/designer-win.xml</descriptor>
	              <descriptor>src/assemble/designer-linux.xml</descriptor>
	              <descriptor>src/assemble/designer-linux64.xml</descriptor>
	            </descriptors>
	          </configuration>
	        </execution>
	      </executions>
	    </plugin>
	  </plugins>
  </build>
  
  <dependencies>
    <dependency>
		  <groupId>org.openhab.products</groupId>
		  <artifactId>org.openhab.runtime.product</artifactId>
      <version>${project.version}</version>
			<type>zip</type>
      <classifier>win32.win32.x86</classifier>
    </dependency>
    <dependency>
		  <groupId>org.openhab.products</groupId>
		  <artifactId>org.openhab.designer.product</artifactId>
      <version>${project.version}</version>
			<type>zip</type>
      <classifier>win32.win32.x86</classifier>
    </dependency>
    <dependency>
		  <groupId>org.openhab.products</groupId>
		  <artifactId>org.openhab.designer.product</artifactId>
      <version>${project.version}</version>
			<type>zip</type>
      <classifier>linux.gtk.x86</classifier>
    </dependency>
    <dependency>
		  <groupId>org.openhab.products</groupId>
		  <artifactId>org.openhab.designer.product</artifactId>
      <version>${project.version}</version>
			<type>zip</type>
      <classifier>linux.gtk.x86_64</classifier>
    </dependency>
  </dependencies>

</project>