I know, by default, with maven dependencies, it will grab everything it needs from the local repo (.m2 directory). In my application, I don't want it to depend from the local directory, but from a specific location. I've used the <scope>system</scope>
with <systemPath>../path/to/file/</systemPath>
, but it still depends from the .m2 directory. Is there anyway I can change where the maven dependencies depend from?
With my application, I'm using the native code (C++) and there are .nar
and .so
files. In this example, I specifically need to depend on a .so
file in a specific directory, but it's always going to the .m2 directory. Is there a plugin that could fix this?
Also, to note that I'm using Maven 2.2.1.