Maven and db4o dependency

I am intrigued to test new frameworks in the Java world and decided to create a new project that uses Maven and db4o. I'm starting to look for Maven, but it's hard for me to add db4o depending on the project. The first problem is that db4o does not exist in official Maven repositories. Next up is the problem that db4o seems to have recently reorganized all of its site URIs: s, so I constantly get "site not found" messages when I try to navigate their site.

I found somewhere a potential Maven repository, which should be https://source.db4o.com/maven , but I always get "Error reading the archetypal directory https://source.db4o.com/maven Unable to find the resource in the repository "when I try to access it.

So, any suggestions on how I get db4o through Maven? I control Maven through Eclipse using the M2Eclipse plugin.

+7
java repository maven-2 dependencies db4o
source share
2 answers

Works with me with the following snippet:

<project> <repositories> <repository> <id>source.db4o</id> <url>http://source.db4o.com/maven</url> </repository> </repositories> ... <dependencies> <dependency> <groupId>com.db4o</groupId> <artifactId>db4o-full-java5</artifactId> <version>8.1-SNAPSHOT</version> <!-- latest version --> </dependency> ... </dependencies> </project> 
+18
source share

You will not see a dependency in m2eclipse if the Maven repository has not been indexed using the Nexus indexer ... very few third-party repositories.

+3
source share

All Articles