|
8 | 8 | <artifactId>mapcode</artifactId> |
9 | 9 |
|
10 | 10 | <packaging>jar</packaging> |
11 | | - <version>1.40</version> |
| 11 | + <version>1.40-SNAPSHOT</version> |
12 | 12 |
|
13 | 13 | <name>Mapcode Java Library</name> |
14 | 14 | <description> |
|
25 | 25 | <developer> |
26 | 26 | <id>pieter</id> |
27 | 27 | <name>Pieter Geelen</name> |
28 | | - <email>pieter.geelen@mapcode.com</email> |
29 | 28 | <organization>Mapcode</organization> |
30 | 29 | <roles> |
31 | 30 | <role>Founder</role> |
|
35 | 34 | <developer> |
36 | 35 | <id>rijn</id> |
37 | 36 | <name>Rijn Buve</name> |
38 | | - <email>rijn@buve.nl</email> |
39 | 37 | <organization>Mapcode</organization> |
40 | 38 | <roles> |
41 | 39 | <role>Developer</role> |
|
45 | 43 | <developer> |
46 | 44 | <id>matthew</id> |
47 | 45 | <name>Matthew Lowden</name> |
48 | | - <email>matthew.lowden@tomtom.com</email> |
49 | 46 | <organization>Mapcode</organization> |
50 | 47 | <roles> |
51 | 48 | <role>Developer</role> |
|
74 | 71 | <junit.version>4.11</junit.version> |
75 | 72 | <log4j.version>1.2.17</log4j.version> |
76 | 73 | <slf4j.version>1.7.2</slf4j.version> |
| 74 | + <nexus-staging-maven-plugin.version>1.6.4</nexus-staging-maven-plugin.version> |
| 75 | + <maven-source-plugin.version>2.3</maven-source-plugin.version> |
| 76 | + <maven-javadoc-plugin.version>2.10</maven-javadoc-plugin.version> |
| 77 | + <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version> |
77 | 78 | </properties> |
78 | 79 |
|
| 80 | + <distributionManagement> |
| 81 | + <snapshotRepository> |
| 82 | + <id>ossrh</id> |
| 83 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 84 | + </snapshotRepository> |
| 85 | + </distributionManagement> |
| 86 | + |
79 | 87 | <build> |
80 | 88 | <plugins> |
81 | 89 | <plugin> |
82 | 90 | <groupId>org.apache.maven.plugins</groupId> |
83 | 91 | <artifactId>maven-source-plugin</artifactId> |
| 92 | + <version>${maven-source-plugin.version}</version> |
84 | 93 | <executions> |
85 | 94 | <execution> |
86 | 95 | <id>attach-sources</id> |
87 | 96 | <goals> |
88 | | - <goal>jar</goal> |
| 97 | + <goal>jar-no-fork</goal> |
89 | 98 | </goals> |
90 | 99 | </execution> |
91 | 100 | </executions> |
|
94 | 103 | <plugin> |
95 | 104 | <groupId>org.apache.maven.plugins</groupId> |
96 | 105 | <artifactId>maven-javadoc-plugin</artifactId> |
| 106 | + <version>${maven-javadoc-plugin.version}</version> |
97 | 107 | <executions> |
98 | 108 | <execution> |
99 | 109 | <id>attach-javadocs</id> |
|
103 | 113 | </execution> |
104 | 114 | </executions> |
105 | 115 | </plugin> |
| 116 | + |
| 117 | + <plugin> |
| 118 | + <groupId>org.sonatype.plugins</groupId> |
| 119 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 120 | + <version>${nexus-staging-maven-plugin.version}</version> |
| 121 | + <extensions>true</extensions> |
| 122 | + <configuration> |
| 123 | + <serverId>ossrh</serverId> |
| 124 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 125 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 126 | + </configuration> |
| 127 | + </plugin> |
| 128 | + |
| 129 | + <plugin> |
| 130 | + <groupId>org.apache.maven.plugins</groupId> |
| 131 | + <artifactId>maven-gpg-plugin</artifactId> |
| 132 | + <version>${maven-gpg-plugin.version}</version> |
| 133 | + <executions> |
| 134 | + <execution> |
| 135 | + <id>sign-artifacts</id> |
| 136 | + <phase>verify</phase> |
| 137 | + <goals> |
| 138 | + <goal>sign</goal> |
| 139 | + </goals> |
| 140 | + </execution> |
| 141 | + </executions> |
| 142 | + </plugin> |
106 | 143 | </plugins> |
107 | 144 | </build> |
108 | 145 |
|
|
0 commit comments