Remove Jackrabbit fragment.
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 7 Jul 2020 06:37:23 +0000 (08:37 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 7 Jul 2020 06:37:23 +0000 (08:37 +0200)
org.argeo.ext.jackrabbit/.classpath [deleted file]
org.argeo.ext.jackrabbit/.gitignore [deleted file]
org.argeo.ext.jackrabbit/.project [deleted file]
org.argeo.ext.jackrabbit/META-INF/.gitignore [deleted file]
org.argeo.ext.jackrabbit/bnd.bnd [deleted file]
org.argeo.ext.jackrabbit/build.properties [deleted file]
org.argeo.ext.jackrabbit/ext/test/log4j.properties [deleted file]
org.argeo.ext.jackrabbit/ext/test/org/argeo/security/jackrabbit/JackrabbitAuthTest.java [deleted file]
org.argeo.ext.jackrabbit/ext/test/org/argeo/security/jackrabbit/repository-memory-test.xml [deleted file]
org.argeo.ext.jackrabbit/pom.xml [deleted file]

diff --git a/org.argeo.ext.jackrabbit/.classpath b/org.argeo.ext.jackrabbit/.classpath
deleted file mode 100644 (file)
index a8a298a..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-       <classpathentry kind="src" path="src"/>
-       <classpathentry kind="src" path="ext/test"/>
-       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
-       <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/org.argeo.ext.jackrabbit/.gitignore b/org.argeo.ext.jackrabbit/.gitignore
deleted file mode 100644 (file)
index 09e3bc9..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/bin/
-/target/
diff --git a/org.argeo.ext.jackrabbit/.project b/org.argeo.ext.jackrabbit/.project
deleted file mode 100644 (file)
index fde35cc..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>org.argeo.ext.jackrabbit</name>
-       <comment></comment>
-       <projects>
-       </projects>
-       <buildSpec>
-               <buildCommand>
-                       <name>org.eclipse.jdt.core.javabuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.ManifestBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.SchemaBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-       </buildSpec>
-       <natures>
-               <nature>org.eclipse.pde.PluginNature</nature>
-               <nature>org.eclipse.jdt.core.javanature</nature>
-       </natures>
-</projectDescription>
diff --git a/org.argeo.ext.jackrabbit/META-INF/.gitignore b/org.argeo.ext.jackrabbit/META-INF/.gitignore
deleted file mode 100644 (file)
index 4854a41..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/MANIFEST.MF
diff --git a/org.argeo.ext.jackrabbit/bnd.bnd b/org.argeo.ext.jackrabbit/bnd.bnd
deleted file mode 100644 (file)
index 7893b81..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Fragment-Host: org.apache.jackrabbit.core
-Import-Package: org.argeo.api,\
-*
diff --git a/org.argeo.ext.jackrabbit/build.properties b/org.argeo.ext.jackrabbit/build.properties
deleted file mode 100644 (file)
index 8cc3392..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-source.. = src/,\
-           ext/test/
-
-additional.bundles = org.junit,\
-                     org.apache.jackrabbit.core,\
-                     javax.jcr,\
-                     org.apache.jackrabbit.api,\
-                     org.apache.jackrabbit.data,\
-                     org.apache.jackrabbit.jcr.commons,\
-                     org.apache.jackrabbit.spi,\
-                     org.apache.jackrabbit.spi.commons,\
-                     org.slf4j.api,\
-                     org.slf4j.commons.logging,\
-                     org.slf4j.log4j12,\
-                     org.apache.log4j,\
-                     org.apache.commons.collections,\
-                     EDU.oswego.cs.dl.util.concurrent,\
-                     org.apache.lucene,\
-                     org.apache.tika.core,\
-                     org.apache.commons.dbcp,\
-                     org.apache.commons.pool,\
-                     org.argeo.jcr
-
diff --git a/org.argeo.ext.jackrabbit/ext/test/log4j.properties b/org.argeo.ext.jackrabbit/ext/test/log4j.properties
deleted file mode 100644 (file)
index b4edd7c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-log4j.rootLogger=WARN, console
-
-## Levels
-log4j.logger.org.argeo=DEBUG
-log4j.logger.org.apache.jackrabbit=OFF
-log4j.logger.org.apache.jackrabbit.core.security=DEBUG
-log4j.logger.org.apache.jackrabbit.core.DefaultSecurityManager=DEBUG
-
-## Appenders
-# console is set to be a ConsoleAppender.
-log4j.appender.console=org.apache.log4j.ConsoleAppender
-
-# console uses PatternLayout.
-log4j.appender.console.layout=org.apache.log4j.PatternLayout
-#log4j.appender.console.layout.ConversionPattern= %-5p %d{ISO8601} %m - %c%n
-#log4j.appender.console.layout.ConversionPattern=%m%n
-log4j.appender.console.layout.ConversionPattern=%d{ABSOLUTE} %m (%F:%L) [%t] %p %n
diff --git a/org.argeo.ext.jackrabbit/ext/test/org/argeo/security/jackrabbit/JackrabbitAuthTest.java b/org.argeo.ext.jackrabbit/ext/test/org/argeo/security/jackrabbit/JackrabbitAuthTest.java
deleted file mode 100644 (file)
index cc56bd0..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-package org.argeo.security.jackrabbit;
-
-import javax.jcr.Repository;
-import javax.jcr.Session;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.argeo.jackrabbit.unit.AbstractJackrabbitTestCase;
-
-public class JackrabbitAuthTest extends AbstractJackrabbitTestCase {
-       private final Log log = LogFactory.getLog(JackrabbitAuthTest.class);
-
-       public void testLogin() throws Exception {
-               // FIXME properly log in
-               if(true)
-                       return;
-               Session session = session();
-               log.debug(session.getUserID());
-               assertEquals("admin", session.getUserID());
-               // Subject subject = new Subject();
-               // LoginContext loginContext = new LoginContext("SYSTEM", subject);
-               // loginContext.login();
-               // Subject.doAs(subject, new PrivilegedExceptionAction<Void>() {
-               //
-               // @Override
-               // public Void run() throws Exception {
-               // Repository repository = getRepository();
-               // Session session = repository.login();
-               // log.debug(session.getUserID());
-               // return null;
-               // }
-               // });
-       }
-
-       @Override
-       protected String getLoginContext() {
-               return LOGIN_CONTEXT_TEST_SYSTEM;
-       }
-
-       @Override
-       protected Repository createRepository() throws Exception {
-               return super.createRepository();
-       }
-
-       @Override
-       protected void clearRepository(Repository repository) throws Exception {
-               // System.setProperty("java.security.auth.login.config", "");
-       }
-
-       @Override
-       protected String getRepositoryConfigResource() {
-               return "/org/argeo/security/jackrabbit/repository-memory-test.xml";
-       }
-
-}
diff --git a/org.argeo.ext.jackrabbit/ext/test/org/argeo/security/jackrabbit/repository-memory-test.xml b/org.argeo.ext.jackrabbit/ext/test/org/argeo/security/jackrabbit/repository-memory-test.xml
deleted file mode 100644 (file)
index e285555..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
-    Copyright (C) 2007-2012 Argeo GmbH
-
-    Licensed 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.
-
--->
-<!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 1.6//EN"
-                            "http://jackrabbit.apache.org/dtd/repository-2.0.dtd">
-<Repository>
-       <!-- File system and datastore -->
-       <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem" />
-
-       <!-- Workspace templates -->
-       <Workspaces rootPath="${rep.home}/workspaces"
-               defaultWorkspace="main" configRootPath="/workspaces" />
-       <Workspace name="${wsp.name}">
-               <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem" />
-               <PersistenceManager
-                       class="org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager">
-                       <param name="blobFSBlockSize" value="1" />
-               </PersistenceManager>
-               <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
-                       <param name="path" value="${rep.home}/repository/index" />
-                       <param name="directoryManagerClass"
-                               value="org.apache.jackrabbit.core.query.lucene.directory.RAMDirectoryManager" />
-                       <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem" />
-               </SearchIndex>
-       </Workspace>
-
-       <!-- Versioning -->
-       <Versioning rootPath="${rep.home}/version">
-               <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem" />
-               <PersistenceManager
-                       class="org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager">
-                       <param name="blobFSBlockSize" value="1" />
-               </PersistenceManager>
-       </Versioning>
-
-       <!-- Indexing -->
-       <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
-               <param name="path" value="${rep.home}/repository/index" />
-               <param name="directoryManagerClass"
-                       value="org.apache.jackrabbit.core.query.lucene.directory.RAMDirectoryManager" />
-               <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem" />
-       </SearchIndex>
-
-       <!-- Security -->
-       <Security appName="Jackrabbit">
-               <SecurityManager class="org.argeo.security.jackrabbit.ArgeoSecurityManager"
-                       workspaceName="security"/>
-               <AccessManager class="org.argeo.security.jackrabbit.ArgeoAccessManager"/>
-       </Security>
-</Repository>
\ No newline at end of file
diff --git a/org.argeo.ext.jackrabbit/pom.xml b/org.argeo.ext.jackrabbit/pom.xml
deleted file mode 100644 (file)
index e19e9f5..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<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.argeo.commons</groupId>
-               <artifactId>argeo-commons</artifactId>
-               <version>2.1.89-SNAPSHOT</version>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>org.argeo.ext.jackrabbit</artifactId>
-       <name>Extension Jackrabbit Core</name>
-       <dependencies>
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.api</artifactId>
-                       <version>2.1.89-SNAPSHOT</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.cms</artifactId>
-                       <version>2.1.89-SNAPSHOT</version>
-               </dependency>
-
-               <!-- TESTING -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.jcr</artifactId>
-                       <version>2.1.89-SNAPSHOT</version>
-                       <scope>test</scope>
-               </dependency>
-       </dependencies>
-</project>
\ No newline at end of file