Hey Chiradeep,

Jmdns is available from maven directly, so you can add the following piece to 
the dependency list in the pom.xml:

<dependency>
  <groupId>jmdns</groupId>
  <artifactId>jmdns</artifactId>
  <version>2.1</version>
</dependency>

As CAstorSDK doesn't seem to be on maven, so in that case we have to tell the 
developer to download it into the deps directory himself and we can add the 
following to the file install-non-oss.sh:

mvn install:install-file -Dfile=CAStorSDK.jar     -DgroupId=com.cloud.castorsdk 
-DartifactId=castorsdk -Dversion=1.0   -Dpackaging=jar

And this to the pom.xml

<dependency>
  <groupId>com.cloud.castorsdk</groupId>
  <artifactId>castorsdk</artifactId>
  <version>1.0</version>
</dependency>


Cheers,

Hugo

-----Original Message-----
From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com] 
Sent: Wednesday, August 29, 2012 11:56 PM
To: CloudStack DeveloperList
Subject: Adding CAStor SDK jar

I am trying to merge this patch [1] into Apache master. It brings in a new jar 
file CAStorSDK.jar and adds a dependency to jmdns-2.1.jar As discussed in [2], 
these jars cannot be checked in.

Under the new maven build system, how do we bring in these dependencies?

Thanks

[1] https://reviews.apache.org/r/6473/
[2] http://goo.gl/033PO

Reply via email to