===== Maven Repository in the Project =====
=== Ganymed SSH library ===
We need the ganymed ssh library for the LSF submission over ssh. Unfortunately I couldn't find a public maven repository which contains this. After looking for solution for including library in a maven project and reading the suggestions i decided to use the following solution:
* Add a lib directory in the project root
* Install a repository with maven in this lib directory:
mvn install:install-file -Dfile=../ibrain2/libraries/ganymed-ssh2/ganymed-ssh2.jar -DgroupId=ch.ethz.ganymed -DartifactId=ganymed-ssh2 -Dversion=build250 -Dpackaging=jar -DlocalRepositoryPath=lib -DcreateChecksum=true
* Add a repository in the pom.xml:
\
\
\ProjectRepo\
\ProjectRepo\
\file://${project.basedir}/lib\
\
\
* Add the dependency:
\
\ch.ethz.ganymed\
\ganymed-ssh2\
\build250\
\
=== CISD Data Store Server (DSS) client ===
* Install a repository with maven in the project's ''lib'' directory:
mvn install:install-file -Dfile=../../../data/openBIS/releases/openBIS-clients-and-APIs-13.04.4-r29608/dss_client-13.04.4-r29608/dss_client/lib/dss_client.jar -DgroupId=ch.systemsx.cisd -DartifactId=dss_client -Dversion=13.04.4-r29608 -Dpackaging=jar -DlocalRepositoryPath=lib -DcreateChecksum=true
* Add a repository in the ''pom.xml'':
ProjectRepo
ProjectRepo
file://${project.basedir}/lib
* Add the dependency in the ''pom.xml'':
ch.systemsx.cisd
dss_client
13.04.4-r29608