I would like to run cmd with args from maven.verify
Is it possible to do it?
I'm using maven 3.5.3
.
I already tried this:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<exec executable="cmd.exe" spawn="true">
<arg value="curl"/>
<arg value="arg1"/>
<arg value="arg2"/>
<arg value="arg3"/>
</exec>
</target>
</configuration>
</execution>
</executions>
</plugin>
But Nothing happens.
What should I do if it's possible. Thanks in advance !