Splunk SDK for Java now has maven support
Does your project depend on 3rd party jars, like Splunk SDK for Java? Do you use maven, ivy or gradle to build your project? Do you rely on maven or similar tools to fetch all your dependencies behind the scenes so you can build your project seamlessly?
If your answer to these questions is Yes, then we have great news for you. Now you can add our jar as a dependency. For maven, here is how you can update your project’s pom.xml in 2 easy steps. You can make similar changes for ivy as well as gradle.
Step 1. Add the repository.
<repositories> ... <repository> <id>ext-release-local</id> <url>http://splunk.artifactoryonline.com/splunk/ext-releases-local</url> </repository> </repositories>
Step 2. Add the dependency.
<dependencies> ... <dependency> <groupId>com.splunk</groupId> <artifactId>splunk</artifactId> <version>1.1.0</version> </dependency> </dependencies>
And you are done!
Send us feedback at firstname.lastname@example.org.