<?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>
    <groupId>io.tesla</groupId>
    <artifactId>tesla-distribution</artifactId>
    <version>3.1.1</version>
  </parent>
  <artifactId>tesla-build</artifactId>
  <packaging>jar</packaging>
  <name>Tesla Distribution</name>
  <build>
    <plugins>
      <plugin>
        <groupId>io.tesla.maven.plugins</groupId>
        <artifactId>provisio-tesla-plugin</artifactId>
        <version>0.0.6</version>
        <extensions>true</extensions>
        <executions>
          <execution>
            <goals>
              <goal>provision</goal>
            </goals>
            <configuration>
              <runtimeDescriptor>src/main/provisio/tesla.provisio</runtimeDescriptor>
              <archive>${basedir}/target/tesla-${project.version}.tar.gz</archive>
            </configuration>
          </execution>
        </executions>        
      </plugin>
    </plugins>
    <resources>
      <resource>
        <directory>src/main/resources-filtered</directory>
        <filtering>true</filtering>
      </resource>
    </resources>
  </build>
</project>
