Commit 9bcaccb0 authored by David Koch's avatar David Koch
Browse files

Updated Readme - Integration Information

parent 54f8f054
This is the API of Cars & Co to send a contract and payment information (JSON-file) to our workflow implementation.
## How to integrate the API?
missing.
Paste the repository and the dependency into your pom.xml:
<repositories>
<!-- Cars and Co Inc. repository -->
<repository>
<id>carsandco</id> <url>http://camunda-carsandco.iwvi.uni-koblenz.de/mvn</url>
</repository>
</repositories>
...
<dependencies>
<dependency>
<groupId>de.uniko.digicom.carsandco</groupId>
<artifactId>carsandco-api</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
## How to use the API?
In the CarsandCoApiClient.java there are two methods:
......
Manifest-Version: 1.0
Built-By: David
Build-Jdk: 1.8.0_66
Created-By: Maven Integration for Eclipse
#Generated by Maven Integration for Eclipse
#Fri Jan 22 01:26:36 CET 2016
version=0.0.1-SNAPSHOT
groupId=de.uniko.digicom.carsandco
m2e.projectName=api
m2e.projectLocation=C\:\\Users\\David\\Documents\\workspace\\api
artifactId=carsandco-api
<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>de.uniko.digicom.carsandco</groupId>
<artifactId>carsandco-api</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>External Cars and Co API</name>
<description>External API for business partners of Cars and Co Inc.</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.7</java.version>
<!-- plugins -->
<maven.compiler.version>3.3</maven.compiler.version>
<java.source-plugin.version>2.2.1</java.source-plugin.version>
<java.javaDoc-plugin.version>2.9.1</java.javaDoc-plugin.version>
<maven.ssh-extension.version>2.10</maven.ssh-extension.version>
<!-- dependencies -->
<gson.version>1.7.1</gson.version>
<http.client.version>4.5.1</http.client.version>
</properties>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<!-- attach source code -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${java.source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- attach JavaDoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${java.javaDoc-plugin.version}</version>
<configuration>
<encoding>UTF-8</encoding>
<show>private</show>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<!-- SSH extension to deploy via SCP -->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>${maven.ssh-extension.version}</version>
</extension>
</extensions>
</build>
<repositories>
<!-- Cars and Co repository to resolve dependencies from -->
<repository>
<id>carsandco</id>
<url>http://camunda-carsandco.iwvi.uni-koblenz.de/mvn</url>
</repository>
<!-- Capitol Inc. repository -->
<repository>
<id>capitol</id>
<url>http://camunda-capitol.iwvi.uni-koblenz.de/mvn</url>
</repository>
</repositories>
<distributionManagement>
<!-- Capitol repository to deploy artifacts to -->
<repository>
<id>carsandco</id>
<uniqueVersion>false</uniqueVersion>
<url>scp://camunda-carsandco.iwvi.uni-koblenz.de/mvn/</url>
<layout>default</layout>
</repository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${http.client.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>1.7.1</version>
</dependency>
<dependency>
<groupId>de.uniko.digicom.capitol</groupId>
<artifactId>capitol-api</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment