I suggest looking at the Checkstyle plugin and similar for examples of how to do this. They tend to offer the option of: - built in (the example you gave) - download from an URL (for a single file) - locate from the repository (better since it makes it easy to relocate/manage)
Cheers, Brett 2008/10/8 陈思淼 <[EMAIL PROTECTED]>: > I have write a plugin which read from a config some mapping information and > do some thing.Of cause I can put the config file into src/resources, but I > will and more and more mapping information into the config file. I dont want > to deploy the plugin artifact after I modify the config file. Can I put the > config file in some independent location where my own plugin can access but > not contain in the src/resources, Is there any mechanism support this kind > of needs? do I need to write a new packaging type called config-file, and > deploy it to the repository? > -- Brett Porter Blog: http://blogs.exist.com/bporter/
