[1.1.2] Maven: sikulixapi dependencies sikulix2tigervnc and jadb problematic

Asked by nandhini on 2018-10-31

Hi,

We are trying to integrate java class with Maven project.While adding Sikulix(1.1.2) to pom.xml it throws error for asking subsequent dependencies such as jadb and sikulix2tigervnc. But this 2 dependency jars were not available in central maven repositry(repo.maven.apache.org/maven2/).
Can you help me to solve this issue.

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
nandhini
Solved:
2018-10-31
Last query:
2018-10-31
Last reply:
2018-10-31
RaiMan (raimund-hocke) said : #1

--- this are the offending dependencies
<dependency>
  <groupId>com.github.vidstige</groupId>
  <artifactId>jadb</artifactId>
  <version>-v1.0-g94ebf38-23</version>
</dependency>

<dependency>
  <groupId>com.sikulix</groupId>
  <artifactId>sikulix2tigervnc</artifactId>
  <version>2.0.0-SNAPSHOT</version>
</dependency>

--- the sikulixapi pom has these repository pointers
<repositories>
  <repository>
    <id>sonatype-ossrh</id>
    <url>
      https://oss.sonatype.org/content/repositories/snapshots/
    </url>
  </repository>
  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </repository>
</repositories>

--- sikulix2tigervnc
is a SNAPSHOT and taken from OSSRH
... so the download from there might be blocked in your environment

--- jadb
is needed for Android support
it is taken from the jitpack repository, but seems to be no longer available there.

So if you do not need Android support, exclude the dependency from the sikulixapi dependency.

If possible (SNAPSHOT only, final beginning next year), I recommend, to use the version 1.1.4 (read the docs!)

nandhini (nandhu1387) said : #2

Thanks RaiMan.