<?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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.infrastructurebuilder</groupId>
    <artifactId>ibparent-minimal</artifactId>
    <version>52</version>
  </parent>
  <groupId>org.infrastructurebuilder.bootstrap</groupId>
  <artifactId>bootstrap-envrc</artifactId>
  <version>0.13.0</version>
  <packaging>pom</packaging>
  <properties>
    <module.assembly.version>0.9.21</module.assembly.version>
  </properties>
  <name>${project.artifactId}</name>
  <scm>
    <connection>scm:git:${git.url}</connection>
    <developerConnection>scm:git:${git.url}</developerConnection>
    <url>${git.scm.url}</url>
    <tag>bootstrap-envrc-0.13.0</tag>
  </scm>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-dotenvrc</id>
            <phase>package</phase>
            <goals>
              <goal>attach-artifact</goal>
            </goals>
            <inherited>false</inherited>
            <configuration>
              <artifacts>
                <artifact>
                  <classifier>envrc</classifier>
                  <file>${project.basedir}/src/main/resources/DOTenvrc</file>
                  <type>sh</type>
                </artifact>
              </artifacts>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>

