Java以外のファイルを実行し、引数として別のファイルを渡すために、exec-maven-pluginを使用しています。${basedir}ディレクトリの上にあるフルパスを使用できる必要があります。フルパスを使用せずにそのようなディレクトリにアクセスするにはどうすればよいですか?
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<executable>[Path to my .exe file]</executable
<argument>${basedir}\..\..\somedir\anotherdir</argument>
<arguments>
以下のコードを使用しても機能せず、次のcmd引数を出力します-
"c:\dir1\dir2\dir3\mybasedir..\..\somedir\anotherdir"
これはもちろん、コマンドライン引数としては無意味です。何か案は?