rosetta-squint-hash
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.wmetcalf</groupId>
<artifactId>rosetta-squint-hash</artifactId>
<version>1.0.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.wmetcalf</groupId>
<artifactId>rosetta-squint-hash</artifactId>
<version>1.0.1</version>
<packaging>jar</packaging>
<name>rosetta-squint-hash</name>
<description>Byte-exact perceptual-hash library — Java port of Python imagehash 4.3.2. Part of rosetta-squint.</description>
<url>https://github.com/wmetcalf/rosetta-squint</url>
<inceptionYear>2026</inceptionYear>
<licenses>
<license>
<name>BSD-2-Clause</name>
<url>https://opensource.org/licenses/BSD-2-Clause</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>wmetcalf</id>
<name>Will Metcalf</name>
<email>william.metcalf@gmail.com</email>
<url>https://github.com/wmetcalf</url>
</developer>
</developers>
<scm>
<url>https://github.com/wmetcalf/rosetta-squint</url>
<connection>scm:git:https://github.com/wmetcalf/rosetta-squint.git</connection>
<developerConnection>scm:git:git@github.com:wmetcalf/rosetta-squint.git</developerConnection>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/wmetcalf/rosetta-squint/issues</url>
</issueManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<junit.version>5.10.0</junit.version>
<jackson.version>2.22.1</jackson.version>
</properties>
<!-- jazzer-junit:0.22.1 pulls junit-platform-commons/launcher 1.9.0, which
is binary-incompatible with junit-jupiter 5.10.x (missing
ReflectionSupport.streamNestedClasses). Force the platform to 1.10.0
to match junit-jupiter 5.10.0's expectations. -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-commons</artifactId>
<version>1.10.0</version>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.10.0</version>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-engine</artifactId>
<version>1.10.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.code-intelligence</groupId>
<artifactId>jazzer</artifactId>
<version>0.22.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.code-intelligence</groupId>
<artifactId>jazzer-junit</artifactId>
<version>0.22.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<!-- Exclude fuzz tests from the default test phase; they run for 60s each
and would dominate normal CI/dev test runs. Enable them with -Pfuzz. -->
<excludes>
<exclude>**/fuzz/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>fuzz</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<excludes combine.self="override"/>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!-- Activated with `mvn -Prelease deploy` for Maven Central publishing.
Requires GPG key configured + ~/.m2/settings.xml with `central`
server credentials (Sonatype Central Portal user token). See
RELEASING-java.md. -->
<profile>
<id>release</id>
<build>
<plugins>
<!-- Source jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals><goal>jar-no-fork</goal></goals>
</execution>
</executions>
</plugin>
<!-- Javadoc jar. doclint=none disables Java 8+ strict
javadoc warnings (otherwise missing @param/@return etc.
on public methods become build-breaking errors). -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<doclint>none</doclint>
<failOnWarnings>false</failOnWarnings>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>
<!-- GPG signing (mandatory for Maven Central). The
pinentry-mode=loopback argument lets gpg run
non-interactively; key has no passphrase so the
MAVEN_GPG_PASSPHRASE env var can be empty/unset. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.4</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>
<bestPracticeWarning>false</bestPracticeWarning>
</configuration>
</execution>
</executions>
</plugin>
<!-- Sonatype Central Portal (modern publish path) -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.11.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>false</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>