Skip to content

Commit

Permalink
maven: changes for sonatype nexus release
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Moral <ruben.moral@digi.com>
  • Loading branch information
rubenmoral committed May 26, 2022
1 parent 7ef22a0 commit 9690c27
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.
6 changes: 0 additions & 6 deletions distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@
<version>${project.version}</version>
<type>jar</type>
</dependency>
<!-- Add the dependency to the native libraries of rxtx -->
<dependency>
<groupId>org.rxtx</groupId>
<artifactId>rxtx-native</artifactId>
<version>${rxtx.version}</version>
</dependency>
<!-- Add the rest of SLF4J bindings to be included in the distribution
deliverable -->
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion library/src/main/javadoc/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<body>
<div>
<H1>Introduction</H1>
<img src="resources/images/xbee.png" border="0" alt="XBee" align="right" style="margin-left: 20px;"/>
<img src="resources/images/xbee.png" alt="XBee" style="margin-left: 20px; float: right;"/>
<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>
<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>
</div>
Expand Down
23 changes: 20 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
<asm.plugin.version>5.0.3</asm.plugin.version>
<maven.assembly.version>2.5.4</maven.assembly.version>
<exec.maven.version>1.4.0</exec.maven.version>
<nexus.staging.maven.plugin.version>1.6.13</nexus.staging.maven.plugin.version>
<rxtx.native.libs.dir>rxtx-native-libs</rxtx.native.libs.dir>
<assemblyId>Release</assemblyId>

Expand Down Expand Up @@ -191,15 +192,32 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus.staging.maven.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<!-- Distribution Management -->
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>bintray-repo</id>
<url>https://api.bintray.com/maven/digidotcom/maven/xbee-java</url>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>

Expand All @@ -213,7 +231,6 @@
<groupId>org.rxtx</groupId>
<artifactId>rxtx-native</artifactId>
<version>${rxtx.version}</version>
<classifier>${build.type}</classifier>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down

0 comments on commit 9690c27

Please sign in to comment.