sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26353
Re: [Question #250135]: Some problems with sikuli in local maven repo
Question #250135 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/250135
Status: Open => Answered
RaiMan proposed the following answer:
--- I install sikuli-java.jar to mvn local repo on Jenkins Slave?
not clear, what that means?
Did you install it? How did you install it? With what group-id, artefact-id and version?
--- your dependency is written in a way, so that
org.sikuli:sikuli-java:jar:1.0 is not found in local repo and hence searched on MavenCentral, where it cannot be found, since it is not there.
You either have to give the dependency with an absolute path or put
sikuli-java.jar into your local repo, that fits with the search
algorithm.
an example:
for a dependency as
org.sikuli:sikuli-java:jar:1.0
you have to have in your repo the following folder structure:
-- org
-- sikuli
-- sikuli-java
-- 1.0
In the last folder you need
sikuli-java-1.0.jar (just rename it)
and a valid
sikuli-java-1.0.pom (minimum content)
e.g.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.sikuli</groupId>
<artifactId>sikuli-java</artifactId>
<version>1.0</version>
</project>
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.