maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neeraj Bisht" <neeraj.bi...@daffodildb.com>
Subject Re: ANT in maven 2.X
Date Thu, 05 Oct 2006 14:28:19 GMT
hi Marco
                Thanks for your replay now i am able to run the ant task in
maven 2.0.4

Regards
Neeraj

On 10/5/06, Marco Mistroni <mmistroni@gmail.com> wrote:
>
> Hello,
> try this
>
>
> <plugin>
>        <artifactId>maven-antrun-plugin</artifactId>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>                 <configuration>
>                   <tasks>
>                     <echo message="--------Properties Configured
> ----------"/>
>
>                   </tasks>
>                 </configuration>
>                 <goals>
>                   <goal>run</goal>
>                 </goals>
>               </execution>
>             </executions>
>         </plugin>
>
>
> this will run before anybuilds  (generate-sources phase). if you see the
> echo message, then your ant is running just fine
> it should be enough for you to run mvn generate:sources  or mnv compile or
> mvn test... you should be able tos ee echo string
>
> hth
> marco
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message