|
Dependencies
List of runtime JAR dependencies for Morphia.
DependenciesMorphia depends on the following third party JARs:
If you use Maven2 to build your project, it will automatically download all dependencies for you. Including Morphia (in your project)ManuallyAdd the dependencies above to your class-path and compile. Through Maven
<dependency> <groupId>com.google.code.morphia</groupId> <artifactId>morphia</artifactId> <version>###</version> </dependency> <!-Optional Jars (for certain features) but required by maven for bulding. --> <dependency> <groupId>cglib</groupId> <artifactId>cglib-nodep</artifactId> <version>[2.1_3,)</version> <type>jar</type> <optional>true</optional> </dependency> <dependency> <groupId>com.thoughtworks.proxytoys</groupId> <artifactId>proxytoys</artifactId> <version>1.0</version> <type>jar</type> <optional>true</optional> </dependency> From SourceYou can check out from subversion and build it yourself. You will need Maven2 for this. After you've checked out the project, change into the morphia directory, and run "mvn install" (Note: Will need to have Mongo running locally for the tests to pass). | |
► Sign in to add a comment
You have a typo on this page <!-Optional should be <!-- Optional
Found another typo. bulding. --> should be building. -->
<groupId>com.google.code.morphia</groupId> is wrong?
<groupId>com.google.code</groupId> is right?
I tried syncing to revision 1376 (http://code.google.com/p/morphia/source/detail?r=1376), which was the 0.98 release, and mvn install worked there:
svn up -r 1376 mvn install
I see that there are quite a few patches proposed for fixing various pom.xml files:
http://code.google.com/p/morphia/issues/detail?id=348