Java 1.6 and maven-javadoc-plugin issue

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

-o-
http://blog.vermaas.net/2005/10/maven-2-getting-sitedeploy-to-work_30.html
http://maven.apache.org/plugins/maven-site-plugin/examples/site-deploy-to-sourceforge.net.html
http://maven.apache.org/plugins/maven-site-plugin/usage.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s