Created
July 28, 2015 18:40
-
-
Save jamiejackson/dd29170f5799d065bb4d to your computer and use it in GitHub Desktop.
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
<!-- | |
~ Copyright (c) 2014-2015 Enrico M. Crisostomo | |
~ All rights reserved. | |
~ | |
~ Redistribution and use in source and binary forms, with or without | |
~ modification, are permitted provided that the following conditions are met: | |
~ | |
~ * Redistributions of source code must retain the above copyright notice, this | |
~ list of conditions and the following disclaimer. | |
~ | |
~ * Redistributions in binary form must reproduce the above copyright notice, | |
~ this list of conditions and the following disclaimer in the documentation | |
~ and/or other materials provided with the distribution. | |
~ | |
~ * Neither the name of the author nor the names of its | |
~ contributors may be used to endorse or promote products derived from | |
~ this software without specific prior written permission. | |
~ | |
~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
~ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
~ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
~ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | |
~ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
~ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
~ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
~ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | |
~ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
~ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
--> | |
<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.warrenstrange</groupId> | |
<artifactId>googleauth</artifactId> | |
<version>0.5.0</version> | |
<packaging>jar</packaging> | |
<name>${project.groupId}:${project.artifactId}</name> | |
<description> | |
GoogleAuth is a Java server library that implements the Time-based One-time Password (TOTP) algorithm specified | |
in RFC 6238. | |
</description> | |
<url>http://maven.apache.org</url> | |
<licenses> | |
<license> | |
<name>The BSD 3-Clause License</name> | |
<url>http://opensource.org/licenses/BSD-3-Clause</url> | |
</license> | |
</licenses> | |
<developers> | |
<developer> | |
<name>Enrico M. Crisostomo</name> | |
<email>enrico.m.crisostomo@gmail.com</email> | |
<organization>Enrico M. Crisostomo</organization> | |
<organizationUrl>http://thegreyblog.blogspot.com</organizationUrl> | |
</developer> | |
</developers> | |
<scm> | |
<connection>scm:git:git@github.com:wstrange/GoogleAuth.git</connection> | |
<developerConnection>scm:git:git@github.com:wstrange/GoogleAuth.git | |
</developerConnection> | |
<url>git@github.com:wstrange/GoogleAuth.git</url> | |
</scm> | |
<distributionManagement> | |
<snapshotRepository> | |
<id>ossrh</id> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
</snapshotRepository> | |
</distributionManagement> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.12</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>commons-codec</groupId> | |
<artifactId>commons-codec</artifactId> | |
<version>1.10</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpclient</artifactId> | |
<version>4.4.1</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.2</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>versions-maven-plugin</artifactId> | |
<version>2.1</version> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<profile> | |
<id>release</id> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<version>1.4</version> | |
<executions> | |
<execution> | |
<id>enforce-no-snapshots</id> | |
<goals> | |
<goal>enforce</goal> | |
</goals> | |
<configuration> | |
<rules> | |
<requireReleaseDeps> | |
<message>No Snapshots dependencies are allowed in a release build.</message> | |
<onlyWhenRelease>true</onlyWhenRelease> | |
</requireReleaseDeps> | |
</rules> | |
<fail>true</fail> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.sonatype.plugins</groupId> | |
<artifactId>nexus-staging-maven-plugin</artifactId> | |
<version>1.6.5</version> | |
<extensions>true</extensions> | |
<configuration> | |
<serverId>ossrh</serverId> | |
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | |
<autoReleaseAfterClose>true</autoReleaseAfterClose> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-source-plugin</artifactId> | |
<version>2.4</version> | |
<executions> | |
<execution> | |
<id>attach-sources</id> | |
<goals> | |
<goal>jar-no-fork</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<!-- | |
This plugin chokes on self-closing tags, which are | |
recreated automatically every time IDEA reformats the code. | |
--> | |
<configuration> | |
<additionalparam>-Xdoclint:none</additionalparam> | |
</configuration> | |
<version>2.10.1</version> | |
<executions> | |
<execution> | |
<id>attach-javadocs</id> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<!-- | |
The Maven GPG plugin relies on information found on | |
settings.xml. | |
See http://central.sonatype.org/pages/apache-maven.html for | |
further information. | |
--> | |
<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> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment