It is awesome to be able to access the code to figure out problems. I was playing around with using the maven groovy plugin and tried to follow the examples to execute a local script. No dice. It barfed on me with an exception that didn't really help me out. So I took at look at the source and took a guess at how it should be working. Bingo.
Of course I opened a bug so that 1) google searches will turn up better results than I got and 2) so the developers can actually fix the problem. ;-)
Update: it turns out that since at work maven pulls from snapshot repos, I was using an alpha version. Mental note to myself: always use the version that's documented on the site.
Update 2: Well, as it turned out I was using the wrong groupId as well as the wrong version. How could I have confused org.codehaus.mojo with org.codehaus.mojo.groovy, I mean really!?! Well, I changed the groupId and the version and then just ran into another bug (that now appears to be fixed?). Who knows. I'll just use the old groupId with the alpha and the config that I know to work. There is a reason why they call it the "bleeding edge" :-/
No comments:
Post a Comment