Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Release 1.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ingenico ePayments committed Mar 2, 2016
1 parent 00fddc6 commit 4207cf9
Show file tree
Hide file tree
Showing 117 changed files with 832 additions and 949 deletions.
66 changes: 0 additions & 66 deletions .classpath

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/target
/.settings
/.classpath
/.project
/.idea
/globalcollect-sdk-java.iml
23 changes: 0 additions & 23 deletions .project

This file was deleted.

11 changes: 0 additions & 11 deletions .settings/org.eclipse.core.resources.prefs

This file was deleted.

3 changes: 0 additions & 3 deletions .settings/org.eclipse.jdt.apt.core.prefs

This file was deleted.

6 changes: 0 additions & 6 deletions .settings/org.eclipse.jdt.core.prefs

This file was deleted.

4 changes: 0 additions & 4 deletions .settings/org.eclipse.m2e.core.prefs

This file was deleted.

7 changes: 0 additions & 7 deletions .settings/org.eclipse.wst.common.component

This file was deleted.

4 changes: 0 additions & 4 deletions .settings/org.eclipse.wst.common.project.facet.core.xml

This file was deleted.

2 changes: 0 additions & 2 deletions .settings/org.eclipse.wst.validation.prefs

This file was deleted.

30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# GlobalCollect Java SDK
# Ingenico Connect Java SDK

## Introduction

The Java SDK helps you to communicate with the [GlobalCollect](http://www.globalcollect.com/) Server API. It's primary features are:
The Java SDK helps you to communicate with the [Ingenico Connect](http://www.globalcollect.com/) Server API. It's primary features are:

* convenient Java wrapper around the API calls and responses
** marshalls Java request objects to HTTP requests
** unmarshalls HTTP responses to Java response objects or Java exceptions
* marshalls Java request objects to HTTP requests
* unmarshalls HTTP responses to Java response objects or Java exceptions
* handling of all the details concerning authentication
* handling of required meta data

Its use is demonstrated by an example for each possible call. The examples execute a call using the provided API keys.

See the [GlobalCollect Developer Portal](https://developers.globalcollect.com/documentation/sdk/server/) for more information on how to use the API.
See the [Ingenico Connect Developer Hub](https://developer.globalcollect.com/documentation/sdk/java/) for more information on how to use the SDK.

## Structure of this repository

Expand All @@ -29,19 +29,19 @@ This repository uses [Maven](http://maven.apache.org/) to build. Assuming you ha

1. Run `mvn -clean package` from the root directory (which contains the pom.xml file)

The build will generate the following files in the target directory:
* globalcollect-sdk-java-<version>.jar, containing the compiled class files
* globalcollect-sdk-java-<version>-javadoc.jar, containing the generated Javadoc
* globalcollect-sdk-java-<version>-sources.jar, containing the source code
* globalcollect-sdk-java-<version>-src.zip, containing the contents of this folder
* globalcollect-sdk-java-<version>-bin.zip, containing the necessary JAR files for standalone deployments and examples
The build will generate the following files in the target directory, where `x.y.z` is the version number:
* `connect-sdk-java-x.y.z.jar`, containing the compiled class files
* `connect-sdk-java-x.y.z-javadoc.jar`, containing the generated Javadoc
* `connect-sdk-java-x.y.z-sources.jar`, containing the source code
* `connect-sdk-java-x.y.z-src.zip`, containing the contents of this folder
* `connect-sdk-java-x.y.z-bin.zip`, containing the necessary JAR files for standalone deployments and examples

To use it add all JAR files inside the lib folder of the globalcollect-sdk-java-<version>-bin.zip file to your project, except for globalcollect-sdk-java-<version>-javadoc.jar and globalcollect-sdk-java-<version>-sources.jar.
To use it add all JAR files inside the lib folder of the `connect-sdk-java-x.y.z-bin.zip` file to your project, except for `connect-sdk-java-x.y.z-javadoc.jar` and `connect-sdk-java-x.y.z-sources.jar`.

Alternatively, if the Java SDK is installed in an available Maven repository, it can be included as a Maven dependency:

<dependency>
<groupId>com.globalcollect.gateway</groupId>
<artifactId>globalcollect-sdk-java</artifactId>
<version><version></version>
<groupId>com.ingenico.connect.gateway</groupId>
<artifactId>connect-sdk-java</artifactId>
<version>x.y.z</version>
</dependency>
111 changes: 96 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,46 @@

<modelVersion>4.0.0</modelVersion>

<groupId>com.globalcollect.gateway</groupId>
<artifactId>globalcollect-sdk-java</artifactId>
<version>0.0.20</version>
<groupId>com.ingenico.connect.gateway</groupId>
<artifactId>connect-sdk-java</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>

<name>globalcollect-sdk-java</name>
<name>connect-sdk-java</name>
<description>SDK to communicate with the GlobalCollect platform using the Ingenico Connect Server API</description>
<url>https://github.com/Ingenico-ePayments/connect-sdk-java</url>

<organization>
<name>Ingenico ePayments</name>
<url>http://www.globalcollect.com/</url>
</organization>

<licenses>
<license>
<name>Ingenico ePayments License</name>
<url>https://github.com/Ingenico-ePayments/connect-sdk-java/blob/master/LICENSE.txt</url>
</license>
</licenses>

<developers>
<developer>
<name>Ingenico ePayments</name>
<email>github@epay.ingenico.com</email>
<organization>Ingenico ePayments</organization>
<organizationUrl>http://www.globalcollect.com/</organizationUrl>
</developer>
</developers>

<scm>
<connection>git@github.com:Ingenico-ePayments/connect-sdk-java.git</connection>
<developerConnection>git@github.com:Ingenico-ePayments/connect-sdk-java.git</developerConnection>
<url>git@github.com:Ingenico-ePayments/connect-sdk-java.git</url>
</scm>

<issueManagement>
<system>GitHub</system>
<url>https://github.com/Ingenico-ePayments/connect-sdk-java/issues</url>
</issueManagement>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -51,7 +85,7 @@
<Implementation-Vendor>GlobalCollect</Implementation-Vendor>

<!-- override default Built-By -->
<Built-By>GlobalCollect</Built-By>
<Built-By>Ingenico ePayments</Built-By>
</manifestEntries>
</archive>
</configuration>
Expand Down Expand Up @@ -81,7 +115,7 @@
<Implementation-Vendor>GlobalCollect</Implementation-Vendor>

<!-- override default Built-By -->
<Built-By>GlobalCollect</Built-By>
<Built-By>Ingenico ePayments</Built-By>
</manifestEntries>
</archive>
</configuration>
Expand Down Expand Up @@ -113,7 +147,7 @@
<Implementation-Vendor>GlobalCollect</Implementation-Vendor>

<!-- override default Built-By -->
<Built-By>GlobalCollect</Built-By>
<Built-By>Ingenico ePayments</Built-By>
</manifestEntries>
</archive>
</configuration>
Expand Down Expand Up @@ -203,28 +237,26 @@
</excludes>
</configuration>
</plugin>

</plugins>
</build>

<dependencies>

<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.2.4</version>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.4</version>
</dependency>

<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.3.4</version>
<version>4.5.1</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<version>4.12</version>
<scope>test</scope>
</dependency>

Expand All @@ -234,7 +266,56 @@
<version>1.10.19</version>
<scope>test</scope>
</dependency>

</dependencies>

<profiles>
<profile>
<id>release</id>

<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Loading

0 comments on commit 4207cf9

Please sign in to comment.