While we wait on the RIFE developers to submit the request to the Maven people to have the RIFE jars in the Maven repositories (hint, hint), I have decided to take a few minutes to tell you how I have been able to use RIFE as part of Maven-built applications.
Instructions
Please use the following steps to add RIFE to your local Maven repository:
- Download RIFE
- Extract RIFE
- cd EXTRACTED/WEB-INF/lib
- Run "mvn install:install-file -DgroupId=com.uwyn -DartifactId=rife-jdk15 -Dversion=1.5.1 -Dpackaging=jar -Dfile=rife-1.5.1-jdk15.jar" without the quotes
That is it. I know it may appear to be more difficult than this but it is not. To allow for Maven to locate your RIFE jar as part of your build, this is all you need to do. Here is a snippet of how to use your newly available RIFE library in your Maven build:
In the event that you read this after 1.5.1 or you are installing another RIFE library, the artifactId and version may change. Although not a lengthy tip, I have found use in this now that I have began giving Maven a second chance.
Take care,
Jeremy Whitlock