Pom of com.github.decioamador:jdocuments-generator:2.1.1

Back to com.github.decioamador:jdocuments-generator:2.1.1

<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>

        <groupId>com.github.decioamador</groupId>
        <artifactId>jdocuments-generator</artifactId>
        <version>2.1.1</version>
        <packaging>jar</packaging>

        <name>JDocumentsGenerator</name>
        <url>https://github.com/DecioAmador/JDocumentsGenerator</url>
        <description>The objective is to generate documents.</description>

        <properties>
                <java.version>1.8</java.version>
                <char.encoding>UTF-8</char.encoding>

                <maven.compiler.source>${java.version}</maven.compiler.source>
                <maven.compiler.target>${java.version}</maven.compiler.target>

                <project.build.sourceEncoding>${char.encoding}</project.build.sourceEncoding>
                <project.reporting.outputEncoding>${char.encoding}</project.reporting.outputEncoding>

                <junit.jupiter.version>5.0.1</junit.jupiter.version>
                <junit.platform.version>1.0.1</junit.platform.version>

                <poi.version>3.17</poi.version>
        </properties>

        <licenses>
                <license>
                        <name>Apache License, Version 2.0</name>
                        <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
                        <distribution>repo</distribution>
                </license>
        </licenses>

        <developers>
                <developer>
                        <name>Décio Amador</name>
                        <email>decio.amador@hotmail.com</email>
                </developer>
        </developers>

        <issueManagement>
                <url>https://github.com/DecioAmador/JDocumentsGenerator/issues</url>
                <system>Github</system>
        </issueManagement>

        <scm>
                <connection>scm:git:git@github.com:DecioAmador/JDocumentsGenerator.git</connection>
                <developerConnection>scm:git:git@github.com:DecioAmador/JDocumentsGenerator.git</developerConnection>
                <url>git@github.com:DecioAmador/JDocumentsGenerator.git</url>
        </scm>

        <distributionManagement>
                <snapshotRepository>
                        <id>ossrh</id>
                        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
                </snapshotRepository>

                <repository>
                        <id>ossrh</id>
                        <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
                </repository>
        </distributionManagement>

        <build>
                <plugins>

                        <!-- GPG -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-gpg-plugin</artifactId>
                                <version>1.6</version>
                                <executions>
                                        <execution>
                                                <id>sign-artifacts</id>
                                                <phase>verify</phase>
                                                <goals>
                                                        <goal>sign</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>

                        <!-- Distribution Management and Autentication -->
                        <plugin>
                                <groupId>org.sonatype.plugins</groupId>
                                <artifactId>nexus-staging-maven-plugin</artifactId>
                                <version>1.6.8</version>
                                <extensions>true</extensions>
                                <configuration>
                                        <serverId>ossrh</serverId>
                                        <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                                        <autoReleaseAfterClose>true</autoReleaseAfterClose>
                                </configuration>
                        </plugin>

                        <!-- Sources Attachments -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-source-plugin</artifactId>
                                <version>3.0.1</version>
                                <executions>
                                        <execution>
                                                <id>attach-sources</id>
                                                <goals>
                                                        <goal>jar-no-fork</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>
                                        <show>private</show>
                                </configuration>
                        </plugin>

                        <!-- Javadoc Attachments -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
                                <version>3.0.0</version>
                                <executions>
                                        <execution>
                                                <id>attach-javadocs</id>
                                                <goals>
                                                        <goal>jar</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>

                        <!-- Release Deployment with the Maven Release Plugin -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-release-plugin</artifactId>
                                <version>2.5</version>
                                <configuration>
                                        <autoVersionSubmodules>true</autoVersionSubmodules>
                                        <useReleaseProfile>true</useReleaseProfile>
                                        <releaseProfiles>release</releaseProfiles>
                                        <goals>deploy</goals>
                                </configuration>
                        </plugin>

                        <plugin>
                                <artifactId>maven-surefire-plugin</artifactId>
                                <version>2.19.1</version>
                                <configuration>
                                        <includes>
                                                <include>**/*Tests.java</include>
                                        </includes>
                                </configuration>
                                <dependencies>
                                        <dependency>
                                                <groupId>org.junit.platform</groupId>
                                                <artifactId>junit-platform-surefire-provider</artifactId>
                                                <version>${junit.platform.version}</version>
                                        </dependency>
                                </dependencies>
                        </plugin>

                </plugins>

        </build>

        <dependencies>

                <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
                <dependency>
                        <groupId>org.apache.poi</groupId>
                        <artifactId>poi-ooxml</artifactId>
                        <version>${poi.version}</version>
                </dependency>

                <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
                <dependency>
                        <groupId>org.junit.jupiter</groupId>
                        <artifactId>junit-jupiter-api</artifactId>
                        <version>${junit.jupiter.version}</version>
                        <scope>test</scope>
                </dependency>
                
                <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
                <dependency>
                        <groupId>org.junit.jupiter</groupId>
                        <artifactId>junit-jupiter-engine</artifactId>
                        <version>${junit.jupiter.version}</version>
                        <scope>test</scope>
                </dependency>

                <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-params -->
                <dependency>
                        <groupId>org.junit.jupiter</groupId>
                        <artifactId>junit-jupiter-params</artifactId>
                        <version>${junit.jupiter.version}</version>
                        <scope>test</scope>
                </dependency>

                <!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher -->
                <dependency>
                        <groupId>org.junit.platform</groupId>
                        <artifactId>junit-platform-launcher</artifactId>
                        <version>${junit.platform.version}</version>
                        <scope>test</scope>
                </dependency>

        </dependencies>

</project>