jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "JackrabbitOnJBoss" by corridor
Date Sun, 18 Mar 2007 22:07:30 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by corridor:

The comment on the change is:
Less painful route to removing the jcr dependency from the rar.

   * Checkout a tagged jca-connector release with subversion. For example, from http://svn.apache.org/repos/asf/jackrabbit/tags/1.2.3/jackrabbit-jca/.
   * If you have not done so already, download the jcr library from sun at http://jcp.org/aboutJava/communityprocess/final/jsr170/index.html.

     Install the jar in your maven repository (type maven rar:rar and follow the instructions
in the error message).
+  * Edit the pom.xml and add the a dependency for javax.jcr, jcr, version 1.0 with a scope
of provided. 
+    This will prevent maven from including it in the rar, but will still download it.
-  * Build the rar file. type "maven rar:rar"
+  * Build the rar file. type "mvn install"
-  * Remove jcr-1.0.jar from the generated rar and move it to the jboss lib folder
+  * Copy jcr-1.0.jar from your maven 2 repository (~/.m2/repositor) to the jboss lib folder
     Remember that you must not include the jcr jar in any local client application
     at the risk of getting ClassCastExceptions when trying to access the repository 

View raw message