Just by specifying the configuration outside of an execution:

  <build>
    <plugins>

      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <configuration>
           <tasks>

                <!--
                  Place any ant task here. You can add anything
                  you can add between <target> and </target> in a
                  build.xml.
                -->

           </tasks>
        </configuration>
      </plugin>
    </plugins>
  </build>

-Stephen

On 3/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> We need to execute some ANT tasks (e.g. for
> redeploying a server configuration) which we only need
> to execute every so often, but which are not part of
> the regular build lifecycle. Hence we need to
> configure the plugin, but cannot bind it to any of the
> lifecycle phases of Maven 2.
>
> How can we do that?
>
> Thanks,
> Chris
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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

Reply via email to