Skip to content

Instantly share code, notes, and snippets.

@thihenos
Created September 5, 2020 04:06
Show Gist options
  • Save thihenos/a7eba95481ab0e8a76f658df2ef43a8c to your computer and use it in GitHub Desktop.
Save thihenos/a7eba95481ab0e8a76f658df2ef43a8c to your computer and use it in GitHub Desktop.
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>NOME_ARTEFATO</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>PROJECTO</name>
<scm>
<url>{HTTP_URL_GIT_REPOSITORY}</url> <!-- URL HTTP de clone do projeto -->
<connection>scm:git:{HTTP_URL_GIT_REPOSITORY}</connection> <!-- URL HTTP de clone do projeto -->
<developerConnection>scm:git:{HTTP_URL_GIT_REPOSITORY}</developerConnection> <!-- URL HTTP de clone do projeto -->
<tag>@{project.version}</tag>
</scm>
<properties>
<java.version>8</java.version>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>${java.version}</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
<checkModificationExcludes>
<checkModificationExclude>pom.xml</checkModificationExclude>
</checkModificationExcludes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.2.0</version>
<type>maven-plugin</type>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment