[ http://jira.codehaus.org/browse/MSITE-98?page=comments#action_62766 ] 

Jesse McConnell commented on MSITE-98:
--------------------------------------

I looked through this issue and the corresponding doxia issue and poked around 
on it and have it so we don't need to change any interfaces, plus we have a 
more general way of excluding sources based on the parserId

    <plugins>
      <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <version>2.0-SNAPSHOT</version>
        <configuration>
          <moduleExcludes>
            <xdoc>**/*oo.xml</xdoc>
          </moduleExcludes>
        </configuration>
      </plugin>
    </plugins>

this will filter out any files that end in oo.xml from any of the xdoc modules, 
for example foo.xml is not processed using this example.

I'll post the patch here and comment and close the other doxia issue, we want 
to try and avoid interface changes like this when the functionality fits pretty 
well in the SiteRenderingContext

my 2 cents


> Allow files to be excluded from site generation
> -----------------------------------------------
>
>          Key: MSITE-98
>          URL: http://jira.codehaus.org/browse/MSITE-98
>      Project: Maven 2.x Site Plugin
>         Type: New Feature

>   Components: doxia integration
>     Reporter: Dennis Lundberg
>      Fix For: 2.0
>  Attachments: MSITE-98.patch
>
>


-- 
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

Reply via email to