pangea-sdk
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>cloud.pangea</groupId> <artifactId>pangea-sdk</artifactId> <version>4.2.0-beta-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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>cloud.pangea</groupId> <artifactId>pangea-sdk</artifactId> <version>4.2.0-beta-2</version> <packaging>jar</packaging> <name>cloud.pangea:pangea-sdk</name> <description>Java SDK to access Pangea API services on pangea.cloud</description> <url>https://github.com/pangeacyber/pangea-java</url> <developers> <developer> <name>Andres Tournour</name> <email>andres.tournour@pangea.cloud</email> <organization>Pangea</organization> <organizationUrl>https://pangea.cloud/</organizationUrl> </developer> </developers> <licenses> <license> <name>MIT</name> <url>https://opensource.org/licenses/MIT</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git://github.com/pangeacyber/pangea-java.git</connection> <developerConnection>scm:git:ssh://github.com/pangeacyber/pangea-java.git</developerConnection> <url>https://github.com/pangeacyber/pangea-java/tree/main/packages/pangea-sdk</url> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <repositories> <repository> <id>central</id> <name>Maven Central</name> <layout>default</layout> <url>https://repo1.maven.org/maven2</url> </repository> </repositories> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.release>11</maven.compiler.release> <!-- By default just re-write code with prettier --> <plugin.prettier.goal>write</plugin.prettier.goal> <lombok.version>1.18.34</lombok.version> <delombok.output.dir>${project.build.directory}/delombok</delombok.output.dir> </properties> <dependencies> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk18on</artifactId> <version>1.78.1</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.17.1</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>2.24.1</version> </dependency> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.5</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.18.0</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.18.0</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>2.18.0</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</artifactId> <version>2.18.0</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>4.5.14</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.14</version> </dependency> <dependency> <groupId>io.swagger.parser.v3</groupId> <artifactId>swagger-parser</artifactId> <version>2.1.23</version> </dependency> <dependency> <groupId>com.networknt</groupId> <artifactId>json-schema-validator</artifactId> <version>1.5.2</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>provided</scope> </dependency> <!-- Testing --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>5.11.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>5.14.2</version> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <executions> <!-- prepare agent for measuring integration tests --> <execution> <id>prepare-integration-tests</id> <phase>pre-integration-test</phase> <goals> <goal>prepare-agent</goal> </goals> <configuration> <destFile>${basedir}/target/coverage-reports/jacoco-unit.exec</destFile> </configuration> </execution> <execution> <id>jacoco-site</id> <phase>post-integration-test</phase> <goals> <goal>report</goal> </goals> <configuration> <dataFile>${basedir}/target/coverage-reports/jacoco-unit.exec</dataFile> </configuration> </execution> </executions> </plugin> <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.4.0</version> </plugin> <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.1</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.4.2</version> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>3.1.3</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>3.1.3</version> </plugin> <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.21.0</version> </plugin> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.8.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.10.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </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</goal> </goals> </execution> </executions> </plugin> <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> --> <plugin> <groupId>org.simplify4u.plugins</groupId> <artifactId>sign-maven-plugin</artifactId> <version>1.1.0</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <skipNoKey>false</skipNoKey> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.7.0</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>2.4.0</version> </plugin> <!-- <plugin> <groupId>cloud.pangea</groupId> <artifactId>jsondoclet-maven-plugin</artifactId> <version>1.0.0-SNAPSHOT</version> </plugin> --> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <encoding>UTF-8</encoding> <annotationProcessorPaths> <path> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> </path> </annotationProcessorPaths> </configuration> </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</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.simplify4u.plugins</groupId> <artifactId>sign-maven-plugin</artifactId> <version>1.1.0</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <skipNoKey>false</skipNoKey> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.7.0</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>2.0.0</version> <configuration> <licenseName>pangea</licenseName> <licenseResolver>${project.baseUri}src/license</licenseResolver> <organizationName>Pangea Cynber</organizationName> <inceptionYear>2021</inceptionYear> </configuration> <executions> <execution> <id>first</id> <goals> <goal>update-file-header</goal> </goals> <phase>process-sources</phase> </execution> </executions> </plugin> --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.10.1</version> <configuration> <doclint>all,-missing,-syntax</doclint> <tags> <tag> <name>pangea.description</name> <placement>a</placement> <head>Description:</head> </tag> <tag> <name>pangea.code</name> <placement>a</placement> <head>Example:</head> </tag> <tag> <name>pangea.operationId</name> <placement>X</placement> <head>Operation ID:</head> </tag> </tags> <sourcepath>${delombok.output.dir}</sourcepath> </configuration> </plugin> <!-- our custom JSON doclet used for generating Pangea SDK docs --> <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.4.1</version> <configuration> <doclet>cloud.pangea.JsonDoclet</doclet> <docletArtifact> <groupId>cloud.pangea</groupId> <artifactId>jsondoclet</artifactId> <version>1.0.0-SNAPSHOT</version> </docletArtifact> <useStandardDocletOptions>false</useStandardDocletOptions> <tags> <tag> <name>pangea.description</name> <placement>a</placement> <head>Description:</head> </tag> <tag> <name>pangea.code</name> <placement>a</placement> <head>Example:</head> </tag> </tags> </configuration> </plugin> --> <plugin> <groupId>com.hubspot.maven.plugins</groupId> <artifactId>prettier-maven-plugin</artifactId> <version>0.22</version> <configuration> <prettierJavaVersion>2.0.0</prettierJavaVersion> <printWidth>120</printWidth> <tabWidth>4</tabWidth> <useTabs>true</useTabs> <ignoreConfigFile>true</ignoreConfigFile> <ignoreEditorConfig>true</ignoreEditorConfig> <!-- Use <inputGlobs> to override the default input patterns --> <inputGlobs> <!-- These are the default patterns, you can omit <inputGlobs> entirely unless you want to override them --> <inputGlob>src/main/java/**/*.java</inputGlob> <inputGlob>src/test/java/**/*.java</inputGlob> </inputGlobs> </configuration> <executions> <execution> <phase>validate</phase> <goals> <goal>${plugin.prettier.goal}</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.projectlombok</groupId> <artifactId>lombok-maven-plugin</artifactId> <version>1.18.20.0</version> <configuration> <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory> <outputDirectory>${delombok.output.dir}</outputDirectory> <addOutputDirectory>false</addOutputDirectory> <encoding>UTF-8</encoding> </configuration> <executions> <execution> <phase>compile</phase> <goals> <goal>delombok</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> </dependency> </dependencies> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <reportSets> <reportSet> <reports> <!-- select non-aggregate reports --> <report>prepate-agent</report> <report>prepare-agent-integration</report> <report>report-integration</report> <report>report</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> </project>