<?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>
  <groupId>io.cronapp</groupId>
  <packaging>jar</packaging>
  <artifactId>cronapp-openapi-generator</artifactId>
  <version>4.2.20</version>
  <name>Cronapp OpenApi Generator</name>
  <description>Cronapp OpenApi Generator</description>
  <url>https://cronapp.io/</url>
  <scm>
    <url>https://github.com/cronapp/</url>
  </scm>
  <developers>
    <developer>
      <name>Cronapp Developer</name>
      <email>dev@cronapp.io</email>
      <organization>Techne Engenharia e Sistemas LTDA</organization>
      <url>https://cronapp.io/</url>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>Cronapp License, Version 1.0</name>
      <url>https://public.cronapp.io/license/libraries-and-artifacts.html</url>
    </license>
  </licenses>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>io.cronapp</groupId>
        <artifactId>cronapp-framework-spring</artifactId>
        <version>4.2.20</version>
        <scope>import</scope>
        <type>pom</type>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.openapitools</groupId>
      <artifactId>openapi-generator</artifactId>
    </dependency>
    <dependency>
      <groupId>org.openapitools</groupId>
      <artifactId>openapi-generator-cli</artifactId>
    </dependency>
    <dependency>
      <groupId>org.freemarker</groupId>
      <artifactId>freemarker</artifactId>
    </dependency>
  </dependencies>
  <properties>
    <maven.compiler.compilerArgument/>
    <!-- Ativa todos os avisos recomendados. <maven.compiler.compilerArgument>-Xlint</maven.compiler.compilerArgument>-->
    <maven.compiler.release>21</maven.compiler.release>
    <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
    <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <gpg.skip>true</gpg.skip>
    <maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
    <maven-javadoc-plugin.version>3.8.0</maven-javadoc-plugin.version>
    <maven-gpg-plugin.version>3.2.5</maven-gpg-plugin.version>
    <maven-plugin-plugin.version>3.13.1</maven-plugin-plugin.version>
    <maven-source-plugin.version>3.3.1</maven-source-plugin.version>
  </properties>
  <build>
    <plugins>
      <!--
      Usado apenas para regular os pom.xml
      Não descomentar, pois impacta no build do projeto do cliente.
      Não apagar, pois será usado periodicamente para regular os pom.xml.
      -->
      <!--
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <version>3.6.2</version>
        <executions>
          <execution>
            <id>enforce-rules</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <dependencyConvergence>
                  <message>This rule requires that dependency versions are the same everywhere in the tree.</message>
                </dependencyConvergence>
                <banDependencyManagementScope>
                  <message>This rule bans all scope values except for import from dependencies within the dependency management.</message>
                </banDependencyManagementScope>
              </rules>
            </configuration>
          </execution>
        </executions>
      </plugin>
      -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>${maven-compiler-plugin.version}</version>
        <configuration>
          <encoding>${project.build.sourceEncoding}</encoding>
          <showDeprecation>${maven.compiler.showDeprecation}</showDeprecation>
          <showWarnings>${maven.compiler.showWarnings}</showWarnings>
          <compilerArgument>${maven.compiler.compilerArgument}</compilerArgument>
          <release>${maven.compiler.release}</release>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <version>${maven-plugin-plugin.version}</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>${maven-gpg-plugin.version}</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${maven-javadoc-plugin.version}</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <failOnError>false</failOnError>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>${maven-source-plugin.version}</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <excludes>**/*</excludes>
              <forceCreation>true</forceCreation>
              <archive>
                <addMavenDescriptor>false</addMavenDescriptor>
              </archive>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>