Skip to content

Commit 9690c27

Browse files
committed
maven: changes for sonatype nexus release
Signed-off-by: Ruben Moral <ruben.moral@digi.com>
1 parent 7ef22a0 commit 9690c27

File tree

3 files changed

+21
-10
lines changed

3 files changed

+21
-10
lines changed

distribution/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@
2626
<version>${project.version}</version>
2727
<type>jar</type>
2828
</dependency>
29-
<!-- Add the dependency to the native libraries of rxtx -->
30-
<dependency>
31-
<groupId>org.rxtx</groupId>
32-
<artifactId>rxtx-native</artifactId>
33-
<version>${rxtx.version}</version>
34-
</dependency>
3529
<!-- Add the rest of SLF4J bindings to be included in the distribution
3630
deliverable -->
3731
<dependency>

library/src/main/javadoc/overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<body>
1010
<div>
1111
<H1>Introduction</H1>
12-
<img src="resources/images/xbee.png" border="0" alt="XBee" align="right" style="margin-left: 20px;"/>
12+
<img src="resources/images/xbee.png" alt="XBee" style="margin-left: 20px; float: right;"/>
1313
<p style="text-align: justify;">The XBee Java Library is an easy-to-use API developed in Java that allows you to interact with Digi's XBee radio frequency (RF) modules. You can use the XBee Java Library to create any kind of Java application, from command line to GUI, that needs to communicate with or configure XBee devices.</p>
1414
<p style="text-align: justify;">The API is designed both for new and advanced users. You don't need previous knowledge of XBee communication protocols or advanced Java experience to get started. The API provides all the methods you need to perform the most common tasks related to XBee devices. If you are an advanced user, you can take advantage of the complete set of API commands to create powerful applications.</p>
1515
</div>

pom.xml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
<asm.plugin.version>5.0.3</asm.plugin.version>
141141
<maven.assembly.version>2.5.4</maven.assembly.version>
142142
<exec.maven.version>1.4.0</exec.maven.version>
143+
<nexus.staging.maven.plugin.version>1.6.13</nexus.staging.maven.plugin.version>
143144
<rxtx.native.libs.dir>rxtx-native-libs</rxtx.native.libs.dir>
144145
<assemblyId>Release</assemblyId>
145146

@@ -191,15 +192,32 @@
191192
</dependency>
192193
</dependencies>
193194
</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>
194206
</plugins>
195207
</pluginManagement>
196208
</build>
197209

198210
<!-- Distribution Management -->
199211
<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>
200217
<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>
203221
</repository>
204222
</distributionManagement>
205223

@@ -213,7 +231,6 @@
213231
<groupId>org.rxtx</groupId>
214232
<artifactId>rxtx-native</artifactId>
215233
<version>${rxtx.version}</version>
216-
<classifier>${build.type}</classifier>
217234
</dependency>
218235
<dependency>
219236
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)