Is it possible to run the maven-install-plugin in a specific phase.
I want to run the install plugin so that the ojdbc14.jar is available in my repo before it tries to check for dependencies.
My attempt below is to try set the process-resources phase but that doesn't work
<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>