Skip to content

Commit

Permalink
Maven POM and gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanSweet committed Nov 14, 2013
1 parent 8c81bd2 commit 6fff334
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 22 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@

bin/
target/
.idea/
*.iml
125 changes: 103 additions & 22 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
<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">
<?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/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.esotericsoftware.minlog</groupId>

<groupId>com.esotericsoftware</groupId>
<artifactId>minlog</artifactId>
<version>1.2</version>
<version>1.3-SNAPHOT</version>
<packaging>jar</packaging>

<name>MinLog</name>
<description>Minimal overhead Java logging</description>
<url>http://code.google.com/p/minlog/</url>
<url>https://github.com/EsotericSoftware/minlog</url>

<licenses>
<license>
Expand All @@ -19,11 +24,6 @@
</license>
</licenses>

<scm>
<url>http://minlog.googlecode.com/svn/</url>
<connection>scm:svn:http://minlog.googlecode.com/svn/</connection>
</scm>

<developers>
<developer>
<id>nathan.sweet</id>
Expand All @@ -32,30 +32,111 @@
</developer>
</developers>

<scm>
<url>https://github.com/EsotericSoftware/minlog</url>
<connection>scm:git:https://github.com/EsotericSoftware/minlog.git</connection>
<developerConnection>scm:git:https://github.com/EsotericSoftware/minlog.git</developerConnection>
<tag>HEAD</tag>
</scm>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- If you want to build from an IDE like IDEA or Eclipse and use GnuPG version >= v2.0,
set the parameter to true in order to get a nice GUI dialog for entering the passphrase.
If you want to build from a console, set it to false or override it via -DgpgGuiPassphrase=false. -->
<gpgGuiPassphrase>true</gpgGuiPassphrase>

<!-- If you have multiple GnuPG signing keys on your keyring, the first one is used as the default key.
In order to use another one, specify the desired key ID here, otherwise you may just leave the parameter
empty or override it via -DgpgKeyId=. It does not hurt to always specify it, though. -->
<gpgKeyId>E254C702</gpgKeyId>
</properties>

<build>
<!-- Set nonstandard source dir -->
<sourceDirectory>src</sourceDirectory>

<plugins>
<!-- Disable resources (project has none) -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<configuration>
<useAgent>${gpgGuiPassphrase}</useAgent>
<keyname>${gpgKeyId}</keyname>
</configuration>
<executions>
<execution>
<id>default-resources</id>
<phase>none</phase>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>default-testResources</id>
<phase>none</phase>
<id>package-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>package-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>package-tests</id>
<phase>package</phase>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.1</version>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

0 comments on commit 6fff334

Please sign in to comment.