All Apps and Add-ons

Why can I not download splunk-logging-library from repository?

yuemsek
Path Finder

Hello,

we are working on a log-forwarder solution on base of the java-based logging library from Splunk.

In the splunk-dev website it is documented, that the splunk.jfrog.io repository is to use in case of maven based projects.

For this purpose I configured the repository and the dependency as following:

 

<repositories>
...
  <repository> 
    <id>splunk-artifactory</id> 
    <name>Splunk Releases</name> 
    <url>https://splunk.jfrog.io/artifactory/libs-releases</url> 
  </repository>
</repositories>
...
<dependencies>
...
  <dependency>
    <groupId>com.splunk.logging</groupId>
    <artifactId>splunk-library-javalogging</artifactId>
    <version>1.8.0</version>
  </dependency>
</dependencies>

 

 

When I run the maven build, then I get the following error:

Failed to read artifact descriptor for com.splunk.logging:splunk-library-javalogging:jar:1.8.0: Could not transfer artifact com.splunk.logging:splunk-library-javalogging:pom:1.8.0 from/to splunk-artifactory (https://splunk.jfrog.io/artifactory/libs-releases😞 Authentication failed for https://splunk.jfrog.io/artifactory/libs-releases/com/splunk/logging/splunk-library-javalogging/1.8.... 401 Unauthorized -> [Help 1]

Before I switched to the new repository I used the repo.spring.io repository and this worked well until the common usage has been disallowed.

Can you please help me to solve this issue?

- Is the url, that I'm using (https://splunk.jfrog.io/artifactory/libs-releases) correct?

- Do I need an authentication to use the location as maven dependency?

Thanks a lot

Labels (2)
0 Karma

herrypeterlee
New Member

Try this repo: 

<url>https://splunk.jfrog.io/splunk/ext-releases-local</url> 

 

I can download jar from this repo 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...