You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2012/05/02 14:22:49 UTC

svn commit: r1333012 - in /sling/trunk/bundles/jcr/registration: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/sling/ src/main/java/org/apache/sling/jcr/ src/main/java/org/apache/sling/jcr/regist...

Author: fmeschbe
Date: Wed May  2 12:22:48 2012
New Revision: 1333012

URL: http://svn.apache.org/viewvc?rev=1333012&view=rev
Log:
SLING-2352 Skeleton of new project

Added:
    sling/trunk/bundles/jcr/registration/   (with props)
    sling/trunk/bundles/jcr/registration/README.txt
    sling/trunk/bundles/jcr/registration/pom.xml
    sling/trunk/bundles/jcr/registration/src/
    sling/trunk/bundles/jcr/registration/src/main/
    sling/trunk/bundles/jcr/registration/src/main/java/
    sling/trunk/bundles/jcr/registration/src/main/java/org/
    sling/trunk/bundles/jcr/registration/src/main/java/org/apache/
    sling/trunk/bundles/jcr/registration/src/main/java/org/apache/sling/
    sling/trunk/bundles/jcr/registration/src/main/java/org/apache/sling/jcr/
    sling/trunk/bundles/jcr/registration/src/main/java/org/apache/sling/jcr/registration/
    sling/trunk/bundles/jcr/registration/src/main/java/org/apache/sling/jcr/registration/impl/
    sling/trunk/bundles/jcr/registration/src/main/resources/

Propchange: sling/trunk/bundles/jcr/registration/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed May  2 12:22:48 2012
@@ -0,0 +1,2 @@
+.*
+target

Added: sling/trunk/bundles/jcr/registration/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/registration/README.txt?rev=1333012&view=auto
==============================================================================
--- sling/trunk/bundles/jcr/registration/README.txt (added)
+++ sling/trunk/bundles/jcr/registration/README.txt Wed May  2 12:22:48 2012
@@ -0,0 +1,28 @@
+Apache Sling JCR Repository Registration
+
+Bundle providing support to publish JCR repository services via RMI
+and/or JNDI
+
+Getting Started
+===============
+
+This component uses a Maven 2 (http://maven.apache.org/) build
+environment. It requires a Java 5 JDK (or higher) and Maven (http://maven.apache.org/)
+2.0.7 or later. We recommend to use the latest Maven version.
+
+If you have Maven 2 installed, you can compile and
+package the jar using the following command:
+
+    mvn package
+
+See the Maven 2 documentation for other build features.
+
+The latest source code for this component 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/sling/trunk/jcr/registration
+
+See the Subversion documentation for other source control features.
+

Added: sling/trunk/bundles/jcr/registration/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/registration/pom.xml?rev=1333012&view=auto
==============================================================================
--- sling/trunk/bundles/jcr/registration/pom.xml (added)
+++ sling/trunk/bundles/jcr/registration/pom.xml Wed May  2 12:22:48 2012
@@ -0,0 +1,106 @@
+<?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>
+    <parent>
+        <groupId>org.apache.sling</groupId>
+        <artifactId>sling</artifactId>
+        <version>12</version>
+        <relativePath>../../../parent/pom.xml</relativePath>
+    </parent>
+
+    <artifactId>org.apache.sling.jcr.registration</artifactId>
+    <packaging>bundle</packaging>
+    <version>0.0.1-SNAPSHOT</version>
+
+    <name>Apache Sling JCR Repository Registration</name>
+    <description>
+        Bundle providing support to publish JCR repository services via RMI and/or JNDI
+    </description>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/registration</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/registration</developerConnection>
+        <url>http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/registration</url>
+    </scm>
+
+    <build>
+        <plugins>
+            <!-- generate the SCR descriptors -->
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-scr-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-Category>
+                            sling,jcr
+                        </Bundle-Category>
+                        <Private-Package>
+                            org.apache.sling.jcr.registrar.impl.*
+                        </Private-Package>
+                        <Export-Package>
+                            org.apache.sling.jcr.registrar
+                        </Export-Package>
+                        <DynamicImport-Package>
+                            *
+                        </DynamicImport-Package>
+                        <Embed-Dependency>
+                            jackrabbit-core;inline:=org/apache/jackrabbit/core/jndi/provider/*.class
+                        </Embed-Dependency>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>javax.jcr</groupId>
+            <artifactId>jcr</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.scr.annotations</artifactId>
+        </dependency>
+        <!-- OSGi Libraries -->
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.compendium</artifactId>
+        </dependency>
+        
+        <!-- Dummy JNDI Initial Context -->
+        <dependency>
+            <groupId>org.apache.jackrabbit</groupId>
+            <artifactId>jackrabbit-core</artifactId>
+            <version>2.2.9</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+</project>