Yeah, I might still eventually move it over. I decided to keep it separate for several reasons:
* I need to work out some classloader issues that might affect other mojos in the same plugin. Clojure maintains lexical scope for everything run in the same classloader, and I think this can bleed between mojos. * I might want to add a "report" mojo to the "execute" mojo, that would let you more easily generate in-line reports. Something I've been thinking about, but I won't touch until I understand the changes to this feature in Maven 3. * Putting it into another project means being beholden to that project's release schedule. I've already integrated and released several enhancements and a couple of bug fixes, and am on the third release. It's nice being able to drop code when it's ready. * I wanted to write documentation with Maven site docs. The clojure- maven-plugin doesn't have that at this time (or at least it isn't apparent that it does). Maven site allows me to have documentation that lives with each tag and branch, so you can always see the docs for the version you are using. This will matter more when Clojure is 10 years old. :-) * I still want to experiment with stub generation and integrating Clojure documentation into Maven site, which is a whole other research project. Oh, yeah, and I'm on Windows. So it's kind of painful to work with the GIT tools. I think the GIT client implementation for Windows needs another year to become usable. So yeah, I decided to go down the path less traveled, just because this isn't anywhere near finished (although I think the *execute* mojo is looking stable), and it's more cumbersome to work in a larger project. When the feature set is solid and stable and I know it won't interfere with other software, maybe then it's time to move the code. Besides - this is Maven. It's just another (plugin) dependency. Easy peasey. I'm hoping that people will find this to be useful, and that people will be able to find it. :-) I'm using it. I like it. http://programmingperils.blogspot.com http://code.google.com/p/sandflea/wiki/MavenClojurePlugin On May 19, 9:46 pm, Mark Derricutt <m...@talios.com> wrote: > Ahh is this where your contrib. ended up? I was waiting for you to post it > to github or somewhere to merge into the master repo of > clojure-maven-plugin. > > Would be good to keep things to one mojo imho. > > -- > Pull me down under... > > > > > > On Sun, May 16, 2010 at 1:54 PM, Jason Smith <ja...@lilypepper.com> wrote: > > >http://sandflea.googlecode.com/svn/site/SNAPSHOT/maven-clojure-plugin... > > > I was originally going to try to put this into *clojure-maven-plugin*, > > but realized that there are lots of subtleties to cover that would be > > difficult as a sub-contributor. So I have created > > sandflea.clojure:maven-clojure-plugin. It currently has one goal, > > *execute*, that lets you execute Clojure scripts at any lifecycle > > state in the Maven build, with in-process access to various Maven > > objects (project, session, log, etc.). > > > The link above shows an example. It's fairly simple. I'll add a few > > more, including adding new artifacts using Clojure, and maybe some ANT > > stuff. > > > If you're into Maven, this might interest you. Still at an early > > stage in development, and I welcome feedback. This is not going to be > > a replacement for *clojure-maven-plugin*. I am not planning to add > > any functions that overlap what they are already doing so very well! > > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to clojure@googlegroups.com > > Note that posts from new members are moderated - please be patient with > > your first post. > > To unsubscribe from this group, send email to > > clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com > > > > > For more options, visit this group at > >http://groups.google.com/group/clojure?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en