<!--
 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/maven-v4_0_0.xsd">
 <parent>
    <groupId>org.apache.felix</groupId>
    <artifactId>felix-parent</artifactId>
    <version>1.2.1</version>
    <relativePath>../pom/pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <packaging>pom</packaging>
  <name>Apache Felix Main Distribution</name>
  <artifactId>org.apache.felix.main.distribution</artifactId>
  <version>2.1.0-SNAPSHOT</version>
  <properties>
    <framework.version>3.0.0</framework.version>
    <gogo.runtime.version>0.6.0</gogo.runtime.version>
    <gogo.shell.version>0.6.0</gogo.shell.version>
    <gogo.command.version>0.6.0</gogo.command.version>
    <obr.version>1.6.2</obr.version>
  </properties>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>copy</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>${pom.groupId}</groupId>
                  <artifactId>org.apache.felix.gogo.runtime</artifactId>
                  <version>${gogo.runtime.version}</version>
                  <type>jar</type>
                  <overWrite>true</overWrite>
                  <outputDirectory>${project.basedir}/bundle</outputDirectory>
                </artifactItem>
                <artifactItem>
                  <groupId>${pom.groupId}</groupId>
                  <artifactId>org.apache.felix.gogo.shell</artifactId>
                  <version>${gogo.shell.version}</version>
                  <type>jar</type>
                  <overWrite>true</overWrite>
                  <outputDirectory>${project.basedir}/bundle</outputDirectory>
                </artifactItem>
                <artifactItem>
                  <groupId>${pom.groupId}</groupId>
                  <artifactId>org.apache.felix.gogo.command</artifactId>
                  <version>${gogo.command.version}</version>
                  <type>jar</type>
                  <overWrite>true</overWrite>
                  <outputDirectory>${project.basedir}/bundle</outputDirectory>
                </artifactItem>
                <artifactItem>
                  <groupId>${pom.groupId}</groupId>
                  <artifactId>org.apache.felix.bundlerepository</artifactId>
                  <version>${obr.version}</version>
                  <type>jar</type>
                  <overWrite>true</overWrite>
                  <outputDirectory>${project.basedir}/bundle</outputDirectory>
                </artifactItem>
		<artifactItem>
                  <groupId>${pom.groupId}</groupId>
                  <artifactId>org.apache.felix.main</artifactId>
                  <version>${framework.version}</version>
                  <type>jar</type>
                  <overWrite>true</overWrite>
                  <outputDirectory>${project.basedir}/bin</outputDirectory>
		  <destFileName>felix.jar</destFileName>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
        <execution>
            <id>assemble</id>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
        <configuration>
          <descriptors>
            <descriptor>assembly.xml</descriptor>
          </descriptors>
          <appendAssemblyId>false</appendAssemblyId>
          <finalName>felix-framework-${framework.version}</finalName>
        </configuration>
        </execution>
        </executions>
      </plugin>
    </plugins>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
    </resources> 
  </build>
</project>
