Thanks. I am using maven3, but I think the invoker looks simpler. If we were using Jenkins already I might think differently… -K
On Jun 26, 2012, at 11:27 AM, Olivier Lamy wrote: > 2012/6/26 Kathryn Huxtable <kath...@kathrynhuxtable.org>: >> Thanks! >> >> I'm also checking out the mojo-executor plugin. It looks kind of squirrelly, >> but it may do what I want. I'm going to need to run a plugin on the checked >> out code, so I guess I can't avoid either embedding Maven or forking it. (I >> think I'll fork.) > Probably maven-invoker (http://maven.apache.org/shared/maven-invoker/) > library can help you. > If you use maven3 maybe you can have a look at > https://github.com/jenkinsci/lib-jenkins-maven-embedder which is "not > prefect" :-) embedder. >> >> Part of me wonders if sticking to shell scripting for this might be easier. >> >> -K >> >> On Jun 26, 2012, at 8:29 AM, Olivier Lamy wrote: >> >>> Hi, >>> Maybe will be more easy to have a look at the CheckoutMojo ? >>> >>> http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-plugin/src/main/java/org/apache/maven/scm/plugin/CheckoutMojo.java >>> >>> 2012/6/26 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 >>>> >>> >>> >>> >>> -- >>> Olivier Lamy >>> Talend: http://coders.talend.com >>> http://twitter.com/olamy | http://linkedin.com/in/olamy >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>> For additional commands, e-mail: users-h...@maven.apache.org >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> > > > > -- > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org