Last active
December 16, 2015 02:39
-
-
Save emoseman/5363671 to your computer and use it in GitHub Desktop.
Initial generic project startup pom.xml file.
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
<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>org.group</groupId> | |
<artifactId>artifact-name</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>Project Name</name> | |
<url>http://maven.apache.org</url> | |
<developers> | |
<developer> | |
<id></id> | |
<name></name> | |
<email></email> | |
</developer> | |
</developers> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<jdk.version>1.7</jdk.version> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.0</version> | |
<configuration> | |
<source>${jdk.version}</source> | |
<target>${jdk.version}</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.13</version> | |
<configuration> | |
<excludes /> | |
<includes /> | |
<failIfNoTests>false</failIfNoTests> | |
<threadCount>2</threadCount> | |
<perCoreThreadCount>true</perCoreThreadCount> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-source-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>attach-sources</id> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>attach-javadocs</id> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<!-- Compile --> | |
<dependency> | |
<groupId>ch.qos.logback</groupId> | |
<artifactId>logback-core</artifactId> | |
<version>1.0.9</version> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
<version>1.7.2</version> | |
</dependency> | |
<!-- Optional --> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-lang3</artifactId> | |
<version>3.1</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-validator</groupId> | |
<artifactId>commons-validator</artifactId> | |
<version>1.4.0</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-collections</groupId> | |
<artifactId>commons-collections</artifactId> | |
<version>3.2.1</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>14.0-rc1</version> | |
</dependency> | |
<!-- Test --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.11</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<repositories> | |
<repository> | |
<id>maven default</id> | |
<name>maven default</name> | |
<url>http://repo1.maven.org/maven2</url> | |
<releases> | |
<updatePolicy>interval:4h</updatePolicy> | |
</releases> | |
<snapshots> | |
<updatePolicy>interval:1h</updatePolicy> | |
</snapshots> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>central</id> | |
<name>central</name> | |
<url>http://repo1.maven.org/maven2</url> | |
<releases> | |
<updatePolicy>interval:4h</updatePolicy> | |
</releases> | |
<snapshots> | |
<updatePolicy>interval:1h</updatePolicy> | |
</snapshots> | |
</pluginRepository> | |
</pluginRepositories> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment