Inject a maven ScmManager into your Mojo. Checkout code is fairly simple. Can give example code later if desired.
Sent on the go A Am 26.06.2012 15:26 schrieb "Kathryn Huxtable" <kath...@kathrynhuxtable.org >: > I know the release plugin can do it, but the source is fairly complex. > > Is there an easy way? > > My goal is to check out an earlier version of the artifact, copy its > resources (so I'll also be running the copy-resources plugin), which > produces some data as side effects, and then compare that data to the > current data. I'm trying to make an incremental updater. > > Obviously I can keep the earlier version around, but it would be nice not > to have to depend on that. > > Any advice would be appreciated. > > -K > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >