I have one java application and calling a static yaml in the /src/main/resources folder. Now if i run this application everything is just fine. But when i am importing this jar in some other pom. After adding the dependency tag in pom and adding the jar in libs/u1/u1/1.3 folder : u1 u1 1.3
and the repository :
<repository>
<id>in-project</id>
<name>In Project Repo</name>
<url>file://${project.basedir}/libs</url>
</repository>
It is identifying the jar but giving the below error as if it is looking for the yaml in its folder !! How to prevent this and add this in run time.
java.io.FileNotFoundException: src\main\resources\regexes.yaml