You'd want the <configuration> as part of the <execution> if you are
tweaking things for each execution, which is the likely case


On 28 March 2013 11:35, <[email protected]> wrote:

> **
>  Revision 18103 <http://fisheye.codehaus.org/changelog/mojo/?cs=18103>
> Author baptiste Date 2013-03-28 06:35:36 -0500 (Thu, 28 Mar 2013) Log
> Message
>
> Fixing documentation error, thanks Stephen.
>
> Modified Paths
>
>    -
>    
> trunk/mojo/templating-maven-plugin/src/site/apt/examples/source-filtering.apt.vm<#13db0c81c0c2cdf8_trunkmojotemplatingmavenpluginsrcsiteaptexamplessourcefilteringaptvm>
>
>  Diff
> Modified:
> trunk/mojo/templating-maven-plugin/src/site/apt/examples/source-filtering.apt.vm
> (18102 => 18103)
>
> --- 
> trunk/mojo/templating-maven-plugin/src/site/apt/examples/source-filtering.apt.vm
>   2013-03-28 11:34:51 UTC (rev 18102)
> +++ 
> trunk/mojo/templating-maven-plugin/src/site/apt/examples/source-filtering.apt.vm
>   2013-03-28 11:35:36 UTC (rev 18103)@@ -50,18 +50,19 @@           
> <execution>             <goals>               <goal>filter-sources</goal>-
> -              <!--
> -                Note the two following parameters are the default one.
> -                These are specified here just as a reminder.
> -                But as the Maven philosophy is strongly about conventions,
> -                it's better to just not specify them.
> -              -->
> -              
> <sourceDirectory>${basedir}/src/main/java-templates</sourceDirectory>
> -              
> <targetDirectory>\${project.build.directory}/generated-sources/java-templates</targetDirectory>
>              </goals>           </execution>         </executions>+        
> <configuration>
> +          <!--
> +            Note the two following parameters are the default one.
> +            These are specified here just as a reminder.
> +            But as the Maven philosophy is strongly about conventions,
> +            it's better to just not specify them.
> +          -->
> +          
> <sourceDirectory>${basedir}/src/main/java-templates</sourceDirectory>
> +          
> <targetDirectory>${project.build.directory}/generated-sources/java-templates</targetDirectory>
> +        </configuration>       </plugin>     </plugins>   </build>
>
>   ------------------------------
>
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>

Reply via email to