I am new to Maven and I am trying to figure out whether and I can accomplish the following.
My Java project should be available both on a Linux and a Mac machine. I have a number of dependencies which I can find on the maven repository. However, I have a dependency (a jar file) which must be local on both machines.
How can I set up my POM file, and project structure to achieve this?
Update: Part of this information seems to be provided here in this other question: How to add local jar files to a Maven project?. What I still don't understand is whether having the following:
<dependency>
<groupId>com.sample</groupId>
<artifactId>sample</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/Name_Your_JAR.jar</systemPath>
</dependency>
implies that on both machines I need to manually copy the jar file.