Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The POM for com.google.code.morphia:morphia:jar:1.00-SNAPSHOT is missing, no dependency information available

The POM for com.google.code.morphia:morphia:jar:1.00-SNAPSHOT is missing, no dependency information available

<scm>
   <connection>scm:svn:svn://morphia.googlecode.com/svn/mavenrepo/</connection>
          <developerConnection>scm:svn:svn://morphia.googlecode.com/svn/mavenrepo/</developerConnection>
</scm>
like image 909
Darshan Patil Avatar asked Dec 28 '22 08:12

Darshan Patil


1 Answers

The Morphia functionality will be merged into the official Java driver, therefore there won't be a 1.0 release.

Take the 0.99.1-SNAPSHOT - this is the latest version and includes all recent bugfixes. This should work in your POM:

    <repository>
        <id>morphia</id>
        <url>http://morphia.googlecode.com/svn/mavenrepo/</url>
    </repository>

    ...

    <dependency>
        <groupId>org.mongodb</groupId>
        <artifactId>mongo-java-driver</artifactId>
        <version>2.7.2</version>
    </dependency>
    <dependency>
        <groupId>com.google.code.morphia</groupId>
        <artifactId>morphia</artifactId>
        <version>0.99.1-SNAPSHOT</version>
    </dependency>

UPDATE 1: There's now a fork with a stable release, which includes quite some bugfixes: https://github.com/jmkgreen/morphia

We've switched to it and haven't seen any regressions (it just requires a global search and replace, since the namespace has changed). IMHO, this is currently the best solution.

UPDATE 2: MongoDB Inc. has now picked up Morphia again. You can find it at https://github.com/mongodb/morphia - this is what you should use now!

like image 75
xeraa Avatar answered Jan 26 '23 00:01

xeraa