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