[ http://jira.codehaus.org/browse/MPXDOC-23?page=comments#action_45106 ] 

Ignacio G. Mac Dowell commented on MPXDOC-23:
---------------------------------------------

You can do that putting in your project.properties file the following:

maven.xdoc.xml.copy=[COMMA SEPARATED ANT PATTERNS TO YOUR XML FILES]

the files matching your patterns will be copied with no transformation.

See: http://maven.apache.org/reference/plugins/xdoc/properties.html

If you are happy with the explanation, please close the bug.


> Provide a way to exclude some XML files from xdoc transformation
> ----------------------------------------------------------------
>
>          Key: MPXDOC-23
>          URL: http://jira.codehaus.org/browse/MPXDOC-23
>      Project: maven-xdoc-plugin
>         Type: Improvement
>     Reporter: Jeff French
>     Priority: Minor

>
>
> Sometimes we have XML files that are used as examples in the documentation, 
> but are not documents to be transformed themselves. It would help if we could 
> specify files in a property or file set to exclude from transformation. Those 
> files would just be copied over like non-XML files currently are.
> A workaround I found is to rename those XML files to *.xxml. Then they get 
> copied over without transformation. You just need to make sure that other 
> documents refer to the new name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to