Building Java Projects with Maven

Apache Maven is a software management tool that can be used to build, install, and distribute Java-based projects. You can build Java-based projects with the PubSub+ Java RTO API.

For the PubSub+ Java RTO API, you can obtain the artifacts from Maven Central.

To build a project with Maven that requires the Java RTO API, the following artifacts are provided when you add the required dependency to your pom.xml. For an example, see PubSub+ Java RTO API.

  • solclientj-common-10.x.x.jar
  • solclientj-native-common-10.x.x.jar

Obtaining Artifacts from Maven Central

The Java RTO API can be retrieved using Maven (pom.xml) or Gradle (build.gradle).

For example, using Maven:

<dependencies>
  <dependency>
    <groupId>com.solacesystems</groupId>
    <artifactId>solclientj</artifactId>
    <version>10.9.0</version>
    <type>pom</type>
  </dependency>
</dependencies>

Using Gradle:

...
...
dependencies {
//PubSub+ Messaging API Dependencies
implementation group: 'com.solacesystems', name: 'solclientj', version: '10.9.0'
...
}