Last active
October 10, 2018 19:43
-
-
Save abranhe/fae5b5451ffcba36901401fd9cc64d2e to your computer and use it in GitHub Desktop.
Starter pom.xml template for my projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> | |
<parent> | |
<groupId>org.sonatype.oss</groupId> | |
<artifactId>oss-parent</artifactId> | |
<version>7</version> | |
</parent> | |
<groupId>com.abranhe.example</groupId> | |
<artifactId>example</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<name>Example</name> | |
<description>Example Description</description> | |
<url>http://github.com/abranhe/example</url> | |
<inceptionYear>20**</inceptionYear> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<scm> | |
<url>http://github.com/abranhe/example</url> | |
<connection>scm:git:git://github.com/abranhe/example.git</connection> | |
<developerConnection>scm:git:ssh://git@github.com/abranhe/example.git</developerConnection> | |
<tag>HEAD</tag> | |
</scm> | |
<developers> | |
<developer> | |
<name>Carlos Abraham</name> | |
<email>abraham@abranhe.com</email> | |
<organization>${project.groupId}</organization> | |
<organizationUrl>https://abranhe.com</organizationUrl> | |
</developer> | |
</developers> | |
<issueManagement> | |
<system>GitHub Issues</system> | |
<url>http://github.com/abranhe/example/issues</url> | |
</issueManagement> | |
<licenses> | |
<license> | |
<name>MIT</name> | |
<url>https://github.com/abranhe/example/tree/master/license</url> | |
</license> | |
</licenses> | |
<dependencies> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.11</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.assertj</groupId> | |
<artifactId>assertj-core</artifactId> | |
<version>2.0.0</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.1</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment