You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ju...@apache.org on 2006/12/03 22:03:53 UTC

svn commit: r481893 - in /jackrabbit/trunk/jackrabbit-webapp: README.txt pom.xml

Author: jukka
Date: Sun Dec  3 13:03:52 2006
New Revision: 481893

URL: http://svn.apache.org/viewvc?view=rev&rev=481893
Log:
JCR-612, JCR-332: Upgraded jackrabbit-webapp to Maven 2

Added:
    jackrabbit/trunk/jackrabbit-webapp/pom.xml
      - copied, changed from r481863, jackrabbit/trunk/jackrabbit-webdav/pom.xml
Modified:
    jackrabbit/trunk/jackrabbit-webapp/README.txt

Modified: jackrabbit/trunk/jackrabbit-webapp/README.txt
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webapp/README.txt?view=diff&rev=481893&r1=481892&r2=481893
==============================================================================
--- jackrabbit/trunk/jackrabbit-webapp/README.txt (original)
+++ jackrabbit/trunk/jackrabbit-webapp/README.txt Sun Dec  3 13:03:52 2006
@@ -1,78 +1,39 @@
-README - Jackrabbit WebApp
-===============================================================================
-
-Description
--------------------------------------------------------------------------------
-
-The Jackrabbit WebApp provides servlets used to access a jackrabbit
-repository:
-
-- RepositoryAccessServlet.java
-- LoggingServlet.java
-- RepositoryStartupServlet.java
+=====================================
+Welcome to Jackrabbit Web Application
+=====================================
+
+This is the Web Application component of the Apache Jackrabbit project.
+This component provides servlets used to access a Jackrabbit repository:
+
+    * RepositoryAccessServlet.java
+    * LoggingServlet.java
+    * RepositoryStartupServlet.java
 
 In addition, the project contains 2 different WebDAV servlets:
 
-- SimpleWebdavServlet.java
-  Adds webdav support (DAV 1,2) to your jackrabbit repository.
+    * SimpleWebdavServlet.java
+      Adds webdav support (DAV 1,2) to your jackrabbit repository.
   
