Issue Details (XML | Word | Printable)

Key: XBEAN-72
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Kohsuke Kawaguchi
Votes: 0
Watchers: 0
Available Workflow Actions

Begin RTC Review
Operations

If you were logged in you would be able to see more operations.
XBean

Plugin needs to implement MavenReport

Created: 24/Jan/07 08:48 PM   Updated: 11/Mar/09 06:38 PM
Return to search
Component/s: maven-plugin
Affects Version/s: 2.8
Fix Version/s: None

Time Tracking:
Issue & Sub-Tasks
Issue Only
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works report-1.diff 2009-03-11 06:38 PM Felix Knecht 36 kB

Sub-Tasks  All   Open   

 Description  « Hide
The HTML files that the maven-xbean-plugin generates are very useful inside the site HTML files.

If the plugin provides MavenReport, then this could happen automatically.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Dain Sundstrom added a comment - 28/Feb/08 09:49 PM
I don't know how to do this, but if you can point me in the right direction I will attempt to add it. Alternative, you could supply a patch

Felix Knecht added a comment - 11/Mar/09 08:24 AM
Generate a xbean report.
To add the report to the site generation you need to add it in the reporting section of your pom, e.g.

<reporting>
<plugins>
<plugin>
<groupId>org.apache.xbean</groupId>
<artifactId>maven-xbean-plugin</artifactId>
<version>3.6-SNAPSHOT</version>
</plugin>
</plugins>
</reporting>


Felix Knecht made changes - 11/Mar/09 08:24 AM
Field Original Value New Value
Attachment report.diff [ 12401907 ]
Felix Knecht added a comment - 11/Mar/09 08:26 AM
To have report generation working you'll need to have also applied the path from the sub task https://issues.apache.org/jira/browse/XBEAN-124 at the xben-spring module.

Hope it's what wanted and usable.

Regards
Felix



Felix Knecht made changes - 11/Mar/09 06:30 PM
Attachment report.diff [ 12401907 ]
Felix Knecht added a comment - 11/Mar/09 06:38 PM
Some improvements against my first diff
  • add some docu for site generation
  • use less hardcoded paths but the ones used/defined for maven in general (like src-/build directory)
  • make GeneratorPlugin configurable -> Exept some mandatory plugins (Xsd, XmlMeta) the plugins are now configurable by adding a comma seperated list to the configuration section of the maven-xbean-plugin configuration section in the pom. Custom GeneratorPlugins must implement the GeneratorPlugin interface and be avaliable in the classpath. For default configuration see also the generated site (cd maven-xbean-plugin, mvn site)

Felix Knecht made changes - 11/Mar/09 06:38 PM
Attachment report-1.diff [ 12401953 ]