Quick and dirty? Keep a SHA-1 checksum of the pom in your unit test and compute it. You can also grep the dependencies section and normalise whitespace first. This would not be stable against change of order or refactoring using properties for version numbers etc., but you wanted something easy. ;-) -- Alexander Kriegisch
> Am 07.04.2015 um 05:18 schrieb Kevin Burton <bur...@spinn3r.com>: > > I have a few modules that I want to lock down so that I can easily keep > track of dependencies over time. > > This way if a developer adds a new dependency, the test will immediately > break and someone will have to approve the change. > > Is this possible? Could I embed this in a unit test or does it have to be a > plugin? ideally something easy… > > -- > > Founder/CEO Spinn3r.com > Location: *San Francisco, CA* > blog: http://burtonator.wordpress.com > … or check out my Google+ profile > <https://plus.google.com/102718274791889610666/posts> > <http://spinn3r.com> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org