Re: Custom license

2011-04-08 Thread Jochen Wiedmann
Hi, Christian, took more than a few days, but now we finally do support custom license matchers with rat. See http://ci.apache.org/projects/rat/apache-rat-plugin/examples/custom-license.html for details, but in short you must have something like the following in your POM:

Re: Custom license

2011-03-17 Thread Stefan Bodewig
On 2011-03-17, Jochen Wiedmann wrote: > I have to admit, it isn't. The CLI isn't and you will certainly know better than me whether the Maven plugin can do it, but the Ant task has allowed pluggable licenses since day 1. The testCustomMatcherSentToFile target in

Re: Custom license

2011-03-17 Thread sebb
On 17 March 2011 10:03, Jochen Wiedmann wrote: > I have to admit, it isn't. > > However, I see this as a very important addition. If RAT ever wants to > be useful outside the ASF, then this needs to be done: > > - Licenses (instances of org.apache.rat.analysis.IHeaderMatcher) must > be pluggable.

Re: Custom license

2011-03-17 Thread Christian Grobmeier
I am a Maven User :-) Cool service, thanks :-) On Thu, Mar 17, 2011 at 11:20 AM, Jochen Wiedmann wrote: > Give me a few days and nag me, if you don't here from me. Which one do > you need first: Ant, Maven, or CLI? > > > On Thu, Mar 17, 2011 at 11:08 AM, Christian Grobmeier > wrote: >> What you

Re: Custom license

2011-03-17 Thread Jochen Wiedmann
Give me a few days and nag me, if you don't here from me. Which one do you need first: Ant, Maven, or CLI? On Thu, Mar 17, 2011 at 11:08 AM, Christian Grobmeier wrote: > What you said all makes sense. This is a killer feature > >> Are you interested to give this a try? > > Yes, but I have no cyc

Re: Custom license

2011-03-17 Thread Christian Grobmeier
What you said all makes sense. This is a killer feature > Are you interested to give this a try? Yes, but I have no cycles left to code this myself at the moment :-((( Thanks and thanks for the @since email too! Cheers Christian > > > Jochen > > > > > On Thu, Mar 17, 2011 at 10:43 AM, Christia

Re: Custom license

2011-03-17 Thread Jochen Wiedmann
Oh, about the @since question: For simple cases (@since required in the global Javadoc section), RAT could be used. But my guess is that you'd like to check methods as well, in which case RAT is much too simplistic. Jochen On Thu, Mar 17, 2011 at 10:43 AM, Christian Grobmeier wrote: > Hello, >

Re: Custom license

2011-03-17 Thread Jochen Wiedmann
I have to admit, it isn't. However, I see this as a very important addition. If RAT ever wants to be useful outside the ASF, then this needs to be done: - Licenses (instances of org.apache.rat.analysis.IHeaderMatcher) must be pluggable. - For simple cases it should not be required to write a Java