How to add unmanaged Dependendies in Maven when using Git

I need to add a single jar to a maven project that is hosted in git. However this file is not present in any public repository.

I can install the file to my local repository but since there are other people working on the project as well they can't resolve the dependency. I don't really want to set up a manager for a single dependency, so is there any clean way to add it to my project and still be able to share the project?

I did try to create an repository in the project's path and add it to my pom but maven can'resolve it. Anyway it would look somewhat hackish.

Answers


<dependency>
    <artifactId>**</artifactId>
    <groupId>**</groupId>
    <scope>system</scope>
    <systemPath>${basedir}/libs/dep.jar</systemPath>
</dependency>

Need Your Help

When would initWithFormat:arguments: be used?

cocoa nsstring

The NSString method initWithFormat:arguments: takes a va_list as an argument. I can't figure out when it would be used (or even how to use it). Why would Apple add such a method when the regular

Retrieve List of Log4J Appenders at Run Time

java logging log4j

Is it possible to retrieve a list of all appenders configured in log4j at run time?