I have some local jar files in a folder /src/main/resources/foobar under my basepath.

I have them included as dependencies in my POM.xml:

```
<dependency>
    <groupId>io.swagger</groupId>
    <artifactId>swagger-models</artifactId>
    <version>1.5.4-SNAPSHOT</version>
</dependency>

```

Now i tried to add them with a local repository:

```
<repositories>
    <repository>
        <id>resource-repository</id>
        <url>file://${project.basedir}/repo</url>
    </repository>
</repositories>

```

Now still i get the error message that the jars inside this reposirtory not found:

```
The following artifacts could not be resolved: bar... in file://.../repo was cached in the local repository, resolution will not be reattempted until the update interval of resource-repository has elapsed or updates are forced -> [Help 1]

```

I have not used the

```
mvn install:install-file

```

command for this. And i would be happy if there is a solution where i dont need to do this.

Edit:

The folder structure is:

```
repo\io\swagger\swagger-models\1.5.4-SNAPSHOT

```

and Jar inside:

```
swagger-models-1.5.4-SNAPSHOT.Jar

```

Funny though i get a warning about a missing POM from this file when running maven install.