OK, I grok the use of antrun as illustrated below. Is there anything
more general than antrun, for example execute some arbitrary commands or
script without having to write a plug-n? I'm thinking of a JavaScipt,
Groovy or Scala plugin - or am I just dreaming? If not, it might be fun
to write such a plugin for Maven, but for the moment I need a more
expedient solution.
Cheers, Eric
|<project>
[...]
<build>
<plugins>
[...]
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>deploy</phase>
<configuration>
<tasks>
<!--
Place any Ant task here. You can add anything
you can add between<target> and</target> in a
build.xml.
-->
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
[...]
</project>
|
On 2011-08-26 9:27 AM, Brian Topping wrote:
On Aug 26, 2011, at 12:13 PM, Hilco Wijbenga wrote:
On 26 August 2011 07:02, Brian Topping<topp...@codehaus.org> wrote:
A lot of people use antrun, see
http://www.nyc.gov/html/oem/downloads/pdf/hurricane_map_english.pdf. I
personally do that as a last resort.
What does a hurricane map have to do with Ant? :-)
LOL! That was a map I was posting elsewhere about where not to buy an
apartment in NYC. I meant to post
http://stackoverflow.com/questions/586202/best-practices-for-copying-files-with-maven,
which has a reply from Tim O'Brien regarding antrun.
Anyway, off to write a plugin. Too much fascinating information in the news
today, gotta get some work done.
Cheers, Brian
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org