connect-sdk-java
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.worldline-solutions.connect</groupId> <artifactId>connect-sdk-java</artifactId> <version>7.6.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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.worldline-solutions.connect</groupId> <artifactId>connect-sdk-java</artifactId> <version>7.6.1</version> <packaging>jar</packaging> <name>connect-sdk-java</name> <description>SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API</description> <url>https://github.com/Worldline-Global-Collect/connect-sdk-java</url> <organization> <name>Worldline Global Collect</name> <url>https://worldline.com/</url> </organization> <licenses> <license> <name>MIT</name> <url>https://github.com/Worldline-Global-Collect/connect-sdk-java/blob/master/LICENSE.txt</url> </license> </licenses> <developers> <developer> <name>Worldline Global Collect</name> <email>github.connect@worldline.com</email> <organization>Worldline Global Collect</organization> <organizationUrl>https://worldline.com/</organizationUrl> </developer> </developers> <scm> <connection>scm:git:git@github.com:Worldline-Global-Collect/connect-sdk-java.git</connection> <developerConnection>scm:git:git@github.com:Worldline-Global-Collect/connect-sdk-java.git</developerConnection> <url>https://github.com/Worldline-Global-Collect/connect-sdk-java</url> </scm> <issueManagement> <system>GitHub</system> <url>https://github.com/Worldline-Global-Collect/connect-sdk-java/issues</url> </issueManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <version.httpclient>4.5.14</version.httpclient> <version.httpmime>4.5.14</version.httpmime> <!-- The following are transitive dependencies fom httpclient, override with newer versions --> <version.commons-logging>1.3.5</version.commons-logging> <version.commons-codec>1.19.0</version.commons-codec> </properties> <build> <resources> <resource> <directory>src/main/resources</directory> </resource> <resource> <!-- add LICENSE.txt to META-INF --> <directory>${basedir}</directory> <filtering>false</filtering> <targetPath>META-INF</targetPath> <includes> <include>LICENSE.txt</include> </includes> </resource> </resources> <pluginManagement> <plugins> <!-- this plugin is required to make Eclipse lifecycle errors disappear --> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <versionRange>[1.0,)</versionRange> <goals> <goal>run</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.4.2</version> <configuration> <archive> <manifestEntries> <Automatic-Module-Name>com.worldline.connect.sdk.java</Automatic-Module-Name> <Specification-Title>${project.name}</Specification-Title> <Specification-Version>${project.version}</Specification-Version> <Specification-Vendor>Worldline Global Collect</Specification-Vendor> <Implementation-Title>${project.name}</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Implementation-Vendor>Worldline Global Collect</Implementation-Vendor> <!-- override default Built-By --> <Built-By>Worldline Global Collect</Built-By> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <archive> <manifestEntries> <Specification-Title>${project.name}</Specification-Title> <Specification-Version>${project.version}</Specification-Version> <Specification-Vendor>Worldline Global Collect</Specification-Vendor> <Implementation-Title>${project.name}</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Implementation-Vendor>Worldline Global Collect</Implementation-Vendor> <!-- override default Built-By --> <Built-By>Worldline Global Collect</Built-By> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.3</version> <executions> <execution> <id>attach-javadocs</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <docencoding>UTF-8</docencoding> <splitindex>true</splitindex> <archive> <manifestEntries> <Specification-Title>${project.name}</Specification-Title> <Specification-Version>${project.version}</Specification-Version> <Specification-Vendor>Worldline Global Collect</Specification-Vendor> <Implementation-Title>${project.name}</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Implementation-Vendor>Worldline Global Collect</Implementation-Vendor> <!-- override default Built-By --> <Built-By>Worldline Global Collect</Built-By> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <copy todir="${project.build.directory}/apidocs/META-INF"> <fileset dir="${basedir}"> <include name="LICENSE.txt" /> </fileset> </copy> </target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.7.1</version> <executions> <execution> <id>create-assemblies</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> <configuration> <descriptors> <descriptor>src/main/assembly/src.xml</descriptor> <descriptor>src/main/assembly/bin.xml</descriptor> </descriptors> <attach>false</attach> </configuration> </plugin> <!-- Add the generated sources to the source directories. --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.6.1</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${basedir}/src/main/generated</source> </sources> </configuration> </execution> <execution> <id>add-test-source</id> <phase>generate-test-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>${basedir}/src/examples/java</source> <source>${basedir}/src/it/java</source> </sources> </configuration> </execution> <execution> <id>add-test-resource</id> <phase>generate-test-sources</phase> <goals> <goal>add-test-resource</goal> </goals> <configuration> <resources> <resource> <directory>src/examples/resources</directory> </resource> <resource> <directory>src/it/resources</directory> </resource> </resources> </configuration> </execution> </executions> </plugin> <!-- Skip IT tests during normal maven build. --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.3</version> <configuration> <excludes> <exclude>/com/worldline/connect/sdk/java/it/**/*</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.6.0</version> <configuration> <configLocation>${project.basedir}/checkstyle.xml</configLocation> <includeResources>true</includeResources> <includeTestResources>true</includeTestResources> <includeTestSourceDirectory>true</includeTestSourceDirectory> <sourceDirectories> <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory> <sourceDirectory>${project.basedir}/src/main/generated</sourceDirectory> </sourceDirectories> <testSourceDirectories> <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory> <testSourceDirectory>${project.basedir}/src/it/java</testSourceDirectory> <testSourceDirectory>${project.basedir}/src/examples/java</testSourceDirectory> </testSourceDirectories> <excludes>**/module-info.java</excludes> <violationSeverity>warning</violationSeverity> <failOnViolation>true</failOnViolation> <consoleOutput>true</consoleOutput> </configuration> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>9.3</version> </dependency> </dependencies> <executions> <execution> <phase>validate</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.13.1</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>${version.httpclient}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>${version.httpmime}</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>${version.commons-logging}</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>${version.commons-codec}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <classifier>tests</classifier> <version>${version.httpclient}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>5.13.4</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest</artifactId> <version>3.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>4.11.0</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.8</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <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.7.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl> <deploymentName>${project.artifactId}-${project.version}</deploymentName> <autoPublish>true</autoPublish> <waitUntil>published</waitUntil> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>integration</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>none</exclude> </excludes> <includes> <include>/com/worldline/connect/sdk/java/it/**/*</include> </includes> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>