<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>super-pom-C-CPP-device</artifactId>
    <groupId>fr.soleil</groupId>
    <version>RELEASE</version>
  </parent>
  <groupId>fr.soleil.device</groupId>
  <artifactId>TangoTest-${aol}-${mode}</artifactId>
  <version>1.4.7</version>
  <packaging>nar</packaging>
  <name>TangoTest</name>
  <description>TangoTest Device</description>
  <developers>
    <developer>
      <id>leclercq</id>
      <name>leclercq</name>
      <url>http://controle/</url>
      <organization>Synchrotron Soleil</organization>
      <organizationUrl>http://www.synchrotron-soleil.fr</organizationUrl>
      <roles>
        <role>manager</role>
      </roles>
      <timezone>1</timezone>
    </developer>
  </developers>
  <scm>
    <connection>${scm.connection.svn.tango-cs}:tango/cppserver/TangoTest</connection>
    <developerConnection>${scm.developerConnection.svn.tango-cs}:tango/cppserver/TangoTest</developerConnection>
    <url>${scm.url.svn.tango-cs}/tango/cppserver/TangoTest</url>
  </scm>
  <build>
    <sourceDirectory>${project.basedir}</sourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.freehep</groupId>
        <artifactId>freehep-nar-plugin</artifactId>
        <configuration>
          <output>${project.name}</output>
          <cpp>
            <includePaths>
              <includePath>${project.basedir}</includePath>
            </includePaths>
            <sourceDirectory>${project.basedir}</sourceDirectory>
          </cpp>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>Execute</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.freehep</groupId>
            <artifactId>freehep-nar-plugin</artifactId>
            <configuration>
              <libraries>
                <library>
                  <type>executable</type>
                  <run>true</run>
                  <args>
                    <arg>2</arg>
                  </args>
                  <envs>
                    <env>TANGO_HOST=${env.TANGO_HOST}</env>
                    <env>TANGO_CRASH_PATH=${project.build.directory}\breakpad</env>
                  </envs>
                </library>
              </libraries>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
