依存関係からリソース ファイルを取得し、クラスパスまたは別のディレクトリに配置したいと考えています。maven-dependency-plugin を試しましたが、適切に構成されていないようです。誰もそれを行う方法を知っていますか?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>get browsers.xml</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<includeGroupIds>ru.fad.autotests</includeGroupIds>
<includeArtifactIds>selenium-grid-browsers-local</includeArtifactIds>
<includes>browsers.xml</includes>
<outputDirectory>resources/</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
別の成果物に「browsers.xml」というファイルがあり、それを自分のディレクトリにコピーしたいと考えています。