Discussion:
Maven 2 Pom.xml For Repository Installation
Jeremy Whitlock
2006-10-05 07:30:13 UTC
Permalink
Hi All,
Attached are the pom.xml files to be able to request RIFE be
installed/uploaded to a Maven 2 repository. The installation instructions
are here:

http://maven.apache.org/guides/mini/guide-ibiblio-upload.html

Basically, the attached pom.xml files are step 1 of the listed steps in the
url above. The next step is for a RIFE developer to request the upload as
defined in the url above under Step 2. I tested these locally and it does
work properly so it should just be a matter of making the request. For you
to test this, do the following:

1) Download the jdk-specific RIFE jar
2) Change the pom-<JDK_VERSION>.xml to pom.xml
3) Place the pom.xml file into the same directory as the RIFE jar
4) Run "mvn install"

This should install RIFE into your local Maven repository and you should be
able to use the following in your app's pom.xml to use it:

<dependency>
<groupId>com.uwyn</groupId>
<artifactId>rife-base-<JDK_VERSION</artifactId>
<version>1.5.1</version>
</dependency>

Obviously, replace <JDK_VERSION> with either jdk14 or jdk15. Run "mvn
package" and the RIFE jar should be put somewhere into your local target
directory for Maven.

The above instructions are for using the attached pom.xml files for local
installation and testing. I am hoping that Geert or one of the developers
will request that RIFE be uploaded to ibiblio so that we can use RIFE via
Maven.

Take care,

Jeremy

P.S. - If I can help with any of this, please let me know.

Loading...