frett27 / jfgdb

Java File Geodatabase (FGDB) JNI Wrapper, permit to read/write simple features in .gdb from Java
Apache License 2.0
13 stars 11 forks source link

Where to set maven reference #1

Closed Ragadeepthi-Kotagiri closed 7 years ago

Ragadeepthi-Kotagiri commented 7 years ago

Hi, trying to execute samples in windows environment, but getting lot of errors. in Readme file i have seen set maven reference to jfgdb, where exactly we have to set it. am totally new to gradle and geodatabase. please guide me.

frett27 commented 7 years ago

i don't think this is a project related issue, rather than maven usage

have you tried to follow this from the sample folder ?

https://github.com/frett27/jfgdb/blob/master/samples/README.md

using maven, you need to add the dependency , and repository reference in your project POM, https://maven.apache.org/pom.html

i'll look for adding a MAVEN driven project example for speeding the usage for noobs.

RAJESH-TECHMILEAGE commented 7 years ago

hi,we are running this project in gradle but not in maven, do we need to add any maven refrence ?

frett27 commented 7 years ago

2 this is close, looking for the other issue posted ?

frett27 commented 7 years ago

look at the

definition for maven, in POM ,

 <repositories>
    <repository>
      <id>central</id>
      <name>Maven Repository jfgdb</name>
      <layout>default</layout>
      <url>http://jfgdb.s3-website-eu-west-1.amazonaws.com/maven2</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
  </repositories>

see https://maven.apache.org/guides/introduction/introduction-to-the-pom.html

i might work, but i havn't tested yet, please give feedback in case the maven use is successfull, i could mention a proper working configuration.

Patrice