我使用的貨物Maven插件,我試圖使用該插件的令牌替換功能。不知何故,它不適合我。我想我不知道如何表示令牌,以便貨物可以用值來替換它。這裏是我的插件配置是貨物Maven插件令牌替換
<configfiles>
<configfile>
<file>src/main/resources/test.properties</file>
</configfile>
</configfiles>
<properties>
<dchome>/users/target</dchome>
</properties>
我test.properties的內容如下:
project.home = $dchome
這將是巨大的,如果任何人能告訴我如何使用令牌替換貨物插件的例子。
謝謝
我覺得這是更新的鏈接:http://cargo.996258.n3.nabble.com/Cargo-Token-Replacement-tp2065.html – seanf 2016-11-03 11:10:41