pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <!--
  2. ~ Copyright (c) 2014, 2015, Enrico Maria Crisostomo
  3. ~ All rights reserved.
  4. ~
  5. ~ Redistribution and use in source and binary forms, with or without
  6. ~ modification, are permitted provided that the following conditions are met:
  7. ~
  8. ~ * Redistributions of source code must retain the above copyright notice,
  9. ~ this list of conditions and the following disclaimer.
  10. ~
  11. ~ * Redistributions in binary form must reproduce the above copyright notice,
  12. ~ this list of conditions and the following disclaimer in the documentation
  13. ~ and/or other materials provided with the distribution.
  14. ~
  15. ~ * Neither the name of the author nor the names of its
  16. ~ contributors may be used to endorse or promote products derived from
  17. ~ this software without specific prior written permission.
  18. ~
  19. ~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  20. ~ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  21. ~ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  22. ~ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  23. ~ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  24. ~ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  25. ~ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  26. ~ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  27. ~ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  28. ~ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29. -->
  30. <project xmlns="http://maven.apache.org/POM/4.0.0"
  31. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  32. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  33. <modelVersion>4.0.0</modelVersion>
  34. <groupId>com.warrenstrange</groupId>
  35. <artifactId>googleauth</artifactId>
  36. <version>0.4.5</version>
  37. <packaging>jar</packaging>
  38. <name>${project.groupId}:${project.artifactId}</name>
  39. <description>GoogleAuth is a Java server library that implements the
  40. Time-based One-time Password (TOTP) algorithm specified in RFC 6238.
  41. </description>
  42. <url>http://maven.apache.org</url>
  43. <licenses>
  44. <license>
  45. <name>The BSD 3-Clause License</name>
  46. <url>http://opensource.org/licenses/BSD-3-Clause</url>
  47. </license>
  48. </licenses>
  49. <developers>
  50. <developer>
  51. <name>Enrico M. Crisostomo</name>
  52. <email>enrico.m.crisostomo@gmail.com</email>
  53. <organization>Enrico M. Crisostomo</organization>
  54. <organizationUrl>http://thegreyblog.blogspot.com</organizationUrl>
  55. </developer>
  56. </developers>
  57. <scm>
  58. <connection>scm:git:git@github.com:wstrange/GoogleAuth.git</connection>
  59. <developerConnection>scm:git:git@github.com:wstrange/GoogleAuth.git
  60. </developerConnection>
  61. <url>git@github.com:wstrange/GoogleAuth.git</url>
  62. </scm>
  63. <distributionManagement>
  64. <snapshotRepository>
  65. <id>ossrh</id>
  66. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  67. </snapshotRepository>
  68. </distributionManagement>
  69. <properties>
  70. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  71. </properties>
  72. <dependencies>
  73. <dependency>
  74. <groupId>junit</groupId>
  75. <artifactId>junit</artifactId>
  76. <version>4.12</version>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>commons-codec</groupId>
  81. <artifactId>commons-codec</artifactId>
  82. <version>1.10</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.httpcomponents</groupId>
  86. <artifactId>httpclient</artifactId>
  87. <version>4.4</version>
  88. </dependency>
  89. </dependencies>
  90. <build>
  91. <plugins>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-compiler-plugin</artifactId>
  95. <version>3.2</version>
  96. <configuration>
  97. <source>1.6</source>
  98. <target>1.6</target>
  99. </configuration>
  100. </plugin>
  101. </plugins>
  102. </build>
  103. <profiles>
  104. <profile>
  105. <id>release</id>
  106. <build>
  107. <plugins>
  108. <plugin>
  109. <groupId>org.sonatype.plugins</groupId>
  110. <artifactId>nexus-staging-maven-plugin</artifactId>
  111. <version>1.6.5</version>
  112. <extensions>true</extensions>
  113. <configuration>
  114. <serverId>ossrh</serverId>
  115. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  116. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  117. </configuration>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-source-plugin</artifactId>
  122. <version>2.4</version>
  123. <executions>
  124. <execution>
  125. <id>attach-sources</id>
  126. <goals>
  127. <goal>jar-no-fork</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-javadoc-plugin</artifactId>
  135. <!--
  136. This plugin chokes on self-closing tags, which are
  137. recreated automatically every time IDEA reformats the code.
  138. -->
  139. <configuration>
  140. <additionalparam>-Xdoclint:none</additionalparam>
  141. </configuration>
  142. <version>2.10.1</version>
  143. <executions>
  144. <execution>
  145. <id>attach-javadocs</id>
  146. <goals>
  147. <goal>jar</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. <!--
  153. The Maven GPG plugin relies on information found on
  154. settings.xml.
  155. See http://central.sonatype.org/pages/apache-maven.html for
  156. further information.
  157. -->
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-gpg-plugin</artifactId>
  161. <version>1.6</version>
  162. <executions>
  163. <execution>
  164. <id>sign-artifacts</id>
  165. <phase>verify</phase>
  166. <goals>
  167. <goal>sign</goal>
  168. </goals>
  169. </execution>
  170. </executions>
  171. </plugin>
  172. </plugins>
  173. </build>
  174. </profile>
  175. </profiles>
  176. </project>