[ 
https://jira.codehaus.org/browse/MSITE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MSITE-679.
--------------------------------

    Resolution: Not A Bug
      Assignee: Robert Scholte

Just as Olivier said: executions aren't managed here.
Within the reportPlugins-tags the same tags can be used as described by the 
[reporting|http://maven.apache.org/ref/3.0.5/maven-model/maven.html#class_reporting]-plugins.
But I noticed that the plugin-link refers to the wrong plugin-section. It 
should refer to the plugin-section right below the reporting-section instead of 
the build-plugin.
                
> <executions> tag within <reportPlugins> in maven-site-plugin causes NPE
> -----------------------------------------------------------------------
>
>                 Key: MSITE-679
>                 URL: https://jira.codehaus.org/browse/MSITE-679
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: Maven 3
>    Affects Versions: 3.0-beta-3
>         Environment: JDK 1.6 mvn 3.0.2
>            Reporter: Martin Gainty
>            Assignee: Robert Scholte
>
> <executions> tag in <reportPlugins> causes NPE
> {code:xml}
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-site-plugin</artifactId>
>  <version>3.0-beta-3</version>
>  <configuration>
>   <reportPlugins>
>     <plugin>
>      <groupId>org.apache.maven.plugins</groupId>
>      <artifactId>maven-surefire-plugin</artifactId>
>      <version>2.9</version>
>      <executions>...anything within the executions tag causes either 
> ComponentNotFoundException and or NPEs...<executions>
>    </plugin>
>   </reportPlugins>
>  <configuration>
> </plugin>
> {code}
> works (when reportPlugins plugin does not contain <executions> iteration tag)
> {code:xml}
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-site-plugin</artifactId>
>  <version>3.0-beta-3</version>
>  <configuration>
>   <reportPlugins>
>    <plugin>
>     <groupId>org.apache.maven.plugins</groupId>
>     <artifactId>maven-surefire-report-plugin</artifactId>
>     <version>2.12.4</version>
>     <configuration>
>      <forkMode>never</forkMode>
>      
> <testSourceDirectory>C:maven-plugin/maven-android-plugin/trunk/src/test</testSourceDirectory>
>      
> <classesDirectory>C:/maven-plugin/maven-android-plugin/trunk/target/test-classes</classesDirectory>
>      <argLine>-Xmx3192m -XX:MaxPermSize=3192m</argLine>
>      <includes>
>       <include>**/*Test.java</include>
>      </includes>
>     </configuration>
>    </plugin>
>   </reportPlugins>
>  </configuration>
> </plugin>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to