You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more
I only know vaguely what it's meant to do - but as far as I know it's supposed to collect all the dependencies for my proect automatically before building - right?
So I have a project (sample downloaded from the internet) that depends on objectdb, and there is a dependency in the pom. I'm using only eclipse here and not the command line tools, and I'd like to keep it that way for now if possible for consistency's sake. The POM gives a URL for the remote repo, it seems, but I don't think I should have to go there in a browser and download it myself?
<repository>
<id>objectdb</id>
<name>ObjectDB Repository</name>
<url> http://m2.objectdb.com</url>
</repository>
...
<dependency>
<groupId>com.objectdb</groupId>
<artifactId>objectdb</artifactId>
<version>2.6.8_14</version>
<scope>provided</scope>
</dependency>
Yes, Maven should go and fetch the dependencies and then install them into your local repo. Repository info included in the <repositories> section of the POM should mean Maven will check them.
It looks like the version you're trying to pull down doesn't exist in that [url= http://m2.objectdb.com/com/objectdb/objectdb/ ]repo[/url], try changing it to "2.6.8".
Using the command line tool might be a better way to debug as you'll see where Maven is looking, although I'd expect the Eclipse console to show the same info. Been a while since I've used Eclipse but the dependencies tab on the POM editor might give you some useful error messages.
Well, that was easy 🙂
Ta!
Is this french or Italian they're speaking ?