<?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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>tycho</artifactId>
    <groupId>org.codehaus.tycho</groupId>
    <version>0.3.0-DEV-1819</version>
  </parent>

  <groupId>org.codehaus.tycho</groupId>
  <artifactId>tycho-surefire-osgi-booter</artifactId>
  <packaging>eclipse-plugin</packaging>

  <name>Tycho Surefire OSGi Booter Eclipse application</name>

  <profiles>
    <profile>
      <id>update-dependencies</id>

      <dependencies>
        <dependency>
          <groupId>org.apache.maven.surefire</groupId>
          <artifactId>surefire-booter</artifactId>
          <version>2.4.3</version>
        </dependency>
      </dependencies>

      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.tycho</groupId>
            <artifactId>maven-osgi-packaging-plugin</artifactId>
            <version>${project.version}</version>
            <executions>
              <execution>
                <phase>process-classes</phase>
                <goals>
                  <goal>generate-bundle</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <packageSources>false</packageSources>
              <exportPackages>
              </exportPackages>
              <manifestAttributes>
                <Bundle-SymbolicName>org.codehaus.tycho.surefire.osgibooter;singleton:=true</Bundle-SymbolicName>
                <Bundle-RequiredExecutionEnvironment>J2SE-1.5, JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
                <Require-Bundle>org.eclipse.equinox.app,org.eclipse.osgi,org.junit,org.eclipse.ui.workbench;resolution:=optional,org.eclipse.core.runtime;resolution:=optional</Require-Bundle>
                <Eclipse-AutoStart>true</Eclipse-AutoStart>
                <Bundle-Activator>org.codehaus.tycho.surefire.osgibooter.Activator</Bundle-Activator>
              </manifestAttributes>
            </configuration>
          </plugin>
        </plugins>
      </build>

    </profile>
  </profiles>

</project>
