asgard-sdk-java
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.asgard-ai</groupId>
<artifactId>asgard-sdk-java</artifactId>
<version>1.0.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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.asgard-ai</groupId>
<artifactId>asgard-sdk-java</artifactId>
<version>1.0.2</version>
<packaging>jar</packaging>
<name>asgard-sdk-java</name>
<description>Java SDK for Asgard EdgeServer — streaming, REST, blob upload, function triggers, sandbox and SourceSet operations.</description>
<url>https://github.com/asgard-ai-platform/asgard-sdk-java</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>asgardai</id>
<name>Asgard AI</name>
<email>service@asgard-ai.com</email>
<organization>Asgard AI</organization>
<organizationUrl>https://asgard-ai.com</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/asgard-ai-platform/asgard-sdk-java.git</connection>
<developerConnection>scm:git:ssh://git@github.com/asgard-ai-platform/asgard-sdk-java.git</developerConnection>
<url>https://github.com/asgard-ai-platform/asgard-sdk-java</url>
<tag>HEAD</tag>
</scm>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- OkHttp: pinned at 4.x — upgrading to 5.x would force a major API
change on consumers who already use OkHttp 4 in their own projects. -->
<okhttp.version>4.12.0</okhttp.version>
<jackson.version>2.21.3</jackson.version>
<slf4j.version>2.0.17</slf4j.version>
<logback.version>1.5.32</logback.version>
<junit.version>5.14.4</junit.version>
<mockito.version>5.23.0</mockito.version>
</properties>
<dependencies>
<!-- HTTP client: mirrors Go net/http -->
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
<!-- SSE client: mirrors tmaxmax/go-sse (EventSource-based, async listener) -->
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp-sse</artifactId>
<version>${okhttp.version}</version>
</dependency>
<!-- JSON: mirrors Go encoding/json -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<!-- Lombok: eliminates getter/setter/constructor boilerplate -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.32</version>
<optional>true</optional>
</dependency>
<!-- Logging: mirrors sirupsen/logrus -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>runtime</scope>
</dependency>
<!-- Test: JUnit 5 + Mockito + OkHttp MockWebServer -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>mockwebserver</artifactId>
<version>${okhttp.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<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.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
</plugin>
<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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.2</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
<configuration>
<doclint>none</doclint>
<source>17</source>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!-- Activate with -Prelease in CI. Local builds skip signing + Central
publishing so contributors don't need a GPG key set up. -->
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals><goal>sign</goal></goals>
<configuration>
<!-- CI provides passphrase via GPG_PASSPHRASE env -->
<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.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<!-- automatic = upload + auto-release if validation passes.
Set to "user_managed" if you want to review in the Portal first. -->
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>