maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nagesh, Srinivas \(IS Consultant\)" <SNag...@consultantemail.com>
Subject Call Ant Tasks from Maven2
Date Tue, 03 Apr 2007 14:40:03 GMT
Hey,

I am using Maven2 to call an ant task but somehow I don't see the task
doing its job here. I am a newbie to these build tools.

<artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>install</phase>
            <configuration>
              <tasks>
                 <echo>Hello World</echo>
             </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

I don't see "Hello World" being printed on the console when I run "mvn
-e antrun:run". Secondly this plug-in doesn't get executed as part of
the default goal "install" that I have specified in the POM.

Any thoughts?

Thanks

Sri

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