Using the client from maven
It is expected that most people will express their dependency upon the icat.client by means of a maven pom file. To do this the
user
needs to define the repository and express the dependency as indicated in the snippet below:
<repositories>
<repository>
<id>ICAT Repo</id>
<url>http://www.icatproject.org/mvn/repo</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
...
</repositories>
<dependencies>
<dependency>
<groupId>org.icatproject</groupId>
<artifactId>icat.client</artifactId>
<version>4.6.0</version>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.json</artifactId>
<version>1.0.4</version>
</dependency>
...
</dependencies>