I am migrating J2ee project to Maven,
I was able to resolve 99% of its dependencies except 2 old jar files we wrote few years
ago,
Is it possible to drop these jars somewhere (SVN repo?)
And tell the pom.xml to take the libraries from there?
<dependency>
<groupId>com.myCompany </groupId>
<artifactId>very old Jar</artifactId>
<version>1.1.0</version>
<location>svn://archaic/jars/dont/move/this/jar1.jar</location>
</dependency>
Thank you!
You can keep them in the project and add a system-scoped dependency, which lets you specify a path to a local file as a dependency using the “systemPath” element.
If you’re switching to Maven, you might want to look at setting up your own repository manager both to handle this and to proxy outside repos for quicker access and convenient searching. Nexus is very popular and extremely simple to set up.