- In my Maven repo (.m2). there is one my local jar like sub_app-0.1.jar.
- I have same copy of the it in ivy-cache.
- I run
maven install
on sub_app then new sub_app-0.1.jar file created. - After, I run
grails clean
and it not getting my new sub_app-0.1.jar from .m2. But, if I remove (delete) sub_app-0.1.jar file from ivy-cache and run the
grails clean
then it is getting new sub_app-0.1.jar file into ivy-cache.If I change the version in sub-app pom and grails pom and Grails is taking latest one. install again it not taking.
- I tried by adding SNAPSHOT to sup-app jar even. Same result, first time it is taking, after not.
ie. Grails considering only jar name and version in ivy-cache, if having - it not take. If not having - it taking from .m2.
But it not considering new/old build.
How can I get the same behavior (step 5) in step 4 also?