Skip to content

Latest commit

 

History

History
180 lines (145 loc) · 3.99 KB

README.md

File metadata and controls

180 lines (145 loc) · 3.99 KB

MVNRepo

This is a public Maven Repository hosted on http://maven.mashape.com that we use on Mashape.

You are free to use in your projects, and contribute to it.

Usage

Add the following code to your pom.xml for releases libraries:

<repository>
	<id>mashape-releases</id>
	<url>http://maven.mashape.com/releases</url>
</repository>

Add the following code to your pom.xml for snapshots libraries:

<repository>
	<id>mashape-snapshots</id>
	<url>http://maven.mashape.com/snapshots</url>
</repository>

How to contribute

If you have a *.jar file, and you would like to distribute it in this Maven Repository, follow these steps:

  1. Clone this GitHub repository
  2. Execute the mvn deploy:deploy-file command:
mvn deploy:deploy-file -Dpackaging=jar \
  -DgroupId=GROUPID \
  -DartifactId=ARTIFACTID \
  -Dversion=VERSION \
  -Dfile=PATH-TO-FILE \
  -Durl=file:/path-to-MVNRepo/releases-or-snapshots

For example:

mvn deploy:deploy-file -Dpackaging=jar \
  -DgroupId=com.braintreegateway \
  -DartifactId=braintree \
  -Dversion=2.13.1 \
  -Dfile=braintree-java-2.13.1.jar \
  -Durl=file:/path-to-MVNRepo/releases

or, if you want to preserve the original pom.xml

 mvn deploy:deploy-file -DpomFile=pom.xml -Dfile=PATH-TO-FILE -Durl=file:/path-to-MVNRepo/releases-or-snapshots

Be aware that the code above must be customized with the right arguments:

  • -DgroupId
  • -DartifactId
  • -Dversion
  • -Dfile
  • -Durl (this could be releases or snapshots)

Releases

###Unicorn-Java###

<dependency>
	<groupId>com.mashape.unirest</groupId>
	<artifactId>unirest-java</artifactId>
	<version>1.0.0</version>
</dependency>

###Braintree###

<dependency>
	<groupId>com.braintreegateway</groupId>
	<artifactId>braintree</artifactId>
	<version>2.13.2</version>
</dependency>

###Mashape File Manager###

<dependency>
	<groupId>com.mashape.file-manager</groupId>
	<artifactId>mashape-file-manager</artifactId>
	<version>1.1.2</version>
</dependency>

###Mashape Java Client Library###

<dependency>
	<groupId>com.mashape.clients</groupId>
	<artifactId>mashape-java-client</artifactId>
	<version>2.0.13</version>
</dependency>

###PDFCROWD###

<dependency>
	<groupId>com.pdfcrowd</groupId>
	<artifactId>pdfcrowd</artifactId>
	<version>2.4</version>
</dependency>

###jbeandumer###

<dependency>
	<groupId>ru.yandex.lc.jbd</groupId>
	<artifactId>jbeandumer</artifactId>
	<version>1.5.1</version>
</dependency>

###objectdumper###

<dependency>
	<groupId>nu.rohde.objectdumper</groupId>
	<artifactId>objectdumper</artifactId>
	<version>0.10</version>
</dependency>

Snapshots

###Morphia (MODIFIED VERSION, SEE URL)###

<dependency>
	<groupId>com.google.code.morphia</groupId>
	<artifactId>morphia</artifactId>
	<version>1.0-appco</version>
</dependency>

###Mongo Analyzer###

  • Version: 1.0
<dependency>
	<groupId>com.mashape.mongo.analyzer</groupId>
	<artifactId>mongo-analyzer</artifactId>
	<version>1.0</version>
</dependency>