maven-javadoc-plugin 2.6 is and other versions are giving problem while trying with Java 1.6
Reason: there is some issues with code. we have option “fix” with plugin, but it is not working. So we dont know exact problem to generate javadoc.
Solution: Try javadoc:javadoc with one profile and try by exluding com.* in another profile
>mvn -P JavaDoc_Profile javadoc:javadoc (Generate before site) (regular maven-javadoc-plugin)
>mvn -P Site_Profile site (regular maven-javadoc-plugin with exclude com.*)
dont use site-deploy
Now to test, i dont have remote site to use site:deploy.
alternative is site:stage