[jbosstools-dev] New Feature for Target Platform: materialize a local "SDK"

Max Rydahl Andersen max.andersen at redhat.com
Mon Feb 11 08:09:34 EST 2013


>> 
>>>  "-Dmirror-target-to-repo.includeSources=true
>>> 
>> Why is that name using about 4 different naming conventions ?
>> 
>> dash as spaces
>> dot as spaces
>> camelcase for spaces
>> insane length
>> 

> Convention here are the same as in most Maven plugins:
> * key is ${mojoName}.${mojoParameter}
> * mojo name is often a dash-separated name
> * mojo argument are Camel-case (just like java arguments)
> * "insane" length is not a convention, it's just you don't like it, 

i'm sorry...but i'm not the only one ;)

> but it's actually the best way to understand what it does ;)
> Read this line as "it sets the includeSources parameter of mirror-target-to-repo mojo to true".

Thanks - the above actually explains it all. Didn't realize this was a property of a mojo - and then yes, the naming gets horrible due to Maven's ancient conventions.

/max




More information about the jbosstools-dev mailing list