【Maven插件】exec-maven-plugin


<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<executions>
<execution>
<!-- <id>uncompress</id> -->
<phase>docker:build</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>/usr/bin/echo</executable>
<arguments>
<argument>${imageName}</argument>
<argument>></argument>
<argument>>scripts/image.info</argument>
</arguments>
<!-- <commandlineArgs></commandlineArgs> -->
</configuration>
</execution>
</executions>
</plugin>

posted @ 2019-06-26 13:40  junneyang  阅读(3539)  评论(0编辑  收藏  举报