Missing artifact com.github.vidstige:jadb:jar:-v1.0-g94ebf38-23 with sikulixapi 1.1.1

Asked by Jai P

As RaiMan suggested in another post of mine, I tried switching to v 1.1.1 -

<!-- https://mvnrepository.com/artifact/com.sikulix/sikulixapi -->
<dependency>
 <groupId>com.sikulix</groupId>
 <artifactId>sikulixapi</artifactId>
 <version>1.1.1</version>
</dependency>

but now my pom complains about "Missing artifact com.github.vidstige:jadb:jar:-v1.0-g94ebf38-23" . I am positive that this jar is hosted in another repository instead of Central. I had the same issue with another jar for 1.1.0 and RaiMan suggested that 1.1.1 will have all the jars in the same repo.
How can I get past this?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Jai P
Solved:
Last query:
Last reply:
Revision history for this message
Jai P (jaip) said :
#1

I had to exclude jadb to get 1.1.1 to work

<dependency>
 <groupId>com.sikulix</groupId>
 <artifactId>sikulixapi</artifactId>
 <version>1.1.1</version>
 <exclusions>
  <exclusion>
   <groupId>com.github.vidstige</groupId>
   <artifactId>jadb</artifactId>
  </exclusion>
 </exclusions>
</dependency>

Revision history for this message
RaiMan (raimund-hocke) said :
#2

Just tested a small Java program in a Maven project context and an empty local repository.

using only
<dependency>
 <groupId>com.sikulix</groupId>
 <artifactId>sikulixapi</artifactId>
 <version>1.1.1</version>
</dependency>

on <mvn clean install> downloads everything needed including the mentioned
    <groupId>com.github.vidstige</groupId>
   <artifactId>jadb</artifactId>

which indeed is not on Maven Central but on
    <repository>
      <id>jitpack.io</id>
      <url>https://jitpack.io</url>
    </repository>

which in turn is mentioned in the sikulixapi pom on Maven Central.

So I do not understand, why you have this problem.

Revision history for this message
Prafful (skpprafful) said :
#3

yup, facing the same issue and solution from Jai P Worked like a charm :-
I had to exclude jadb to get 1.1.1 to work

<dependency>
 <groupId>com.sikulix</groupId>
 <artifactId>sikulixapi</artifactId>
 <version>1.1.1</version>
 <exclusions>
  <exclusion>
   <groupId>com.github.vidstige</groupId>
   <artifactId>jadb</artifactId>
  </exclusion>
 </exclusions>
</dependency>