From: "Pete Kazmier" <[EMAIL PROTECTED]> > James> By default the goal 'html2xdoc' will take all HTMl documents in > James> the xdocs directory and turn them into xdoc files in the > James> target/generated-xdocs directory. > > How do you feel if we make the default src/html instead of the xdocs > directory? Or perhaps disable this processing by default?
This goal is not included in the xdoc goal or executed by default - so its completely optional. Its up to users who want to use this plugin to explicitly enable it. (Rather like Clover reports etc) > I only > suggest this due to the previous behavior Maven exhibited. HTML files > located in the xdocs directory were copied over unaltered to the docs > directory enabling users to put unaltered content on their site. I > also recently expanded this such that any non-xdoc file is copied over > directly. This lets users included arbitrary types of files on their > sites, including straight html, pdfs, microcrap stuff, etc. The html2xdoc plugin can be customized to specify any source directory for the HTML. It defaults to xdocs as this makes it easy to share images in the HTML - though it'd be easy to use another directory if need be by setting a property. In many ways I see users as wanting either to copy HTML as-is to their site, or formatting the HTML to include the nav bar, header and such like. Either way, putting the HTML in the xdocs directory with a child images directory seems the best approach. So its just up to the user to decide, do they leave the default behaviour (copy files as is) or enable the html2xdoc plugin which will format the HTML as if it were an xdoc file. James ------- http://radio.weblogs.com/0112098/ __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
