Installation

Manual Installation

There are two files that should be made available to those wishing to use the ICAT client:

icat.client-4.2.3.jar
the client library which the user should add to the classpath.
icat.client-4.2.3-sources.jar
the source code of the client, which is especially useful when developing within an IDE.

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.2.3</version>
   </dependency>
   ...
</dependencies>