0

I can't get the maven dependency for ucanaccess to work: net.ucanaccess ucanaccess 2.X.X

It doesn't seem to be available?

Miquel
  • 11
  • 2

2 Answers2

3

It appears that ucanaccess is not currently available from maven central (based on googling for it and finding this thread).

I'd recommend downloading it from sourceforge, extracting the jar, and installing the jar in your local repo using the instructions from the maven documentation:

mvn install:install-file
    -Dfile=<path-to-file>
    -DgroupId=<group-id>
    -DartifactId=<artifact-id>
    -Dversion=<version>
    -Dpackaging=<packaging>
    -DgeneratePom=true

Where: <path-to-file> the path to the file to load
       <group-id> the group that the file should be registered under
       <artifact-id> the artifact name for the file
       <version> the version of the file
       <packaging> the packaging of the file e.g. jar
1337joe
  • 2,327
  • 1
  • 20
  • 25
1

Did you look on http://mvnrepository.com/ to check whether your dependency is present or not ?

If not you should drop the jar in your classpath by yourself or create the appropriate directory in your local maven repository at %HOME%.m2\repository.

Medhi Redjem
  • 188
  • 1
  • 7