exoscale4j
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.exoscale.exoscale4j</groupId> <artifactId>exoscale4j</artifactId> <version>0.0.1-ALPHA</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.exoscale.exoscale4j</groupId> <artifactId>exoscale4j</artifactId> <packaging>jar</packaging> <name>exoscale4j</name> <version>0.0.1-ALPHA</version> <url>https://github.com/exoscale/exoscale4j</url> <description>Java SDK for interacting with Exoscale Cloud Services.</description> <scm> <connection>scm:git:git://github.com/exoscale4j.git</connection> <developerConnection>scm:git:ssh://github.com/exoscale/exoscale4j.git</developerConnection> <url>https://github.com/exoscale/exoscale4j</url> </scm> <licenses> <license> <name>Apache License Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <name>Giza</name> <email>giza@exoscale.com</email> <organization>Exoscale</organization> <organizationUrl>https://www.exoscale.com</organizationUrl> </developer> </developers> <build> <plugins> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.4.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <tokenAuth>true</tokenAuth> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.4.1</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> <groupId>org.apache.maven.plugins</groupId> <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> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.6.1</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.4.0</version> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> <configuration> <failOnError>false</failOnError> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</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> <configuration> <failOnError>false</failOnError> </configuration> </execution> </executions> </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> <!-- 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>11</version> <style>AOSP</style> <reflowLongStrings>true</reflowLongStrings> </googleJavaFormat> <removeUnusedImports/> <importOrder/> </java> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>sign-artifacts</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.3</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </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> <!-- test dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</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.15.2</jackson-version> <jackson-databind-nullable-version>0.2.6</jackson-databind-nullable-version> <jakarta-annotation-version>1.3.5</jakarta-annotation-version> <junit-version>4.13.2</junit-version> <spotless.version>2.27.2</spotless.version> </properties> </project>