SINTEF-9012 / JArduino

Program your Arduino in Java
https://github.com/SINTEF-9012/JArduino/wiki
176 stars 63 forks source link

Not importing library into intellij IDE #75

Open apollowebdesigns opened 6 years ago

apollowebdesigns commented 6 years ago

Hi,

I'm using maven to import the JArduino into a Java project and I have used this dependency from maven central.

https://mvnrepository.com/artifact/org.sintef.jarduino/org.sintef.jarduino.core/0.1.6

Intellij, the IDE that I am using is complaining that it cannot import the dependencies.

I am using Java 8 64bit on a mac with maven 3.

[ERROR] Failed to execute goal on project gs-consuming-rest: Could not resolve dependencies for project org.springframework:gs-consuming-rest:jar:0.1.0: Failure to find org.sintef.jarduino:org.sintef.jarduino:pom:0.1.6 in https://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestone has elapsed or updates are forced -

Thanks

brice-morin commented 6 years ago

Hi,

It might be some problems with our Maven repository. I think the best way is to mvn clean install JArduino locally so that it will be available in your local .m2 repository. Either from the latest version by git clone-ing the repo or from one of the releases.