To add, the corresponding Postgresql jar in local repo (.m2) works just fine.
Best Wishes, Gintautas Sulskus On Fri, Dec 2, 2016 at 5:52 PM, Gintautas Sulskus < [email protected]> wrote: > Hi, > > I am trying to copy a few maven artefacts to the project's build directory. > For this purpose, I am using maven-dependency-plugin [1]. The code to copy > a PostgreSQL artefact to project sub-dir "lib" looks as in [2]. > > The jar is copied to the specified location (./lib) as expected. However, > the jar cannot be opened and is unusable. > Am I misusing the plug-in or have I missed something? > > Thanks, > Gin > > References: > [1] http://maven.apache.org/plugins/maven-dependency-plugin/usage.html > [2] http://pastebin.com/Y2rSKLt3 > >
