Take the 2-minute tour ×

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


share|improve this question
I might be wrong but can't you just install it once and for all? –  mfirry Oct 23 '12 at 13:10
add comment

2 Answers

up vote 0 down vote accepted

This can only work if the jar is checked into your source repository. I advise against this as it leads to bloat (particularly with distributed SCM). If you insist, follow this answer http://stackoverflow.com/a/7623805/116509

I recommend installing a repository manager such as Nexus and installing any required libs there.

share|improve this answer
add comment

Best solution to install the artifact manuall once into a repository manager and afterwards use the artifact as usual dependency.

share|improve this answer
add comment

Your Answer


