views:

27

answers:

2

How do I avoid specifying the defaulAuthor element during javadoc creation using the javadoc plugin. I don't want the author element, since the javadocs will be shipped to customers.

A: 

How about specifying a generic author (i.e. your company)?

Adriaan Koster
A: 

Why don't you set it to be the name of your company in a parent pom? See plugin configuration options

Jon Freedman
Maybe I can do that, but I have never seen author information in some of the commonly used java libraries
Joshua
I normally write my own javadoc, I'm not convinced that something generating it for me (other than my IDE when I actually want it) is useful. Consider that if you are adding javadoc without actually writing any documentation what value you are adding?
Jon Freedman
@Jon - I am just creating the javadoc skeleton by running the fix command. Our whole intention is to fill it with documentation, this is just a pre-requisite for us
Joshua
@Jon - The question was primarily related to avoid specifying the author information
Joshua