Skip to content

Commit 4392ba2

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

File tree

42 files changed

+392
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+392
-10
lines changed

distribution/pom.xml

Lines changed: 20 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>
@@ -69,6 +63,26 @@
6963
</execution>
7064
</executions>
7165
</plugin>
66+
<plugin>
67+
<groupId>org.sonatype.plugins</groupId>
68+
<artifactId>nexus-staging-maven-plugin</artifactId>
69+
<version>${nexus.staging.maven.plugin.version}</version>
70+
<extensions>true</extensions>
71+
<configuration>
72+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
73+
</configuration>
74+
</plugin>
7275
</plugins>
7376
</build>
77+
<repositories>
78+
<repository>
79+
<id>central</id>
80+
<name>Central Maven Repository</name>
81+
<url>https://repo.maven.apache.org/maven2</url>
82+
<layout>default</layout>
83+
<snapshots>
84+
<enabled>false</enabled>
85+
</snapshots>
86+
</repository>
87+
</repositories>
7488
</project>

examples/communication/ReceiveDataPollingSample/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@
3636
</arguments>
3737
</configuration>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.sonatype.plugins</groupId>
41+
<artifactId>nexus-staging-maven-plugin</artifactId>
42+
<version>${nexus.staging.maven.plugin.version}</version>
43+
<extensions>true</extensions>
44+
<configuration>
45+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
46+
</configuration>
47+
</plugin>
3948
</plugins>
4049
</build>
4150

examples/communication/ReceiveDataSample/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@
3636
</arguments>
3737
</configuration>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.sonatype.plugins</groupId>
41+
<artifactId>nexus-staging-maven-plugin</artifactId>
42+
<version>${nexus.staging.maven.plugin.version}</version>
43+
<extensions>true</extensions>
44+
<configuration>
45+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
46+
</configuration>
47+
</plugin>
3948
</plugins>
4049
</build>
4150

examples/communication/ReceiveModemStatusSample/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@
3636
</arguments>
3737
</configuration>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.sonatype.plugins</groupId>
41+
<artifactId>nexus-staging-maven-plugin</artifactId>
42+
<version>${nexus.staging.maven.plugin.version}</version>
43+
<extensions>true</extensions>
44+
<configuration>
45+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
46+
</configuration>
47+
</plugin>
3948
</plugins>
4049
</build>
4150

examples/communication/SendBroadcastDataSample/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@
3636
</arguments>
3737
</configuration>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.sonatype.plugins</groupId>
41+
<artifactId>nexus-staging-maven-plugin</artifactId>
42+
<version>${nexus.staging.maven.plugin.version}</version>
43+
<extensions>true</extensions>
44+
<configuration>
45+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
46+
</configuration>
47+
</plugin>
3948
</plugins>
4049
</build>
4150

examples/communication/SendDataAsyncSample/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@
3636
</arguments>
3737
</configuration>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.sonatype.plugins</groupId>
41+
<artifactId>nexus-staging-maven-plugin</artifactId>
42+
<version>${nexus.staging.maven.plugin.version}</version>
43+
<extensions>true</extensions>
44+
<configuration>
45+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
46+
</configuration>
47+
</plugin>
3948
</plugins>
4049
</build>
4150

examples/communication/SendDataSample/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@
3636
</arguments>
3737
</configuration>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.sonatype.plugins</groupId>
41+
<artifactId>nexus-staging-maven-plugin</artifactId>
42+
<version>${nexus.staging.maven.plugin.version}</version>
43+
<extensions>true</extensions>
44+
<configuration>
45+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
46+
</configuration>
47+
</plugin>
3948
</plugins>
4049
</build>
4150

examples/communication/bluetooth/ReceiveBluetoothDataSample/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@
3636
</arguments>
3737
</configuration>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.sonatype.plugins</groupId>
41+
<artifactId>nexus-staging-maven-plugin</artifactId>
42+
<version>${nexus.staging.maven.plugin.version}</version>
43+
<extensions>true</extensions>
44+
<configuration>
45+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
46+
</configuration>
47+
</plugin>
3948
</plugins>
4049
</build>
4150

examples/communication/bluetooth/ReceiveBluetoothFileSample/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@
3636
</arguments>
3737
</configuration>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.sonatype.plugins</groupId>
41+
<artifactId>nexus-staging-maven-plugin</artifactId>
42+
<version>${nexus.staging.maven.plugin.version}</version>
43+
<extensions>true</extensions>
44+
<configuration>
45+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
46+
</configuration>
47+
</plugin>
3948
</plugins>
4049
</build>
4150

examples/communication/bluetooth/SendBluetoothDataSample/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@
3636
</arguments>
3737
</configuration>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.sonatype.plugins</groupId>
41+
<artifactId>nexus-staging-maven-plugin</artifactId>
42+
<version>${nexus.staging.maven.plugin.version}</version>
43+
<extensions>true</extensions>
44+
<configuration>
45+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
46+
</configuration>
47+
</plugin>
3948
</plugins>
4049
</build>
4150

0 commit comments

Comments
 (0)