Try something like
<plugin>
<artifactId>maven-antrun-plugin </artifactId>
<executions>
<execution>
<phase>install </phase>
<configuration>
<tasks name="Run Notepad">
<exec
dir="${basedir}"
executable="${basedir}/notepad.exe"
failonerror="true">
<arg line=""/>
</exec>
</tasks>
</configuration>
<goals>
<goal>run </goal>
</goals>
</execution>
</executions>
</plugin>