Hi,

My maven plugin contains several reports and I declare reports in plugin.jelly like
......
<goal name="maven-myplugin-plugin:register">
<doc:registerReport name="Report 1" pluginName="maven-myplugin-plugin" link="myplugin/report1/index" description="Report 1"/>
<doc:registerReport name="Report 2" pluginName="maven-myplugin-plugin" link="myplugin/report2/index" description="Report 2"/>
</goal>
......
This will add two entries in project-nav.xml.
..
<item name="Report1" href="/myplugin/report1/index.html"/>
<item name="Report2" href="/myplugin/report2/index.html"/>
..


Now, one of the report will contain many other pages and I want to add those pages into navigation as well. I want to generate project-nav.xml like

...
<item name="Report1" href="/myplugin/report1/index.html" collapse="true">
   <item name="Page1" href="/myplugin/report1/page1.html"/>
   <item name="Page2" href="/myplugin/report1/page2.html" collapse="true">
        <item name="Page3" href="/myplugin/report1/page3.html"/>
       ......
   </item>
   ...
</item>
<item name="Report2" href="/myplugin/report2/index.html"/>
..

The structure of each pages can be created dynamically in plugin.jelly.

Is it possible? How to do it?



Thanks
Jiaqi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to