是否可以從命令行執行Maven插件?我需要運行依賴插件:如何從命令行執行maven插件?
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${RPTBIN}/.tools/lib</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<excludeTransitive>true</excludeTransitive>
</configuration>
</execution>
</executions>
是否有任何方式來執行此插件就像插件在Maven構建期間執行?
就是答案不只是'MVN依賴:複製dependencies'? –
沒想到,我覺得,使用可能沒有配置maven來運行命令行。 –