wavespeed-client
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>ai.wavespeed.maven</groupId> <artifactId>wavespeed-client</artifactId> <version>0.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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <description>Java sdk for WaveSpeed Api</description> <url>https://wavespeed.ai</url> <groupId>ai.wavespeed.maven</groupId> <artifactId>wavespeed-client</artifactId> <version>0.0.1</version> <developers> <developer> <name>WaveSpeed</name> <!-- <email>hello@wavespeed.ai</email>--> </developer> </developers> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:https://github.com/WaveSpeedAI/client-java.git</connection> <developerConnection>scm:git:https://github.com/WaveSpeedAI/client-java.git</developerConnection> <url>https://github.com/WaveSpeedAI/client-java.git</url> </scm> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <gson-fire-version>1.9.0</gson-fire-version> <okhttp-version>4.12.0</okhttp-version> <gson-version>2.10.1</gson-version> <commons-lang3-version>3.17.0</commons-lang3-version> <jackson-databind-nullable-version>0.2.6</jackson-databind-nullable-version> <jakarta-annotation-version>1.3.5</jakarta-annotation-version> <beanvalidation-version>2.0.2</beanvalidation-version> <junit-version>5.10.3</junit-version> <junit-platform-runner.version>1.10.0</junit-platform-runner.version> <jakarta.ws.rs-api-version>2.1.6</jakarta.ws.rs-api-version> <jsr311-api-version>1.1.1</jsr311-api-version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <spotless.version>2.43.0</spotless.version> </properties> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.7.36</version> </dependency> <!-- @Nullable annotation --> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.2</version> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp</artifactId> <version>${okhttp-version}</version> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>logging-interceptor</artifactId> <version>${okhttp-version}</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>${gson-version}</version> </dependency> <dependency> <groupId>io.gsonfire</groupId> <artifactId>gson-fire</artifactId> <version>${gson-fire-version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${commons-lang3-version}</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.17.2</version> </dependency> <dependency> <groupId>jakarta.annotation</groupId> <artifactId>jakarta.annotation-api</artifactId> <version>${jakarta-annotation-version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.openapitools</groupId> <artifactId>jackson-databind-nullable</artifactId> <version>${jackson-databind-nullable-version}</version> </dependency> <dependency> <groupId>jakarta.ws.rs</groupId> <artifactId>jakarta.ws.rs-api</artifactId> <version>${jakarta.ws.rs-api-version}</version> </dependency> <!-- test dependencies --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit-version}</version> <!-- <scope>test</scope>--> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-runner</artifactId> <version>${junit-platform-runner.version}</version> <!-- <scope>test</scope>--> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.30</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.11.0</version> <configuration> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> <annotationProcessorPaths> <path> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.30</version> </path> </annotationProcessorPaths> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.0</version> <inherited>true</inherited> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <excludeResources>true</excludeResources> <useDefaultExcludes>true</useDefaultExcludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.1.0</version> <inherited>true</inherited> <executions> <execution> <id>bundle-sources</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <maxmemory>1024</maxmemory> <encoding>UTF-8</encoding> <show>protected</show> <notree>true</notree> <!-- Avoid running into Java 8's very restrictive doclint issues --> <failOnError>false</failOnError> <doclint>none</doclint> </configuration> </plugin> <plugin> <groupId>org.openapitools</groupId> <artifactId>openapi-generator-maven-plugin</artifactId> <version>7.10.0</version> <executions> <execution> <goals> <goal>generate</goal> </goals> <configuration> <skipIfSpecIsUnchanged>true</skipIfSpecIsUnchanged> <inputSpec>${project.basedir}/src/main/resources/api_spec.yaml</inputSpec> <generatorName>java</generatorName> <configOptions> <library>okhttp-gson</library> <dateLibrary>java8</dateLibrary> <sourceFolder>src/main/java</sourceFolder> <containerDefaultToNull>true</containerDefaultToNull> </configOptions> <apiPackage>ai.wavespeed.openapi.client.api</apiPackage> <modelPackage>ai.wavespeed.openapi.client.model</modelPackage> <invokerPackage>ai.wavespeed.openapi.client</invokerPackage> <packageName>ai.wavespeed.openapi.client</packageName> <generateApiTests>true</generateApiTests> <generateModelTests>true</generateModelTests> <generateModels>true</generateModels> <generateApiDocumentation>true</generateApiDocumentation> <generateApis>true</generateApis> <generateAliasAsModel>true</generateAliasAsModel> <generateSupportingFiles>true</generateSupportingFiles> <output>${project.basedir}</output> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> <configuration> <!-- <gpgArguments>--> <!-- <!–表示密码直接输入,不需要弹出密码框–>--> <!-- <arg>--pinentry-mode</arg>--> <!-- <arg>loopback</arg>--> <!-- </gpgArguments>--> </configuration> </plugin> <!-- 配置方式:https://central.sonatype.org/publish/publish-portal-maven/#deploymentname --> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.7.0</version> <extensions>true</extensions> <configuration> <publishingServerId>wavespeed</publishingServerId> <autoPublish>true</autoPublish> <excludeArtifacts> <excludeArtifact>xxx-yyy</excludeArtifact> </excludeArtifacts> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>