maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Dailey <>
Subject Getting restSQL to work with maven
Date Thu, 24 Oct 2013 21:47:22 GMT
So my goal right now is to generate an Eclipse project for my maven
project. I successfully have done this using:

mvn eclipse:eclipse

Now in my file I am adding a new dependency:

import org.restsql.core.Config;

Eclipse tells me it cannot resolve "org.restsql". So what I did was
use install:install-file to install restSQL:

mvn install:install-file
-DgroupId=org.restsql -DartifactId=restsql -Dversion=0.8.6

This seems to have gone well:

[INFO] --- maven-install-plugin:2.5.1:install-file (default-cli) @
repository ---
[INFO] pom.xml not found in restsql-0.8.6.jar
[INFO] Installing C:\Users\rdailey\Downloads\restsql-0.8.6.jar to
[INFO] Installing
to C:\maven-repo\org\restsql\restsql\0.8.6\restsql-0.8.6.pom

Now when I go back to my eclipse project, it still can't resolve it.
Am I missing something? If it's in the repo now, shouldn't it resolve?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message