This is not just a jar just for creating a Maven repository, there are a bunch of other things to consider as a Maven repository. At the url, I think this is not a standard Maven repository layout.
Thus, you have at least 2 options:
- Set up your own local Maven network repository using Artifactory , Nexus, or other similar software systems.
- Download the file and add it to the repository of your local computer.
For option 2, just upload the file, and then run the Maven mvn command as follows (assuming the file is in your current directory):
mvn install:install-file -Dfile=JSErrorCollector-0.2.jar -DgroupId=strepo.ext -DartifactId=JSErrorCollector -Dversion=0.2 -Dpackaging=jar
After that, you can access this with:
<dependency> <groupId>strepo.ext</groupId> <artifactId>JSErrorCollector</artifactId> <version>0.2</version> </dependency>
source share