Reputation: 7359
I'm writing a “compiler plugin”, and using Maven as build system. About one week ago, I had a (first) working version, and checked the code in. If I rebuild that version today, it doesn't work anymore, so my first suspicion is a change in the version of some (indirect?) dependency. Is there a Maven plugin, that can compare the effective dependencies of a POM between two different points in time (now, and “one week ago”)?
Expressed another way, is it possible to find out when a particular version became available in a Maven repo?
Upvotes: 2
Views: 108
Reputation: 7359
Well, it's not really what I was looking for, but assuming there is no way to actually do it, the closest I found was this; Check out the date of the files in the local Maven repo:
cd <user-home>/.m2/repository
$ find . -type f -name "*.jar" -mtime -<how-many-days-ago-did-it-still-work>
And compare this to "mvn dependency:list"
In my case, it seems nothing relevant (apart from my own project jars) changed, so I can probably take Maven off the "suspect list".
Upvotes: 1