|
140 | 140 | <asm.plugin.version>5.0.3</asm.plugin.version> |
141 | 141 | <maven.assembly.version>2.5.4</maven.assembly.version> |
142 | 142 | <exec.maven.version>1.4.0</exec.maven.version> |
| 143 | + <nexus.staging.maven.plugin.version>1.6.13</nexus.staging.maven.plugin.version> |
143 | 144 | <rxtx.native.libs.dir>rxtx-native-libs</rxtx.native.libs.dir> |
144 | 145 | <assemblyId>Release</assemblyId> |
145 | 146 |
|
|
191 | 192 | </dependency> |
192 | 193 | </dependencies> |
193 | 194 | </plugin> |
| 195 | + <plugin> |
| 196 | + <groupId>org.sonatype.plugins</groupId> |
| 197 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 198 | + <version>${nexus.staging.maven.plugin.version}</version> |
| 199 | + <extensions>true</extensions> |
| 200 | + <configuration> |
| 201 | + <serverId>sonatype-nexus-staging</serverId> |
| 202 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 203 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 204 | + </configuration> |
| 205 | + </plugin> |
194 | 206 | </plugins> |
195 | 207 | </pluginManagement> |
196 | 208 | </build> |
197 | 209 |
|
198 | 210 | <!-- Distribution Management --> |
199 | 211 | <distributionManagement> |
| 212 | + <snapshotRepository> |
| 213 | + <id>sonatype-nexus-snapshots</id> |
| 214 | + <name>Sonatype Nexus Snapshots</name> |
| 215 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 216 | + </snapshotRepository> |
200 | 217 | <repository> |
201 | | - <id>bintray-repo</id> |
202 | | - <url>https://api.bintray.com/maven/digidotcom/maven/xbee-java</url> |
| 218 | + <id>sonatype-nexus-staging</id> |
| 219 | + <name>Nexus Release Repository</name> |
| 220 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
203 | 221 | </repository> |
204 | 222 | </distributionManagement> |
205 | 223 |
|
|
213 | 231 | <groupId>org.rxtx</groupId> |
214 | 232 | <artifactId>rxtx-native</artifactId> |
215 | 233 | <version>${rxtx.version}</version> |
216 | | - <classifier>${build.type}</classifier> |
217 | 234 | </dependency> |
218 | 235 | <dependency> |
219 | 236 | <groupId>org.slf4j</groupId> |
|
0 commit comments