Grails and Local Maven Dependencies

后端 未结 2 1429
甜味超标
甜味超标 2021-01-06 18:12

I\'m developing a small web frontend in Grails. It is basically a \"ultra light-weight\" client app that is connected async through JMS.

I have two dependencies in t

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-06 18:42

    It turned out that the problem was then non empty cache for the artifact. While the activemq jar file was untouched, the acme-adapter-api.jar was in fact many times changed but without increasing the maven build id, 1.3, in the above case.

    I could fix it, when I increased the build number to 1.4-SNAPSHOT...

    Two question remain:

    1. Isn't the maven contract to always fetch SNAPSHOT versions, for the exact same reason?
    2. How to forcefully empty the cache? And where is it?

    I will open a new question to answer part 2 here

提交回复
热议问题