zsgf-client
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.zashigaofa</groupId> <artifactId>zsgf-client</artifactId> <version>2.0.1</version> </dependency>
<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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.zashigaofa</groupId> <artifactId>zsgf-client</artifactId> <packaging>jar</packaging> <name>zsgf-client</name> <version>2.0.1</version> <url>https://github.com/wz101010/zsgf-java</url> <description>ZSGF Client</description> <scm> <connection>scm:git:https://github.com/wz101010/zsgf-java.git</connection> <developerConnection>scm:git:https://github.com/wz101010/zsgf-java.git</developerConnection> <url>https://github.com/wz101010/zsgf-java</url> </scm> <licenses> <license> <name>Apache-2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <name>zhen</name> <email>noreply@zashigaofa.com</email> <organization>zashigaofa.com</organization> <organizationUrl>https://github.com/wz101010/zsgf-java</organizationUrl> </developer> </developers> <build> <plugins> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>3</version> </requireMavenVersion> <requireJavaVersion> <version>11</version> </requireJavaVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>3.2.5</version> <configuration> <systemPropertyVariables> <loggerPath>conf/log4j.properties</loggerPath> </systemPropertyVariables> <argLine>-Xms512m -Xmx1500m</argLine> <parallel>methods</parallel> <threadCount>10</threadCount> </configuration> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/lib</outputDirectory> </configuration> </execution> </executions> </plugin> <!-- attach test jar --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> <configuration> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.10.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.4.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- Use spotless plugin to automatically format code, remove unused import, etc To apply changes directly to the file, run `mvn spotless:apply` Ref: https://github.com/diffplug/spotless/tree/main/plugin-maven --> <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <version>${spotless.version}</version> <configuration> <formats> <!-- you can define as many formats as you want, each is independent --> <format> <!-- define the files to apply to --> <includes> <include>.gitignore</include> </includes> <!-- define the steps to apply to those files --> <trimTrailingWhitespace/> <endWithNewline/> <indent> <spaces>true</spaces> <!-- or <tabs>true</tabs> --> <spacesPerTab>4</spacesPerTab> <!-- optional, default is 4 --> </indent> </format> </formats> <!-- define a language-specific format --> <java> <!-- no need to specify files, inferred automatically, but you can if you want --> <!-- apply a specific flavor of google-java-format and reflow long strings --> <googleJavaFormat> <version>1.8</version> <style>AOSP</style> <reflowLongStrings>true</reflowLongStrings> </googleJavaFormat> <removeUnusedImports/> <importOrder/> </java> </configuration> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.7.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>sign-artifacts</id> <build> <plugins> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration><passphrase>${env.MAVEN_GPG_PASSPHRASE}</passphrase></configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <!-- JSON processing: jackson --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${jackson-version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>${jackson-version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson-version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</artifactId> <version>${jackson-version}</version> </dependency> <dependency> <groupId>org.openapitools</groupId> <artifactId>jackson-databind-nullable</artifactId> <version>${jackson-databind-nullable-version}</version> </dependency> <!-- @Nullable annotation --> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.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.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>${httpmime-version}</version> </dependency> <!-- test dependencies --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit-version}</version> <scope>test</scope> </dependency> </dependencies> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> <jackson-version>2.17.1</jackson-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> <httpmime-version>4.5.14</httpmime-version> <junit-version>5.10.2</junit-version> <spotless.version>2.27.2</spotless.version> </properties> </project>