特定のフェーズで maven-install-plugin を実行することは可能ですか?
インストール プラグインを実行して、依存関係をチェックする前にリポジトリで ojdbc14.jar を使用できるようにしたいと考えています。
以下の私の試みは、プロセスリソースフェーズを設定しようとすることですが、うまくいきません
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.1.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>install-file</goal>
</goals>
</execution>
</executions>
<configuration>
<file>${basedir}/resources/ojdbc14.jar</file>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.1.0</version>
<packaging>jar</packaging>
</configuration>
</plugin>
</plugins>
</build>