<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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>
    <groupId>com.rubensgomes.pom.springboot</groupId>
    <artifactId>springboot-base-pom</artifactId>
    <version>1.4</version>
  </parent>
  <groupId>com.rubensgomes.pom.springboot</groupId>
  <artifactId>springboot-app-pom</artifactId>
  <version>1.4</version>
  <packaging>pom</packaging>
  <name>springboot-app-pom</name>
  <description>App Spring Boot Parent POM</description>
  <properties>
    <parent_pom_build.timestamp>Fri Jul 14 21:45:56 CDT 2023</parent_pom_build.timestamp>
  </properties>
  <profiles>
    <profile>
      <id>dev</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>rg-repackaging-springboot-jar</id>
                <phase>package</phase>
                <goals>
                  <goal>repackage</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>snap</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>rg-repackaging-springboot-snapshot-jar</id>
                <phase>post-integration-test</phase>
                <goals>
                  <goal>repackage</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>rel</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>rg-repackaging-springboot-release-jar</id>
                <phase>post-integration-test</phase>
                <goals>
                  <goal>repackage</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
