CSJCurrent en:Importing into Maven Repository

Aus Cryptshare Documentation
Wechseln zu:Navigation, Suche



If you would wish to import the jar file into your own remote repository (Nexus, Artifactory etc) please refer to the following information: https://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html If you do not have a remote repository then you can import the jar into your local repository using the following command (Make sure to adapt the version and filename accordingly):

mvn install:install-file -DgroupId=com.cryptshare.api -DartifactId=cryptshare-api -Dversion=5.0.1.207 -Dpackaging=jar -Dfile=cryptshare-api-5.0.1.207.jar -DgeneratePom=true

After this you can use the Java API by adding a new dependency in the `pom.xml` of your project:

<dependency>
   <groupId>com.cryptshare.api</groupId>  
   <artifactId>cryptshare-api</artifactId>  
   <version>5.0.1.207</version>
</dependency>