<?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>tools</artifactId>
    <groupId>fr.opensagres.xdocreport</groupId>
    <version>2.2.1-SNAPSHOT</version>
  </parent>
  <artifactId>fr.opensagres.xdocreport.openoffice.macro</artifactId>
  <name>Macro tools</name>
  <version>2.2.1-SNAPSHOT</version>
  <packaging>pom</packaging>
  <build>
    <plugins>
          <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <version>3.1.0</version>
            <executions>
              <execution>
                <id>oxt-package</id>
                <phase>package</phase>
                <configuration>
		 <target>
                    <ant antfile="${basedir}/oxt-build.xml" inheritAll="true" inheritRefs="true">
                         <target name="oxt-package" />
                    </ant>
                    <attachartifact file="${project.build.directory}/XDocReportDesignTool-${project.version}.oxt" type="oxt" />
                  </target>
                </configuration>
                <goals>
                  <goal>run</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
    </plugins>
  </build>

</project>
