Similar to Maven: Including jar not found in public repository, I have a project that is built using maven and relies on a third party jar(just the jar is provided, not a maven project).
I currently store just include this jar in the project itself and point to it like:
<dependency>
<groupId>org.thirdparty</groupId>
<artifactId>thirdparty</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/thirdparty.jar</systemPath>
</dependency>
This is nice, but I was wondering if it would be possible to store that thirdparty.jar in a central location, say S3 for instance, and then have that jar just be pulled from there when the project is being built?
Edit: Aware that there are probably some third party services that can do this, however, I am not really interested in anything along those lines. Just looking to see if there is a pom xml tag or command line option that I appear to be overlooking.