femtolz4
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>me.bechberger</groupId>
<artifactId>femtolz4</artifactId>
<version>0.2.2</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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>me.bechberger</groupId>
<artifactId>femtolz4</artifactId>
<version>0.2.2</version>
<packaging>jar</packaging>
<name>femtolz4</name>
<description>Minimal LZ4 compressor and decompressor.</description>
<url>https://github.com/parttimenerd/femtolz4</url>
<scm>
<connection>scm:git:git@github.com:parttimenerd/femtolz4.git</connection>
<developerConnection>scm:git:https://github.com/parttimenerd/femtolz4.git</developerConnection>
<url>https://github.com/parttimenerd/femtolz4</url>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<licenses>
<license>
<name>MIT</name>
<url>https://opensource.org/licenses/MIT</url>
</license>
</licenses>
<developers>
<developer>
<id>parttimenerd</id>
<name>Johannes Bechberger</name>
<email>me@mostlynerdless.de</email>
</developer>
</developers>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- set -Dnative.skip=true to skip the build_native.py step -->
<native.skip>false</native.skip>
<!--
Test suite selection (JUnit Platform tag filtering; applies to both
JUnit Jupiter @Test and jqwik @Property, since jqwik's @Tag maps to
the same platform tags):
mvn test -> fast suite (excludes "slow", "deep-fuzz", "slow-fuzz")
mvn test -Dtest.full=true -> full suite (nothing excluded)
mvn test -Pfuzz -> deep-fuzz suite: 50× more jqwik tries,
includes "deep-fuzz" and "slow-fuzz" tests,
excludes "slow" (non-property structural tests)
Tags:
"slow" - non-property @Test that is too slow for normal runs
"deep-fuzz" - @Property fuzz tests; run with high tries in -Pfuzz
"slow-fuzz" - @Property fuzz tests with large inputs; run with moderate tries in -Pfuzz
-->
<test.full>false</test.full>
<test.excludedGroups>slow,deep-fuzz,slow-fuzz</test.excludedGroups>
<!-- jqwik default tries — overridden to 10000 in the fuzz profile -->
<fuzz.tries.default>200</fuzz.tries.default>
</properties>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.10.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>at.yawk.lz4</groupId>
<artifactId>lz4-java</artifactId>
<version>1.11.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.jqwik</groupId>
<artifactId>jqwik</artifactId>
<version>1.8.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<!-- enables ${fuzz.tries.default} substitution in junit-platform.properties -->
<filtering>true</filtering>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>17</release>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>build-native</id>
<!-- runs before resources are copied into the JAR -->
<phase>generate-resources</phase>
<goals><goal>exec</goal></goals>
<configuration>
<executable>python3</executable>
<arguments>
<argument>${project.basedir}/build_native.py</argument>
</arguments>
<!-- skip with -Dnative.skip=true -->
<skip>${native.skip}</skip>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.2</version>
<configuration>
<excludedGroups>${test.excludedGroups}</excludedGroups>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
<mainClass>me.bechberger.femtolz4.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<!-- Required for Maven Central -->
<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>
<!-- Required for Maven Central -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<doclint>none</doclint>
<quiet>true</quiet>
<release>17</release>
</configuration>
</plugin>
</plugins>
</build>
<!-- Release profile for Maven Central deployment -->
<profiles>
<profile>
<id>release</id>
<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>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.11.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>ossrh</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>uploaded</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>full-tests</id>
<activation>
<property><name>test.full</name><value>true</value></property>
</activation>
<properties>
<test.excludedGroups></test.excludedGroups>
</properties>
</profile>
<!-- Activated by -Pfuzz: deep-fuzz mode.
Runs all fuzz tests (including deep-fuzz and slow-fuzz tags) with
50× more jqwik tries than the normal suite. Slow structural @Test
tests are still excluded (they are not property tests).
mvn test -Pfuzz
mvn test -Pfuzz -Dtest=YawkatFuzzTest (single class)
-->
<profile>
<id>fuzz</id>
<properties>
<fuzz.tries.default>10000</fuzz.tries.default>
<test.excludedGroups>slow</test.excludedGroups>
</properties>
</profile>
</profiles>
</project>