|
1 | 1 | <?xml version="1.0"?> |
2 | 2 | <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"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | + |
4 | 5 | <groupId>com.eatthepath</groupId> |
5 | 6 | <artifactId>java-otp</artifactId> |
6 | 7 | <version>0.0.1-SNAPSHOT</version> |
7 | 8 | <name>java-otp</name> |
8 | | - <description>A one-time password library for Java</description> |
| 9 | + <description>A one-time password (HOTP and TOTP) library for Java</description> |
| 10 | + <inceptionYear>2016</inceptionYear> |
| 11 | + <url>https://github.com/jchambers/java-otp</url> |
| 12 | + |
| 13 | + <scm> |
| 14 | + <connection>scm:git:https://github.com/jchambers/java-otp.git</connection> |
| 15 | + <developerConnection>scm:git:git@github.com:jchambers/java-otp.git</developerConnection> |
| 16 | + <url>https://github.com/jchambers/java-otp</url> |
| 17 | + </scm> |
| 18 | + |
| 19 | + <developers> |
| 20 | + <developer> |
| 21 | + <id>jon</id> |
| 22 | + <name>Jon Chambers</name> |
| 23 | + <email>jon.chambers@gmail.com</email> |
| 24 | + <url>https://github.com/jchambers</url> |
| 25 | + <roles> |
| 26 | + <role>developer</role> |
| 27 | + </roles> |
| 28 | + <timezone>-5</timezone> |
| 29 | + </developer> |
| 30 | + </developers> |
| 31 | + |
| 32 | + <licenses> |
| 33 | + <license> |
| 34 | + <name>The MIT License (MIT)</name> |
| 35 | + <url>http://opensource.org/licenses/MIT</url> |
| 36 | + <distribution>repo</distribution> |
| 37 | + </license> |
| 38 | + </licenses> |
| 39 | + |
| 40 | + <parent> |
| 41 | + <groupId>org.sonatype.oss</groupId> |
| 42 | + <artifactId>oss-parent</artifactId> |
| 43 | + <version>7</version> |
| 44 | + </parent> |
| 45 | + |
| 46 | + <properties> |
| 47 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 48 | + </properties> |
9 | 49 |
|
10 | 50 | <dependencies> |
11 | 51 | <dependency> |
|
34 | 74 | <target>1.7</target> |
35 | 75 | </configuration> |
36 | 76 | </plugin> |
| 77 | + |
| 78 | + <plugin> |
| 79 | + <groupId>org.apache.maven.plugins</groupId> |
| 80 | + <artifactId>maven-jar-plugin</artifactId> |
| 81 | + <version>3.0.2</version> |
| 82 | + <configuration> |
| 83 | + <excludes> |
| 84 | + <exclude>**/.gitignore</exclude> |
| 85 | + </excludes> |
| 86 | + </configuration> |
| 87 | + </plugin> |
| 88 | + |
37 | 89 | <plugin> |
38 | 90 | <groupId>org.apache.maven.plugins</groupId> |
39 | 91 | <artifactId>maven-javadoc-plugin</artifactId> |
|
42 | 94 | <overview>${basedir}/src/main/java/overview.html</overview> |
43 | 95 | <show>public</show> |
44 | 96 | </configuration> |
| 97 | + <executions> |
| 98 | + <execution> |
| 99 | + <id>attach-javadocs</id> |
| 100 | + <goals> |
| 101 | + <goal>jar</goal> |
| 102 | + </goals> |
| 103 | + </execution> |
| 104 | + </executions> |
| 105 | + </plugin> |
| 106 | + |
| 107 | + <plugin> |
| 108 | + <groupId>org.apache.maven.plugins</groupId> |
| 109 | + <artifactId>maven-source-plugin</artifactId> |
| 110 | + <version>2.2.1</version> |
| 111 | + <executions> |
| 112 | + <execution> |
| 113 | + <id>attach-sources</id> |
| 114 | + <goals> |
| 115 | + <goal>jar</goal> |
| 116 | + </goals> |
| 117 | + </execution> |
| 118 | + </executions> |
45 | 119 | </plugin> |
46 | 120 | </plugins> |
47 | 121 | </build> |
| 122 | + |
| 123 | + <profiles> |
| 124 | + <profile> |
| 125 | + <id>release-sign-artifacts</id> |
| 126 | + <activation> |
| 127 | + <property> |
| 128 | + <name>performRelease</name> |
| 129 | + <value>true</value> |
| 130 | + </property> |
| 131 | + </activation> |
| 132 | + <build> |
| 133 | + <plugins> |
| 134 | + <plugin> |
| 135 | + <groupId>org.apache.maven.plugins</groupId> |
| 136 | + <artifactId>maven-gpg-plugin</artifactId> |
| 137 | + <version>1.1</version> |
| 138 | + <executions> |
| 139 | + <execution> |
| 140 | + <id>sign-artifacts</id> |
| 141 | + <phase>verify</phase> |
| 142 | + <goals> |
| 143 | + <goal>sign</goal> |
| 144 | + </goals> |
| 145 | + </execution> |
| 146 | + </executions> |
| 147 | + </plugin> |
| 148 | + </plugins> |
| 149 | + </build> |
| 150 | + </profile> |
| 151 | + </profiles> |
48 | 152 | </project> |
0 commit comments