statefun-sdk-java
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.kzmlabs.flinkstatefun</groupId>
<artifactId>statefun-sdk-java</artifactId>
<version>3.4.0-KZM-3.3</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: Apache-2.0 -->
<!-- Copyright 2014 The Apache Software Foundation -->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>statefun-parent</artifactId>
<groupId>io.github.kzmlabs.flinkstatefun</groupId>
<version>3.4.0-KZM-3.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>statefun-sdk-java</artifactId>
<name>statefun-sdk-java</name>
<properties>
<additional-sources.dir>target/additional-sources</additional-sources.dir>
</properties>
<dependencies>
<dependency>
<groupId>io.github.kzmlabs.flinkstatefun</groupId>
<artifactId>statefun-protocol-shaded</artifactId>
<version>${project.version}</version>
</dependency>
<!-- test dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>uber-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<!--
Industry-best approach: minimizeJar drops classes not reachable
from project bytecode. Combined with <scope>test</scope> on test
deps, ensures NO test framework classes leak into the published
SDK. Belt-and-suspenders excludes catch any accidental
introduction by transitive deps.
-->
<minimizeJar>true</minimizeJar>
<artifactSet>
<excludes>
<exclude>org.junit.jupiter:*</exclude>
<exclude>org.junit.platform:*</exclude>
<exclude>org.junit:*</exclude>
<exclude>org.opentest4j:*</exclude>
<exclude>org.apiguardian:*</exclude>
<exclude>org.hamcrest:*</exclude>
<exclude>org.assertj:*</exclude>
<exclude>org.mockito:*</exclude>
<exclude>org.awaitility:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>