jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r770176 - in /jackrabbit/trunk: README.txt jcr-2.0-pfd.xml
Date Thu, 30 Apr 2009 11:55:06 GMT
Author: jukka
Date: Thu Apr 30 11:55:06 2009
New Revision: 770176

URL: http://svn.apache.org/viewvc?rev=770176&view=rev
Log:
JCR-1104: JSR 283 support

Update build instructions and include jcr-2.0-pfd POM in preparation for the JSR 283 upgrade.

Added:
    jackrabbit/trunk/jcr-2.0-pfd.xml   (with props)
Modified:
    jackrabbit/trunk/README.txt

Modified: jackrabbit/trunk/README.txt
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/README.txt?rev=770176&r1=770175&r2=770176&view=diff
==============================================================================
--- jackrabbit/trunk/README.txt (original)
+++ jackrabbit/trunk/README.txt Thu Apr 30 11:55:06 2009
@@ -12,10 +12,33 @@
 
 Version 1.0 of the JCR API was specified by the Java Specification
 Request 170 (JSR 170, http://jcp.org/en/jsr/detail?id=170) and work
-on the JCR version 2.0 has begun in JSR 283.
+on the JCR version 2.0 is ongoing in JSR 283.
 
 Apache Jackrabbit is a project of the Apache Software Foundation.
 
+Building Jackrabbit
+===================
+
+Jackrabbit currently depends on the Proposed Final Draft (PFD) version of
+the JCR 2.0 API jar file from JSR 283. To build Jackrabbit, you need to
+download the PFD from http://jcp.org/en/jsr/detail?id=283 and install the
+contained jcr-2.0.jar file to your local Maven repository.
+
+Use the following command to install the required JCR API jar with metadata
+included in the jcr-2.0-pfd.xml file in this directory:
+
+    mvn install:install-file \
+        -Dfile=/path/to/lib/jcr-2.0.jar -DpomFile=jcr-2.0-pfd.xml    
+
+Once you've installed the JCR 2.0 (PFD) API jar, you can build Jackrabbit
+with the following command:
+
+    mvn clean install
+
+You need Maven 2.0.9 (or higher) with Java 5 (or higher) for the build.
+For more instructions, please see the documentation at:
+
+   http://jackrabbit.apache.org/building-jackrabbit.html
 
 License (see also LICENSE.txt)
 ==============================
@@ -65,23 +88,6 @@
 
    svn checkout https://svn.apache.org/repos/asf/jackrabbit/trunk jackrabbit
 
-Once you have a copy of the source code tree, you can use Apache Maven
-
-   http://maven.apache.org/
-
-to build the project. You should use Maven 2 to build Jackrabbit.
-The minimal command to build, test, and package all the main Jackrabbit
-components is:
-
-   mvn install
-
-Note that the OCM components require Java 5, and will not be included
-in the build if you use Java 1.4.
-
-For more instructions, please see the documentation at:
-
-   http://jackrabbit.apache.org/building-jackrabbit.html
-
 Credits
 =======
 

Added: jackrabbit/trunk/jcr-2.0-pfd.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jcr-2.0-pfd.xml?rev=770176&view=auto
==============================================================================
--- jackrabbit/trunk/jcr-2.0-pfd.xml (added)
+++ jackrabbit/trunk/jcr-2.0-pfd.xml Thu Apr 30 11:55:06 2009
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+                             http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>javax.jcr</groupId>
+  <artifactId>jcr</artifactId>
+  <version>2.0-pfd</version>
+
+  <name>Content Repository for Java (JCR) API</name>
+  <description>
+    The Content Repository API for Java Version 2.0 is specified by JSR-283.
+    This module contains the complete API as specified.
+  </description>
+
+</project>

Propchange: jackrabbit/trunk/jcr-2.0-pfd.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message