Maven: ant-run plugin echo does not seem to execute -
i have maven project using ant-run plugin. added echo message not seem execute:
<build> <plugins> <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-antrun-plugin</artifactid> <executions> <execution> <id>ast-application-deployment-kit</id> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <echo message="starting ant-run target configuration."/>
but when mvn clean package
, see this
[info] --- maven-antrun-plugin:1.3:run (my-app) @ my-app --- [info] executing tasks [info] executed tasks
but not see echo. doing wrong?
consider upgrading plugin version latest (1.8):
this pom snippet prints echo:
<plugin> <artifactid>maven-antrun-plugin</artifactid> <version>1.8</version> <executions> <execution> <phase>package</phase> <configuration> <target> <echo>now can see me!</echo> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin>
Comments
Post a Comment