I am trying to include some css and js files as resources to the javadoc.
My JavaDoc plugin is configured as follows:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.5</version>
<configuration>
<detectLinks>true</detectLinks>
<charset>ISO-8859-1</charset>
<encoding>ISO-8859-1</encoding>
<docencoding>ISO-8859-1</docencoding>
<author>true</author>
<aggregate>true</aggregate>
<source>1.6</source>
</configuration>
</plugin>
The project in question is a collection of four sub-modules. In the first of
these, I have included the folder src/main/javadoc. I was of the impression
that content of this folder would be included in the constructed JavaDoc in the
folder resources. This does not seem to happen.
I am generating the documentation using command mvn site.
I am at a loss with regard to the following questions:
-Where should I place the resource files?
-Should configuration of the plugin be changed?
-Where will be resources be located in the JavaDoc produced?
-How do I include javadoc resources?
Thank you in advance
Kenneth Petersen