Re: [Feedback wanted] GROOVY-11871: Support Maven Resolver based version of Grapes

Per Nyfelt <[email protected]>
Newsgroups gmane.comp.lang.groovy.devel
Organization Alipsa HB
Message-ID <[email protected]>
I have tried to create a reproducible example but did not succeed, hence 
no JIRA tocket. The reason is that -SNAPSHOT often works but far from 
always. Maybe it's a time thing (short duration between published 
snapshots), maybe its something else but I find it unreliable and the 
only reliable way i found is to clear the cache after publishing the 
snapshot. That being said, i have not tried changing=true. Where do i 
add that? To @GrabConfig or in the @Grab statement itself?


On 3/15/26 16:18, Milles, Eric (TR Technology) via dev wrote:
> > GrapeIvy does not detect new snapshot versions well so you end up 
> having to clear the cache after each publish for GrapeIvy to find the 
> new one
>
> Is there a JIRA ticket for this issue?  Ivy should be seeing 
> "abc-1.0.0SNAPSHOT.jar" as a snapshot not release and so it checks the 
> repository for new artifacts.  However, if you are pushing a new 
> "abc-1.0.0.jar" to your repo, that is not automatically checked if 
> cached.  You can add "changing=true" attribute to your dependency or 
> there are other config options to make this happen.  Gradle behaves 
> this same way unless you use "--refresh-dependencies" command-line 
> argument.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.