oculixapi
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.oculix-org</groupId>
<artifactId>oculixapi</artifactId>
<version>4.0.0</version>
</dependency><?xml version="1.0"?>
<!--
~ Copyright (c) 2010-2026, sikuli.org, sikulix.com, oculix-org - MIT license
-->
<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>io.github.oculix-org</groupId>
<artifactId>oculixapi</artifactId>
<version>4.0.0</version>
<packaging>jar</packaging>
<name>OculiX API</name>
<description>Visual automation - if you can see it, you can automate it</description>
<url>https://github.com/oculix-org/Oculix</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://github.com/oculix-org/Oculix/blob/master/LICENSE</url>
</license>
</licenses>
<developers>
<developer>
<id>julienmerconsulting</id>
<name>Julien Mer</name>
<email>julien.mer38@gmail.com</email>
</developer>
<developer>
<id>RaiMan</id>
<name>Raimund Hocke</name>
<email>rmhdevelop@me.com</email>
</developer>
</developers>
<scm>
<connection>scm:git:git@github.com:oculix-org/Oculix.git</connection>
<developerConnection>scm:git:git@github.com:oculix-org/Oculix.git</developerConnection>
<url>https://github.com/oculix-org/Oculix</url>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sikuli.jartype>plain.xml</sikuli.jartype>
<!--
<sikulixjythonversion>2.7.4</sikulixjythonversion>
<sikulixjrubyversion>9.4.14.0</sikulixjrubyversion>
-->
<apertix.opencv.version>4.10.0-3</apertix.opencv.version>
<legerix.version>5.5.0-8</legerix.version>
<versiontess4j>5.18.0</versiontess4j>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd_HH:mm</maven.build.timestamp.format>
<!--suppress UnresolvedMavenProperty -->
</properties>
<dependencies>
<!--
<dependency>
<groupId>org.python</groupId>
<artifactId>jython-slim</artifactId>
<version>${sikulixjythonversion}</version>
</dependency>
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
<version>${sikulixjrubyversion}</version>
<optional>true</optional>
</dependency>
-->
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20251224</version>
</dependency>
<dependency>
<groupId>io.github.oculix-org</groupId>
<artifactId>tigervnc-java-oculix</artifactId>
<version>2.0.1</version>
<!--License GPLv2-->
<!-- TigerVNC Java viewer as a separate GPL artifact.
Provides com.tigervnc.* (RFB protocol) and com.sikulix.vnc.*
(VNCClient wrappers used by org.sikuli.vnc.VNCScreen).
Transitively pulls jsch, jzlib, and jaxb-api.
https://github.com/oculix-org/tigervnc-java-oculix -->
</dependency>
<dependency>
<groupId>io.github.julienmerconsulting.apertix</groupId>
<artifactId>opencv</artifactId>
<version>${apertix.opencv.version}</version>
<!-- https://github.com/julienmerconsulting/Apertix
4.10.0-3 ships dual Linux native builds: modern (glibc >= 2.38) at
linux-{x86-64,aarch64}/ and legacy (manylinux_2_28, glibc >= 2.28)
at linux-{x86-64,aarch64}-legacy/. Selection is done at runtime
in Commons.loadOpenCV() based on detected glibc version. -->
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>5.18.1</version>
</dependency>
<dependency>
<groupId>net.oneandone.reflections8</groupId>
<artifactId>reflections8</artifactId>
<version>0.11.7</version>
</dependency>
<dependency>
<groupId>net.sourceforge.tess4j</groupId>
<artifactId>tess4j</artifactId>
<version>${versiontess4j}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<version>2.0.17</version>
</dependency>
<dependency>
<groupId>net.sf.py4j</groupId>
<artifactId>py4j</artifactId>
<version>0.10.9.9</version>
</dependency>
<dependency>
<groupId>com.github.kwhat</groupId>
<artifactId>jnativehook</artifactId>
<version>2.2.2</version>
</dependency>
<!--
Rococoa (org.rococoa:rococoa-core:0.5) was removed here — its native
librococoa.dylib shipped only ppc_7400 / ppc64 / i386 / x86_64 slices
(last built circa 2010, upstream dormant) and crashed on Apple Silicon.
Direct libobjc calls via JNA now fill the same role; see
org.sikuli.natives.mac.jna.ObjC.
-->
<!-- cglib-nodep repackage ASM sous net.sf.cglib.asm au lieu de org.objectweb.asm -->
<!-- evite le conflit ASM 3.x vs 7.x qui casse Jython sur macOS -->
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.2.2</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.20.0</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>6.0.3</version>
<scope>test</scope>
</dependency>
<!-- Legerix declared LAST so Maven Assembly unpacks it last in the fat-jar,
letting its /tessdata/{eng,fra,spa,chi_sim,hin}.traineddata and
/<platform>/* native libs (libtesseract + libleptonica + all their
vcpkg-bundled runtime deps) win over Tess4J's bundled tessdata
(which only ships eng + osd). Combined with the dedicated final
dependencySet in makeapi-*.xml / makeide-*.xml as a belt-and-
suspenders. Do NOT move this dependency back up. -->
<dependency>
<groupId>io.github.oculix-org</groupId>
<artifactId>legerix</artifactId>
<version>${legerix.version}</version>
</dependency>
</dependencies>
<profiles>
<!-- complete-jar -->
<profile>
<id>complete-jar</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<!-- <archive>
<manifest>
<mainClass>org.sikuli.script.SX</mainClass>
</manifest>
</archive>
-->
<descriptors>
<descriptor>makeapi.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- complete-jar Windows only-->
<profile>
<id>complete-win-jar</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<!--
<archive>
<manifest>
<mainClass>org.sikuli.script.SX</mainClass>
</manifest>
</archive>
-->
<descriptors>
<descriptor>makeapi-win.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- complete-jar Mac only-->
<profile>
<id>complete-mac-jar</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<!--
<archive>
<manifest>
<mainClass>org.sikuli.script.SX</mainClass>
</manifest>
</archive>
-->
<descriptors>
<descriptor>makeapi-mac.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- complete-jar Linux only-->
<profile>
<id>complete-lux-jar</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<archive>
<!--
<manifest>
<mainClass>org.sikuli.script.SX</mainClass>
</manifest>
-->
<manifestSections>
<manifestSection>
<name>io/github/julienmerconsulting/legerix/</name>
<manifestEntries>
<Implementation-Title>Legerix</Implementation-Title>
<Implementation-Version>${legerix.version}</Implementation-Version>
</manifestEntries>
</manifestSection>
</manifestSections>
</archive>
<descriptors>
<descriptor>makeapi-lux.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- sign -->
<profile>
<id>sign</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- build-source -->
<profile>
<id>build-source</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<excludeResources>true</excludeResources>
</configuration>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- build-docs -->
<profile>
<id>build-docs</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<configuration>
<use>false</use>
<release>17</release>
<excludePackageNames>
org.opencv:jxgrabkey:com.tulskiy.keymaster:se.vidstige.jadb
</excludePackageNames>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- release vers Maven Central via le nouveau portail -->
<profile>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.10.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<tokenAuth>true</tokenAuth>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<configuration>
<use>false</use>
<release>17</release>
<doclint>none</doclint>
<excludePackageNames>
org.opencv:jxgrabkey:com.tulskiy.keymaster:se.vidstige.jadb
</excludePackageNames>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>Settings/*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>Settings/*</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.15.0</version>
<configuration>
<release>17</release>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.5</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.5.0</version>
<configuration>
<archive>
<manifest>
<mainClass>org.sikuli.script.SX</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>