-- JCRWebdavServerServlet.java
-  A servlet used to remove JSR170 calls via webDAV. 
-  IMPORTANT: Please note, that this servlet is not intended to provide 
-  common webdav support to the repository. Instead the primary goal is to 
-  remote JSR170 calls.
-  For the corresponding client see -> contrib/spi (work in progress).
-
-
-Requirements
--------------------------------------------------------------------------------
-
-This project has a dependency to the following jackrabbit projects:
-
-- jackrabbit core          (used for repository access)
-- jackrabbit jcr-commons   (utilities)
-- jackrabbit jcr-rmi       (used for repository access)
-- jackrabbit webdav        (used for webdav servlets)
-- jackrabbit jcr-server    (used for webdav servlets)
-
-Make sure you have all those libraries installed before building
-this project. If this is not the case, go back to the root
-project and launch
-
-> cd jackrabbit
-> maven
-> cd modules/commons
-> maven jar:install
-
-Also go to the jcr-rmi project and launch
-
-> cd jcr-rmi
-> maven jar:install
-
-The webdav and the server project:
-
-> cd webdav
-> maven
-
-> cd jcr-server
-> maven
-
-which will build and copy Jackrabbit into ~/.maven/repository/org.apache.jackrabbit/jars
-
-Finally build this project:
-
-> cd webapp
-> maven
-
-
-
-Common Questions
--------------------------------------------------------------------------------
+    * JCRWebdavServerServlet.java
+      A servlet used to remove JSR170 calls via webDAV. 
+      IMPORTANT: Please note, that this servlet is not intended to provide 
+      common webdav support to the repository. Instead the primary goal is to 
+      remote JSR170 calls.
+      For the corresponding client see -> contrib/spi (work in progress).
+
+See the Apache Jackrabbit web site (http://jackrabbit.apache.org/)
+for documentation and other information. You are welcome to join the
+Jackrabbit mailing lists (http://jackrabbit.apache.org/mail-lists.html)
+to discuss this compoment and to use the Jackrabbit issue tracker
+(http://issues.apache.org/jira/browse/JCR) to report issues or request
+new features.
 
+Apache Jackrabbit is a project of the Apache Software Foundation
+(http://www.apache.org).
 
 
 License (see also LICENSE.txt)
--------------------------------------------------------------------------------
+==============================
 
 Collective work: Copyright 2006 The Apache Software Foundation.
 
@@ -91,3 +52,35 @@
 See the License for the specific language governing permissions and
 limitations under the License.
 
+
+Getting Started
+===============
+
+This compoment uses a Maven 2 (http://maven.apache.org/) build
+environment. If you have Maven 2 installed, you can compile and
+package the jacrabbit-webapp war using the following command:
+
+    mvn package
+
+See the Maven 2 documentation for other build features.
+
+This compoment depends on the following other Jackrabbit components:
+
+    * jackrabbit-core          (used for repository access)
+    * jackrabbit-jcr-commons   (utilities)
+    * jackrabbit-jcr-rmi       (used for remote access)
+    * jackrabbit-webdav        (used for webdav servlets)
+    * jackrabbit-jcr-server    (used for webdav servlets)
+
+If you are using the latest Jackrabbit source code, you need to first
+build these components and install them in your local Maven 2 repository
+before building this component.
+
+The latest source code for this compoment is available in the
+Subversion (http://subversion.tigris.org/) source repository of
+the Apache Software Foundation. If you have Subversion installed,
+you can checkout the latest source using the following command:
+
+    svn checkout http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-webapp
+
+See the Subversion documentation for other source control features.

Copied: jackrabbit/trunk/jackrabbit-webapp/pom.xml (from r481863, jackrabbit/trunk/jackrabbit-webdav/pom.xml)
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webapp/pom.xml?view=diff&rev=481893&p1=jackrabbit/trunk/jackrabbit-webdav/pom.xml&r1=481863&p2=jackrabbit/trunk/jackrabbit-webapp/pom.xml&r2=481893
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-webapp/pom.xml Sun Dec  3 13:03:52 2006
@@ -32,18 +32,19 @@
     <version>1.2-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
-  <artifactId>jackrabbit-webdav</artifactId>
-  <name>Jackrabbit WebDAV Library</name>
-  <description>WebDAV library used by the Jackrabbit WebDAV support</description>
+  <artifactId>jackrabbit-webapp</artifactId>
+  <packaging>war</packaging>
+  <name>Jackrabbit Web Application</name>
+  <description>Web application that hosts and serves a Jackrabbit content repository</description>
 
   <scm>
     <connection>
-      scm:svn:http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-webdav
+      scm:svn:http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-webapp
     </connection>
     <developerConnection>
-      scm:svn:https://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-webdav
+      scm:svn:https://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-webapp
     </developerConnection>
-    <url>http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav</url>
+    <url>http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webapp</url>
   </scm>
 
   <build>
@@ -73,43 +74,24 @@
   <dependencies>
     <dependency>
       <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-commons</artifactId>
+      <artifactId>jackrabbit-core</artifactId>
       <version>${pom.version}</version>
     </dependency>
     <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-log4j12</artifactId>
-      <version>1.0</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-collections</groupId>
-      <artifactId>commons-collections</artifactId>
-      <version>3.1</version>
-    </dependency>
-    <dependency>
-      <groupId>xerces</groupId>
-      <artifactId>xercesImpl</artifactId>
-      <version>2.6.2</version>
+      <groupId>org.apache.jackrabbit</groupId>
+      <artifactId>jackrabbit-jcr-server</artifactId>
+      <version>${pom.version}</version>
     </dependency>
     <dependency>
-      <groupId>xerces</groupId>
-      <artifactId>xmlParserAPIs</artifactId>
-      <version>2.0.2</version>
+      <groupId>org.apache.jackrabbit</groupId>
+      <artifactId>jackrabbit-jcr-rmi</artifactId>
+      <version>${pom.version}</version>
     </dependency>
     <dependency>
       <groupId>javax.servlet</groupId>
       <artifactId>servlet-api</artifactId>
       <version>2.3</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-httpclient</groupId>
-      <artifactId>commons-httpclient</artifactId>
-      <version>3.0</version>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
+      <scope>provided</scope>
     </dependency>
   </dependencies>