README.md 1.12 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1 2 3 4 5 6 7 8

# Genesys PGR - Java API Client

**genesys-client-api** library aims to ease integration of your existing 
accession management software in Java with [Genesys PGR portal](https://www.genesys-pgr.org "Visit Genesys PGR").

## How to use `genesys-client-api`

Matija Obreza's avatar
Matija Obreza committed
9 10 11 12 13 14 15
The genesys-client-api snapshots are published on [OSSRH](https://oss.sonatype.org/content/groups/public).

	<dependency>
		<groupId>org.genesys-pgr</groupId>
		<artifactId>genesys-client-api</artifactId>
		<version>0.0.3-SNAPSHOT</version>
	</dependency>
Matija Obreza's avatar
Matija Obreza committed
16 17 18 19 20 21 22 23 24 25

### Your copy of the library

* In Eclipse, clone the  `genesys-client-api` repository into a new project
* Right-click on the `genesys-client-api` project and select Maven ... Install. 
* This will install the current version of the library into your **local** maven repository

### Your new project

* Create a new Maven project in Eclipse, if starting from scratch
Matija Obreza's avatar
Matija Obreza committed
26 27 28 29 30 31 32 33
* Add dependency on org.genesys-pgr:genesys-client-api artefact to your `pom.xml`

	<dependency>
		<groupId>org.genesys-pgr</groupId>
		<artifactId>genesys-client-api</artifactId>
		<version>0.0.3-SNAPSHOT</version>
	</dependency>

Matija Obreza's avatar
Matija Obreza committed
34
* Create your integration project