Develop with pleasure!

福岡でCloudとかBlockchainとか。

exec-maven-plugin

Mavenで任意の実行可能ファイルを実行できるプラグイン。
http://mojo.codehaus.org/exec-maven-plugin/
pom.xmlタグに

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>exec-maven-plugin</artifactId>
  <configuration>
    <executable>実行可能なファイル</executable>
  </configuration>
  <executions>
    <execution>
      <phase>install</phase>
      <goals>
        <goal>exec</goal>
      </goals>
    </execution>
  </executions>
</plugin>

とか定義しておけば良い。この例では、installフェーズに実行される。どうしてもデフォルトのMavenのゴールだけで解決できない場合は便利。