Maybe I can open an issue in JIRA ? It looks like a bug !

JC Walmetz wrote:
> 
> Hi,
> 
> I've tried several configuration 
> <artifactId>maven-site-plugin</artifactId>
>    <configuration>
>     
> <moduleExcludes><moduleExclude>transferobject.sdo.test</moduleExclude></moduleExcludes>
>   </configuration>
> This one is ignored, module is still in the test
> <artifactId>maven-site-plugin</artifactId>
>    <configuration>
>      <moduleExcludes>transferobject.sdo.test</moduleExcludes>
>   </configuration>
> This one return an error, moduleExcludes is waiting for a Map.
> 
> Page
> http://maven.apache.org/plugins/maven-site-plugin/examples/moduleexcludes.html
> looks to be wrong.
> 
> Going through plugin source code, it looks like the list of module to
> exclude is send to doxia. I have not been able to find in doxia where
> excluded modules are used ...
> 
> Suggetions are welcome 
> 
> 
> 
> 
> dawn.angelito wrote:
>> 
>> Hi JC,
>> 
>> Have you tried using <moduleExcludes> instead? You may refer to:
>> http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#moduleExcludes.
>> 
>> Hope this helps.
>> 
>> Dawn
>> 
>> 
>> JC Walmetz wrote:
>>> 
>>> I have a pom with several modules. I'd like to exclude some of the
>>> modules from the site.
>>> 
>>> I have tried  the excludeModules optin as mentionned in the doc. It
>>> seems not to works. Modules are still in the generated site.
>>> <build>
>>>     <plugins>
>>>       <plugin>
>>>         <groupId>org.apache.maven.plugins</groupId>
>>>         <artifactId>maven-site-plugin</artifactId>
>>>         <configuration>
>>>           <excludeModules>fml</excludeModules>
>>>         </configuration>
>>>       </plugin>
>>>     </plugins>
>>>   </build>
>>> 
>>> What's wrong in my declaration ? Is it a bug ?
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Exclude-modules-from-site-tf2610656s177.html#a7486791
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to