directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1797177 [1/3] - in /directory/shared/trunk/integ-osgi2: ./ .settings/ src/ src/main/ src/main/java/ src/main/resources/ src/test/ src/test/java/ src/test/java/org/ src/test/java/org/apache/ src/test/java/org/apache/directory/ src/test/java...
Date Thu, 01 Jun 2017 10:27:27 GMT
Author: elecharny
Date: Thu Jun  1 10:27:25 2017
New Revision: 1797177

URL: http://svn.apache.org/viewvc?rev=1797177&view=rev
Log:
Split the integ-osgi module in two

Added:
    directory/shared/trunk/integ-osgi2/   (with props)
    directory/shared/trunk/integ-osgi2/.classpath
    directory/shared/trunk/integ-osgi2/.project
    directory/shared/trunk/integ-osgi2/.settings/
    directory/shared/trunk/integ-osgi2/.settings/org.eclipse.core.resources.prefs
    directory/shared/trunk/integ-osgi2/.settings/org.eclipse.jdt.core.prefs
    directory/shared/trunk/integ-osgi2/.settings/org.eclipse.m2e.core.prefs
    directory/shared/trunk/integ-osgi2/pom.xml
    directory/shared/trunk/integ-osgi2/src/
    directory/shared/trunk/integ-osgi2/src/main/
    directory/shared/trunk/integ-osgi2/src/main/java/
    directory/shared/trunk/integ-osgi2/src/main/resources/
    directory/shared/trunk/integ-osgi2/src/test/
    directory/shared/trunk/integ-osgi2/src/test/java/
    directory/shared/trunk/integ-osgi2/src/test/java/org/
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiAsn1ApiOsgiTest.java
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiAsn1BerOsgiTest.java
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiDsmlEngineOsgiTest.java
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiDsmlParserOsgiTest.java
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiI18nOsgiTest.java
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapClientApiOsgiTest.java
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasAciOsgiTest.java
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasCodecApiOsgiTest.java
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasCodecOsgiTest.java
    directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiOsgiTestBase.java
    directory/shared/trunk/integ-osgi2/src/test/resources/
    directory/shared/trunk/integ-osgi2/src/test/resources/exam.properties
    directory/shared/trunk/integ-osgi2/src/test/resources/logback.xml
    directory/shared/trunk/integ-osgi2/target/
    directory/shared/trunk/integ-osgi2/target/.plxarc
    directory/shared/trunk/integ-osgi2/target/api-integ-osgi2-1.0.0-RC3-SNAPSHOT-sources.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/api-integ-osgi2-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/checkstyle-checker.xml
    directory/shared/trunk/integ-osgi2/target/checkstyle-result.xml
    directory/shared/trunk/integ-osgi2/target/classes/
    directory/shared/trunk/integ-osgi2/target/classes/META-INF/
    directory/shared/trunk/integ-osgi2/target/classes/META-INF/DEPENDENCIES
    directory/shared/trunk/integ-osgi2/target/classes/META-INF/LICENSE
    directory/shared/trunk/integ-osgi2/target/classes/META-INF/NOTICE
    directory/shared/trunk/integ-osgi2/target/dependency/
    directory/shared/trunk/integ-osgi2/target/dependency/api-asn1-api-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-asn1-ber-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-dsml-engine-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-dsml-parser-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-i18n-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-client-api-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-codec-core-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-extras-aci-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-extras-codec-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-extras-codec-api-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-extras-sp-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-extras-trigger-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-extras-util-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-model-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-net-mina-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-schema-converter-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-ldap-schema-data-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/api-util-1.0.0-RC3-SNAPSHOT.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/commons-codec-1.10.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/commons-collections-3.2.2.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/commons-lang-2.6.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/commons-pool-1.6.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/mina-core-2.0.16.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/org.apache.servicemix.bundles.antlr-2.7.7_5.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/org.apache.servicemix.bundles.dom4j-1.6.1_5.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/org.apache.servicemix.bundles.xpp3-1.1.4c_7.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/dependency/slf4j-api-1.7.25.jar   (with props)
    directory/shared/trunk/integ-osgi2/target/generated-test-sources/
    directory/shared/trunk/integ-osgi2/target/generated-test-sources/test-annotations/
    directory/shared/trunk/integ-osgi2/target/maven-archiver/
    directory/shared/trunk/integ-osgi2/target/maven-archiver/pom.properties
    directory/shared/trunk/integ-osgi2/target/maven-shared-archive-resources/
    directory/shared/trunk/integ-osgi2/target/maven-shared-archive-resources/META-INF/
    directory/shared/trunk/integ-osgi2/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
    directory/shared/trunk/integ-osgi2/target/maven-shared-archive-resources/META-INF/LICENSE
    directory/shared/trunk/integ-osgi2/target/maven-shared-archive-resources/META-INF/NOTICE
    directory/shared/trunk/integ-osgi2/target/maven-status/
    directory/shared/trunk/integ-osgi2/target/maven-status/maven-compiler-plugin/
    directory/shared/trunk/integ-osgi2/target/maven-status/maven-compiler-plugin/compile/
    directory/shared/trunk/integ-osgi2/target/maven-status/maven-compiler-plugin/compile/default-compile/
    directory/shared/trunk/integ-osgi2/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
    directory/shared/trunk/integ-osgi2/target/maven-status/maven-compiler-plugin/testCompile/
    directory/shared/trunk/integ-osgi2/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/
    directory/shared/trunk/integ-osgi2/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
    directory/shared/trunk/integ-osgi2/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
    directory/shared/trunk/integ-osgi2/target/surefire-reports/
    directory/shared/trunk/integ-osgi2/target/surefire-reports/TEST-org.apache.directory.api.osgi.ApiAsn1ApiOsgiTest.xml
    directory/shared/trunk/integ-osgi2/target/surefire-reports/TEST-org.apache.directory.api.osgi.ApiAsn1BerOsgiTest.xml
    directory/shared/trunk/integ-osgi2/target/surefire-reports/TEST-org.apache.directory.api.osgi.ApiDsmlEngineOsgiTest.xml
    directory/shared/trunk/integ-osgi2/target/surefire-reports/TEST-org.apache.directory.api.osgi.ApiDsmlParserOsgiTest.xml
    directory/shared/trunk/integ-osgi2/target/surefire-reports/TEST-org.apache.directory.api.osgi.ApiI18nOsgiTest.xml
    directory/shared/trunk/integ-osgi2/target/surefire-reports/TEST-org.apache.directory.api.osgi.ApiLdapClientApiOsgiTest.xml
    directory/shared/trunk/integ-osgi2/target/surefire-reports/TEST-org.apache.directory.api.osgi.ApiLdapCodecCoreOsgiTest.xml
    directory/shared/trunk/integ-osgi2/target/surefire-reports/TEST-org.apache.directory.api.osgi.ApiLdapExtrasAciOsgiTest.xml
    directory/shared/trunk/integ-osgi2/target/surefire-reports/TEST-org.apache.directory.api.osgi.ApiLdapExtrasCodecApiOsgiTest.xml
    directory/shared/trunk/integ-osgi2/target/surefire-reports/TEST-org.apache.directory.api.osgi.ApiLdapExtrasCodecOsgiTest.xml
    directory/shared/trunk/integ-osgi2/target/surefire-reports/org.apache.directory.api.osgi.ApiAsn1ApiOsgiTest.txt
    directory/shared/trunk/integ-osgi2/target/surefire-reports/org.apache.directory.api.osgi.ApiAsn1BerOsgiTest.txt
    directory/shared/trunk/integ-osgi2/target/surefire-reports/org.apache.directory.api.osgi.ApiDsmlEngineOsgiTest.txt
    directory/shared/trunk/integ-osgi2/target/surefire-reports/org.apache.directory.api.osgi.ApiDsmlParserOsgiTest.txt
    directory/shared/trunk/integ-osgi2/target/surefire-reports/org.apache.directory.api.osgi.ApiI18nOsgiTest.txt
    directory/shared/trunk/integ-osgi2/target/surefire-reports/org.apache.directory.api.osgi.ApiLdapClientApiOsgiTest.txt
    directory/shared/trunk/integ-osgi2/target/surefire-reports/org.apache.directory.api.osgi.ApiLdapCodecCoreOsgiTest.txt
    directory/shared/trunk/integ-osgi2/target/surefire-reports/org.apache.directory.api.osgi.ApiLdapExtrasAciOsgiTest.txt
    directory/shared/trunk/integ-osgi2/target/surefire-reports/org.apache.directory.api.osgi.ApiLdapExtrasCodecApiOsgiTest.txt
    directory/shared/trunk/integ-osgi2/target/surefire-reports/org.apache.directory.api.osgi.ApiLdapExtrasCodecOsgiTest.txt
    directory/shared/trunk/integ-osgi2/target/test-classes/
    directory/shared/trunk/integ-osgi2/target/test-classes/META-INF/
    directory/shared/trunk/integ-osgi2/target/test-classes/META-INF/DEPENDENCIES
    directory/shared/trunk/integ-osgi2/target/test-classes/META-INF/LICENSE
    directory/shared/trunk/integ-osgi2/target/test-classes/META-INF/NOTICE
    directory/shared/trunk/integ-osgi2/target/test-classes/exam.properties
    directory/shared/trunk/integ-osgi2/target/test-classes/logback.xml
    directory/shared/trunk/integ-osgi2/target/test-classes/org/
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/ApiAsn1ApiOsgiTest.class   (with props)
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/ApiAsn1BerOsgiTest.class   (with props)
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/ApiDsmlEngineOsgiTest.class   (with props)
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/ApiDsmlParserOsgiTest.class   (with props)
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/ApiI18nOsgiTest.class   (with props)
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/ApiLdapClientApiOsgiTest.class   (with props)
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.class   (with props)
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/ApiLdapExtrasAciOsgiTest.class   (with props)
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/ApiLdapExtrasCodecApiOsgiTest.class   (with props)
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/ApiLdapExtrasCodecOsgiTest.class   (with props)
    directory/shared/trunk/integ-osgi2/target/test-classes/org/apache/directory/api/osgi/ApiOsgiTestBase.class   (with props)

Propchange: directory/shared/trunk/integ-osgi2/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Jun  1 10:27:25 2017
@@ -0,0 +1,11 @@
+target
+bin
+.classpath
+.project
+.settings
+*.log
+*.iml
+*.ipr
+META-INF
+
+

Added: directory/shared/trunk/integ-osgi2/.classpath
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/.classpath?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/.classpath (added)
+++ directory/shared/trunk/integ-osgi2/.classpath Thu Jun  1 10:27:25 2017
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" output="target/classes" path="src/main/java">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

Added: directory/shared/trunk/integ-osgi2/.project
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/.project?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/.project (added)
+++ directory/shared/trunk/integ-osgi2/.project Thu Jun  1 10:27:25 2017
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>api-integ-osgi2</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.m2e.core.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
+	</natures>
+</projectDescription>

Added: directory/shared/trunk/integ-osgi2/.settings/org.eclipse.core.resources.prefs
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/.settings/org.eclipse.core.resources.prefs?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/.settings/org.eclipse.core.resources.prefs (added)
+++ directory/shared/trunk/integ-osgi2/.settings/org.eclipse.core.resources.prefs Thu Jun  1 10:27:25 2017
@@ -0,0 +1,6 @@
+eclipse.preferences.version=1
+encoding//src/main/java=ISO-8859-1
+encoding//src/main/resources=UTF-8
+encoding//src/test/java=ISO-8859-1
+encoding//src/test/resources=UTF-8
+encoding/<project>=UTF-8

Added: directory/shared/trunk/integ-osgi2/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/.settings/org.eclipse.jdt.core.prefs?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/.settings/org.eclipse.jdt.core.prefs (added)
+++ directory/shared/trunk/integ-osgi2/.settings/org.eclipse.jdt.core.prefs Thu Jun  1 10:27:25 2017
@@ -0,0 +1,5 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.7

Added: directory/shared/trunk/integ-osgi2/.settings/org.eclipse.m2e.core.prefs
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/.settings/org.eclipse.m2e.core.prefs?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/.settings/org.eclipse.m2e.core.prefs (added)
+++ directory/shared/trunk/integ-osgi2/.settings/org.eclipse.m2e.core.prefs Thu Jun  1 10:27:25 2017
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1

Added: directory/shared/trunk/integ-osgi2/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/pom.xml?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/pom.xml (added)
+++ directory/shared/trunk/integ-osgi2/pom.xml Thu Jun  1 10:27:25 2017
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.directory.api</groupId>
+        <artifactId>api-parent</artifactId>
+        <version>1.0.0-RC3-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>api-integ-osgi2</artifactId>
+    <name>Apache Directory API OSGi Integration Tests 2</name>
+
+    <dependencies>
+        <!-- Bundles under test -->
+        <dependency>
+            <groupId>org.apache.directory.api</groupId>
+            <artifactId>api-ldap-client-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.directory.api</groupId>
+            <artifactId>api-ldap-net-mina</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.directory.api</groupId>
+            <artifactId>api-ldap-schema-converter</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.directory.api</groupId>
+            <artifactId>api-ldap-extras-aci</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.directory.api</groupId>
+            <artifactId>api-ldap-extras-util</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.directory.api</groupId>
+            <artifactId>api-ldap-extras-sp</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.directory.api</groupId>
+            <artifactId>api-ldap-extras-trigger</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.directory.api</groupId>
+            <artifactId>api-dsml-engine</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>xml-apis</groupId>
+                    <artifactId>xml-apis</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <!-- Test and PAX dependencies -->
+        <dependency>
+            <groupId>org.apache.servicemix.bundles</groupId>
+            <artifactId>org.apache.servicemix.bundles.javax-inject</artifactId>
+            <version>1_2</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-classic</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.ops4j.pax.exam</groupId>
+            <artifactId>pax-exam-container-forked</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.ops4j.pax.exam</groupId>
+            <artifactId>pax-exam-junit4</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.ops4j.pax.exam</groupId>
+            <artifactId>pax-exam-link-mvn</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.ops4j.pax.url</groupId>
+            <artifactId>pax-url-aether</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.framework</artifactId>
+            <scope>test</scope>
+        </dependency>
+<!--         <dependency> -->
+<!--             <groupId>org.eclipse</groupId> -->
+<!--             <artifactId>osgi</artifactId> -->
+<!--             <version>3.9.1-v20140110-1610</version> -->
+<!--             <scope>test</scope> -->
+<!--         </dependency> -->
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>copy-dependencies</goal>
+                        </goals>
+                        <phase>generate-resources</phase>
+                        <configuration>
+                            <includeScope>runtime</includeScope>
+                            <outputFile>${project.build.directory}/test-classes/deps.txt</outputFile>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+        <pluginManagement>
+            <plugins>
+                <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
+                <plugin>
+                    <groupId>org.eclipse.m2e</groupId>
+                    <artifactId>lifecycle-mapping</artifactId>
+                    <version>1.0.0</version>
+                    <configuration>
+                        <lifecycleMappingMetadata>
+                            <pluginExecutions>
+                                <pluginExecution>
+                                    <pluginExecutionFilter>
+                                        <groupId>
+                                            org.apache.maven.plugins
+                                        </groupId>
+                                        <artifactId>
+                                            maven-dependency-plugin
+                                        </artifactId>
+                                        <versionRange>
+                                            [2.8,)
+                                        </versionRange>
+                                        <goals>
+                                            <goal>copy-dependencies</goal>
+                                        </goals>
+                                    </pluginExecutionFilter>
+                                    <action>
+                                        <ignore />
+                                    </action>
+                                </pluginExecution>
+                            </pluginExecutions>
+                        </lifecycleMappingMetadata>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+
+</project>

Added: directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiAsn1ApiOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiAsn1ApiOsgiTest.java?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiAsn1ApiOsgiTest.java (added)
+++ directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiAsn1ApiOsgiTest.java Thu Jun  1 10:27:25 2017
@@ -0,0 +1,46 @@
+/*
+ *   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.
+ *
+ */
+package org.apache.directory.api.osgi;
+
+
+import org.apache.directory.api.asn1.EncoderException;
+import org.apache.directory.api.asn1.util.BitString;
+import org.apache.directory.api.asn1.util.Oid;
+
+
+public class ApiAsn1ApiOsgiTest extends ApiOsgiTestBase
+{
+
+    @Override
+    protected String getBundleName()
+    {
+        return "org.apache.directory.api.asn1.api";
+    }
+
+
+    @Override
+    protected void useBundleClasses() throws Exception
+    {
+        new EncoderException( "foo" );
+        Oid.fromString( "1.2.3" );
+        new BitString( 8 );
+    }
+
+}

Added: directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiAsn1BerOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiAsn1BerOsgiTest.java?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiAsn1BerOsgiTest.java (added)
+++ directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiAsn1BerOsgiTest.java Thu Jun  1 10:27:25 2017
@@ -0,0 +1,49 @@
+/*
+ *   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.
+ *
+ */
+package org.apache.directory.api.osgi;
+
+
+import org.apache.directory.api.asn1.actions.CheckNotNullLength;
+import org.apache.directory.api.asn1.ber.Asn1Container;
+import org.apache.directory.api.asn1.ber.Asn1Decoder;
+import org.apache.directory.api.asn1.ber.tlv.BerValue;
+import org.apache.directory.api.asn1.ber.tlv.TLV;
+
+
+public class ApiAsn1BerOsgiTest extends ApiOsgiTestBase
+{
+
+    @Override
+    protected String getBundleName()
+    {
+        return "org.apache.directory.api.asn1.ber";
+    }
+
+
+    @Override
+    protected void useBundleClasses() throws Exception
+    {
+        new CheckNotNullLength<Asn1Container>();
+        new Asn1Decoder().getMaxLengthLength();
+        new BerValue().init( 5 );
+        new TLV( 1 ).getValue();
+    }
+
+}

Added: directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiDsmlEngineOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiDsmlEngineOsgiTest.java?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiDsmlEngineOsgiTest.java (added)
+++ directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiDsmlEngineOsgiTest.java Thu Jun  1 10:27:25 2017
@@ -0,0 +1,42 @@
+/*
+ *   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.
+ *
+ */
+package org.apache.directory.api.osgi;
+
+
+import org.apache.directory.api.dsmlv2.engine.Dsmlv2Engine;
+
+
+public class ApiDsmlEngineOsgiTest extends ApiOsgiTestBase
+{
+
+    @Override
+    protected String getBundleName()
+    {
+        return "org.apache.directory.api.dsmlv2.engine";
+    }
+
+
+    @Override
+    protected void useBundleClasses() throws Exception
+    {
+        new Dsmlv2Engine( "host", 9999, "user", "password" );
+    }
+
+}

Added: directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiDsmlParserOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiDsmlParserOsgiTest.java?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiDsmlParserOsgiTest.java (added)
+++ directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiDsmlParserOsgiTest.java Thu Jun  1 10:27:25 2017
@@ -0,0 +1,77 @@
+/*
+ *   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.
+ *
+ */
+package org.apache.directory.api.osgi;
+
+
+import org.apache.directory.api.dsmlv2.ParserUtils;
+import org.apache.directory.api.dsmlv2.request.AddRequestDsml;
+import org.apache.directory.api.dsmlv2.request.Dsmlv2Grammar;
+import org.apache.directory.api.dsmlv2.request.SearchRequestDsml;
+import org.apache.directory.api.dsmlv2.response.LdapResultDsml;
+import org.apache.directory.api.dsmlv2.response.SearchResponse;
+import org.apache.directory.api.dsmlv2.response.SearchResultDoneDsml;
+import org.apache.directory.api.dsmlv2.response.SearchResultEntryDsml;
+import org.apache.directory.api.ldap.codec.api.LdapApiService;
+import org.apache.directory.api.ldap.model.message.AddRequestImpl;
+import org.apache.directory.api.ldap.model.message.LdapResultImpl;
+import org.apache.directory.api.ldap.model.message.ReferralImpl;
+import org.apache.directory.api.ldap.model.message.ResultCodeEnum;
+import org.apache.directory.api.ldap.model.name.Dn;
+import org.apache.directory.api.ldap.model.url.LdapUrl;
+import org.dom4j.tree.BaseElement;
+
+
+public class ApiDsmlParserOsgiTest extends ApiOsgiTestBase
+{
+
+    @Override
+    protected String getBundleName()
+    {
+        return "org.apache.directory.api.dsmlv2.parser";
+    }
+
+
+    @Override
+    protected void useBundleClasses() throws Exception
+    {
+        new Dsmlv2Grammar();
+
+        new AddRequestDsml( null );
+        new SearchRequestDsml( null );
+
+        ParserUtils.base64Encode( "abc" );
+        new Dn( "cn=foo" );
+        new LdapUrl( "ldap://example.com/" );
+        ResultCodeEnum.TOO_LATE.getMessage();
+        ParserUtils.needsBase64Encoding( null );
+        ParserUtils.parseAndVerifyRequestID( "5", null );
+        new BaseElement( "foo" );
+        context.getService( context.getServiceReference( LdapApiService.class.getName() ) );
+        new AddRequestImpl();
+        new ReferralImpl();
+        new LdapResultImpl();
+
+        new SearchResponse();
+        new LdapResultDsml( null, null, null );
+        new SearchResultEntryDsml( null );
+        new SearchResultDoneDsml( null );
+    }
+
+}

Added: directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiI18nOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiI18nOsgiTest.java?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiI18nOsgiTest.java (added)
+++ directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiI18nOsgiTest.java Thu Jun  1 10:27:25 2017
@@ -0,0 +1,47 @@
+/*
+ *   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.
+ *
+ */
+package org.apache.directory.api.osgi;
+
+
+import static org.junit.Assert.assertNotNull;
+
+import org.apache.directory.api.i18n.I18n;
+
+
+public class ApiI18nOsgiTest extends ApiOsgiTestBase
+{
+
+    @Override
+    protected String getBundleName()
+    {
+        return "org.apache.directory.api.i18n";
+    }
+
+
+    @Override
+    protected void useBundleClasses() throws Exception
+    {
+        I18n errorCode = I18n.ERR_00001_BAD_TRANSITION_FROM_STATE;
+        assertNotNull( errorCode );
+        assertNotNull( errorCode.getErrorCode() );
+        assertNotNull( I18n.err( errorCode ) );
+    }
+
+}

Added: directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapClientApiOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapClientApiOsgiTest.java?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapClientApiOsgiTest.java (added)
+++ directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapClientApiOsgiTest.java Thu Jun  1 10:27:25 2017
@@ -0,0 +1,67 @@
+/*
+ *   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.
+ *
+ */
+package org.apache.directory.api.osgi;
+
+
+import org.apache.commons.pool.PoolableObjectFactory;
+import org.apache.commons.pool.impl.GenericObjectPool.Config;
+import org.apache.directory.ldap.client.api.DefaultPoolableLdapConnectionFactory;
+import org.apache.directory.ldap.client.api.Krb5LoginConfiguration;
+import org.apache.directory.ldap.client.api.LdapConnection;
+import org.apache.directory.ldap.client.api.LdapConnectionConfig;
+import org.apache.directory.ldap.client.api.LdapConnectionPool;
+import org.apache.directory.ldap.client.api.LdapNetworkConnection;
+import org.apache.directory.ldap.client.api.SaslGssApiRequest;
+import org.apache.directory.ldap.client.api.future.AddFuture;
+import org.apache.directory.ldap.client.api.search.FilterBuilder;
+import org.apache.directory.ldap.client.template.LdapConnectionTemplate;
+
+
+public class ApiLdapClientApiOsgiTest extends ApiOsgiTestBase
+{
+
+    @Override
+    protected String getBundleName()
+    {
+        return "org.apache.directory.api.ldap.client.api";
+    }
+
+
+    @Override
+    protected void useBundleClasses() throws Exception
+    {
+        new LdapNetworkConnection().close();
+        new SaslGssApiRequest();
+        new Krb5LoginConfiguration();
+        new AddFuture( new LdapNetworkConnection(), 2 );
+        new LdapConnectionTemplate( new LdapConnectionPool( new DefaultPoolableLdapConnectionFactory(
+            new LdapConnectionConfig() ) ) );
+        FilterBuilder.and( FilterBuilder.not( FilterBuilder.contains( "cn", "a", "b" ) ) ).toString();
+
+        // Test for DIRAPI-239
+        PoolableObjectFactory<LdapConnection> factory = new DefaultPoolableLdapConnectionFactory(
+            new LdapConnectionConfig() );
+        Config config = new Config();
+        LdapConnectionPool ldapConnectionPool = new LdapConnectionPool( factory, config );
+        ldapConnectionPool.getLdapApiService();
+        ldapConnectionPool.getTestOnBorrow();
+    }
+
+}

Added: directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java (added)
+++ directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java Thu Jun  1 10:27:25 2017
@@ -0,0 +1,111 @@
+/*
+ *   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.
+ *
+ */
+package org.apache.directory.api.osgi;
+
+
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+
+import javax.inject.Inject;
+
+import org.apache.directory.api.ldap.codec.LdapStatesEnum;
+import org.apache.directory.api.ldap.codec.actions.addRequest.InitAddRequest;
+import org.apache.directory.api.ldap.codec.actions.addResponse.InitAddResponse;
+import org.apache.directory.api.ldap.codec.actions.bindRequest.InitBindRequest;
+import org.apache.directory.api.ldap.codec.actions.bindResponse.InitBindResponse;
+import org.apache.directory.api.ldap.codec.actions.searchRequest.InitSearchRequest;
+import org.apache.directory.api.ldap.codec.actions.searchResultDone.InitSearchResultDone;
+import org.apache.directory.api.ldap.codec.api.LdapApiService;
+import org.apache.directory.api.ldap.codec.api.LdapApiServiceFactory;
+import org.apache.directory.api.ldap.codec.decorators.SearchRequestDecorator;
+import org.apache.directory.api.ldap.codec.search.AndFilter;
+import org.apache.directory.api.ldap.codec.search.SubstringFilter;
+import org.apache.directory.api.ldap.model.message.SearchRequest;
+import org.apache.directory.api.ldap.model.message.SearchRequestImpl;
+import org.apache.directory.api.ldap.model.message.controls.SortRequest;
+import org.junit.Test;
+import org.osgi.framework.ServiceReference;
+
+
+public class ApiLdapCodecCoreOsgiTest extends ApiOsgiTestBase
+{
+
+    @Inject
+    LdapApiService ldapApiService;
+
+
+    @Override
+    protected String getBundleName()
+    {
+        return "org.apache.directory.api.ldap.codec.core";
+    }
+
+
+    @Override
+    protected void useBundleClasses() throws Exception
+    {
+        LdapStatesEnum.END_STATE.isEndState();
+
+        new InitBindRequest();
+        new InitBindResponse();
+        new InitAddRequest();
+        new InitAddResponse();
+        new InitSearchRequest();
+        new InitSearchResultDone();
+
+        new AndFilter();
+        new SubstringFilter();
+
+        SearchRequest decoratedMessage = new SearchRequestImpl();
+        new SearchRequestDecorator( ldapApiService, decoratedMessage );
+    }
+
+
+    @Test
+    public void testInjectLdapApiService()
+    {
+        assertNotNull( ldapApiService );
+    }
+
+
+    @Test
+    public void testLookupLdapApiService()
+    {
+        ServiceReference<LdapApiService> serviceReference = context.getServiceReference( LdapApiService.class );
+        Object service = context.getService( serviceReference );
+        assertNotNull( service );
+        assertTrue( service instanceof LdapApiService );
+    }
+
+
+    @Test
+    public void testLdapApiServiceFactoryIsInitializedByOsgi()
+    {
+        assertTrue( LdapApiServiceFactory.isInitialized() );
+        assertFalse( LdapApiServiceFactory.isUsingStandaloneImplementation() );
+        
+        LdapApiService ldapApiService = LdapApiServiceFactory.getSingleton();
+        assertNotNull( ldapApiService );
+        assertNotNull( ldapApiService.getProtocolCodecFactory() );
+        
+        assertTrue( ldapApiService.isControlRegistered( SortRequest.OID ) );
+    }
+}

Added: directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasAciOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasAciOsgiTest.java?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasAciOsgiTest.java (added)
+++ directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasAciOsgiTest.java Thu Jun  1 10:27:25 2017
@@ -0,0 +1,61 @@
+/*
+ *   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.
+ *
+ */
+package org.apache.directory.api.osgi;
+
+
+import org.apache.directory.api.ldap.aci.ACIItemChecker;
+import org.apache.directory.api.ldap.aci.ACIItemParser;
+import org.apache.directory.api.ldap.aci.GrantAndDenial;
+import org.apache.directory.api.ldap.aci.MicroOperation;
+import org.apache.directory.api.ldap.aci.ProtectedItem;
+import org.apache.directory.api.ldap.aci.UserClass;
+
+
+public class ApiLdapExtrasAciOsgiTest extends ApiOsgiTestBase
+{
+
+    @Override
+    protected String getBundleName()
+    {
+        return "org.apache.directory.api.ldap.extras.aci";
+    }
+
+
+    @Override
+    protected void useBundleClasses() throws Exception
+    {
+        GrantAndDenial.GRANT_BROWSE.toString();
+        MicroOperation.BROWSE.getName();
+        UserClass.THIS_ENTRY.toString();
+        ProtectedItem.ENTRY.toString();
+
+        new ACIItemChecker( null ).parse( "" );
+        new ACIItemParser( null ).parse( "" );
+
+        String spec = "{ identificationTag \"test\", precedence 14, authenticationLevel simple, "
+            + "itemOrUserFirst userFirst: { userClasses { allUsers }, userPermissions { { "
+            + "precedence 1, protectedItems { attributeType { userPassword } }, grantsAndDenials "
+            + "{ denyRead, denyReturnDN, denyBrowse } }, { precedence 2, protectedItems "
+            + "{ entry, allUserAttributeTypesAndValues }, grantsAndDenials "
+            + "{ grantReturnDN, grantRead, grantBrowse } } } } }";
+        new ACIItemParser( null ).parse( spec );
+    }
+
+}

Added: directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasCodecApiOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasCodecApiOsgiTest.java?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasCodecApiOsgiTest.java (added)
+++ directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasCodecApiOsgiTest.java Thu Jun  1 10:27:25 2017
@@ -0,0 +1,71 @@
+/*
+ *   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.
+ *
+ */
+package org.apache.directory.api.osgi;
+
+
+import org.apache.directory.api.ldap.extras.controls.SynchronizationModeEnum;
+import org.apache.directory.api.ldap.extras.controls.ad.AdDirSyncImpl;
+import org.apache.directory.api.ldap.extras.controls.changeNotifications.ChangeNotificationsImpl;
+import org.apache.directory.api.ldap.extras.controls.permissiveModify.PermissiveModifyImpl;
+import org.apache.directory.api.ldap.extras.controls.ppolicy.PasswordPolicyImpl;
+import org.apache.directory.api.ldap.extras.controls.syncrepl.syncInfoValue.SyncInfoValueImpl;
+import org.apache.directory.api.ldap.extras.controls.syncrepl.syncState.SyncStateValueImpl;
+import org.apache.directory.api.ldap.extras.controls.vlv.VirtualListViewRequestImpl;
+import org.apache.directory.api.ldap.extras.controls.vlv.VirtualListViewResponseImpl;
+import org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyRequestImpl;
+import org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyResponseImpl;
+import org.apache.directory.api.ldap.extras.extended.startTls.StartTlsRequestImpl;
+import org.apache.directory.api.ldap.extras.extended.startTls.StartTlsResponseImpl;
+import org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIRequestImpl;
+import org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIResponseImpl;
+import org.apache.directory.api.ldap.model.name.Dn;
+
+
+public class ApiLdapExtrasCodecApiOsgiTest extends ApiOsgiTestBase
+{
+
+    @Override
+    protected String getBundleName()
+    {
+        return "org.apache.directory.api.ldap.extras.codec.api";
+    }
+
+
+    @Override
+    protected void useBundleClasses() throws Exception
+    {
+        SynchronizationModeEnum.REFRESH_AND_PERSIST.getValue();
+        new AdDirSyncImpl().getOid();
+        new ChangeNotificationsImpl().getOid();
+        new PermissiveModifyImpl().getOid();
+        new PasswordPolicyImpl().getOid();
+        new SyncStateValueImpl( true ).getCookie();
+        new SyncInfoValueImpl().getType();
+        new VirtualListViewRequestImpl().getOid();
+        new VirtualListViewResponseImpl().getOid();
+        new PasswordModifyRequestImpl().getUserIdentity();
+        new PasswordModifyResponseImpl( 5 ).setResponseName( "foo" );
+        new WhoAmIRequestImpl();
+        new WhoAmIResponseImpl().setDn( new Dn( "uid=admin,ou=system" ) );
+        new StartTlsRequestImpl();
+        new StartTlsResponseImpl();
+    }
+
+}

Added: directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasCodecOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasCodecOsgiTest.java?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasCodecOsgiTest.java (added)
+++ directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiLdapExtrasCodecOsgiTest.java Thu Jun  1 10:27:25 2017
@@ -0,0 +1,64 @@
+/*
+ *   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.
+ *
+ */
+package org.apache.directory.api.osgi;
+
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+
+import javax.inject.Inject;
+
+import org.apache.directory.api.ldap.codec.api.CodecControl;
+import org.apache.directory.api.ldap.codec.api.LdapApiService;
+import org.apache.directory.api.ldap.extras.controls.ppolicy.PasswordPolicy;
+import org.apache.directory.api.ldap.extras.controls.ppolicy_impl.PasswordPolicyDecorator;
+import org.apache.directory.api.ldap.extras.extended.ads_impl.startTls.StartTlsRequestDecorator;
+import org.apache.directory.api.ldap.extras.extended.startTls.StartTlsRequest;
+import org.apache.directory.api.ldap.model.message.Control;
+import org.apache.directory.api.ldap.model.message.ExtendedRequest;
+
+
+public class ApiLdapExtrasCodecOsgiTest extends ApiOsgiTestBase
+{
+
+    @Inject
+    LdapApiService ldapApiService;
+
+
+    @Override
+    protected String getBundleName()
+    {
+        return "org.apache.directory.api.ldap.extras.codec";
+    }
+
+
+    @Override
+    protected void useBundleClasses() throws Exception
+    {
+        CodecControl<? extends Control> control = ldapApiService.newControl( PasswordPolicy.OID );
+        assertNotNull( control );
+        assertTrue( control instanceof PasswordPolicyDecorator );
+
+        ExtendedRequest extendedRequest = ldapApiService.newExtendedRequest( StartTlsRequest.EXTENSION_OID, null );
+        assertNotNull( extendedRequest );
+        assertTrue( extendedRequest instanceof StartTlsRequestDecorator );
+    }
+
+}

Added: directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiOsgiTestBase.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiOsgiTestBase.java?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiOsgiTestBase.java (added)
+++ directory/shared/trunk/integ-osgi2/src/test/java/org/apache/directory/api/osgi/ApiOsgiTestBase.java Thu Jun  1 10:27:25 2017
@@ -0,0 +1,156 @@
+/*
+ *   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.
+ *
+ */
+package org.apache.directory.api.osgi;
+
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.ops4j.pax.exam.CoreOptions.composite;
+import static org.ops4j.pax.exam.CoreOptions.junitBundles;
+import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
+import static org.ops4j.pax.exam.CoreOptions.options;
+import static org.ops4j.pax.exam.CoreOptions.systemPackages;
+import static org.ops4j.pax.exam.CoreOptions.systemProperty;
+import static org.ops4j.pax.exam.CoreOptions.url;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+import javax.inject.Inject;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.Configuration;
+import org.ops4j.pax.exam.Option;
+import org.ops4j.pax.exam.junit.PaxExam;
+import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
+import org.ops4j.pax.exam.spi.reactors.PerClass;
+import org.ops4j.pax.exam.util.PathUtils;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+
+
+@RunWith(PaxExam.class)
+@ExamReactorStrategy(PerClass.class)
+public abstract class ApiOsgiTestBase
+{
+
+    @Inject
+    protected BundleContext context;
+
+    private static Set<String> skips = new HashSet<String>();
+//    static
+//    {
+//        skips.add( "antlr-2.7.7.jar" );
+//        skips.add( "xpp3-1.1.4c.jar" );
+//        skips.add( "dom4j-1.6.1.jar" );
+//    }
+
+
+    @Configuration
+    public Option[] config() throws IOException
+    {
+        List<Option> dependencies = new ArrayList<Option>();
+
+        URL resource = getClass().getResource( "/" );
+        File targetTestClassesDir = new File( resource.getFile() );
+        File targetDependenciesDir = new File( targetTestClassesDir.getParent(), "dependency" );
+        File[] files = targetDependenciesDir.listFiles();
+        for ( File file : files )
+        {
+            if ( !skips.contains( file.getName() ) )
+            {
+                dependencies.add( url( file.toURI().toString() ) );
+            }
+        }
+
+        // shuffle dependencies, there mustn't be any dependency on order
+        Collections.shuffle( dependencies );
+
+        return options(
+            systemProperty( "org.ops4j.pax.logging.DefaultServiceLog.level" ).value( "WARN" ),
+            systemProperty( "logback.configurationFile" ).value(
+                "file:" + PathUtils.getBaseDir() + "/src/test/resources/logback.xml" ),
+            systemPackages( "javax.xml.stream;version=1.0.0", "javax.xml.stream.util;version=1.0.0",
+                "javax.xml.stream.events;version=1.0.0" ), mavenBundle( "ch.qos.logback", "logback-classic", "1.0.6" ),
+            mavenBundle( "ch.qos.logback", "logback-core", "1.0.6" ), junitBundles(),
+            composite( dependencies.toArray( new Option[0] ) ) );
+    }
+
+
+    @Test
+    public void testInjectContext()
+    {
+        assertNotNull( context );
+    }
+
+
+    @Test
+    public void testBundleActivation()
+    {
+        String bundleName = getBundleName();
+
+        boolean bundleFound = false;
+        boolean bundleActive = false;
+        Bundle[] bundles = context.getBundles();
+        for ( Bundle bundle : bundles )
+        {
+            //System.out.println( "### bundle=" + bundle + " " + bundle.getState() );
+            if ( bundle != null && bundle.getSymbolicName() != null && bundle.getSymbolicName().equals( bundleName ) )
+            {
+                bundleFound = true;
+                if ( bundle.getState() == Bundle.ACTIVE )
+                {
+                    bundleActive = true;
+                }
+            }
+        }
+
+        assertTrue( "Bundle " + bundleName + " not found.", bundleFound );
+        assertTrue( "Bundle " + bundleName + " is not active.", bundleActive );
+    }
+
+
+    /**
+     * @return the symbolic name of the bundle under test.
+     */
+    protected abstract String getBundleName();
+
+
+    @Test
+    public void testUseBundleClasses() throws Exception
+    {
+        useBundleClasses();
+    }
+
+
+    /**
+     * Implementations should use the bundle's classes to check if they are accessible.
+     * @throws Exception
+     */
+    protected abstract void useBundleClasses() throws Exception;
+
+}

Added: directory/shared/trunk/integ-osgi2/src/test/resources/exam.properties
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/resources/exam.properties?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/resources/exam.properties (added)
+++ directory/shared/trunk/integ-osgi2/src/test/resources/exam.properties Thu Jun  1 10:27:25 2017
@@ -0,0 +1,18 @@
+#############################################################################
+#    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.
+#############################################################################
+
+pax.exam.logging = none

Added: directory/shared/trunk/integ-osgi2/src/test/resources/logback.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/src/test/resources/logback.xml?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/src/test/resources/logback.xml (added)
+++ directory/shared/trunk/integ-osgi2/src/test/resources/logback.xml Thu Jun  1 10:27:25 2017
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<configuration>
+  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+    <encoder>
+      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
+    </encoder>
+  </appender>
+
+  <root level="error">
+    <appender-ref ref="STDOUT" />
+  </root>
+</configuration>
\ No newline at end of file

Added: directory/shared/trunk/integ-osgi2/target/.plxarc
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/target/.plxarc?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/target/.plxarc (added)
+++ directory/shared/trunk/integ-osgi2/target/.plxarc Thu Jun  1 10:27:25 2017
@@ -0,0 +1 @@
+maven-shared-archive-resources
\ No newline at end of file

Added: directory/shared/trunk/integ-osgi2/target/api-integ-osgi2-1.0.0-RC3-SNAPSHOT-sources.jar
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/target/api-integ-osgi2-1.0.0-RC3-SNAPSHOT-sources.jar?rev=1797177&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/shared/trunk/integ-osgi2/target/api-integ-osgi2-1.0.0-RC3-SNAPSHOT-sources.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/shared/trunk/integ-osgi2/target/api-integ-osgi2-1.0.0-RC3-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/target/api-integ-osgi2-1.0.0-RC3-SNAPSHOT.jar?rev=1797177&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/shared/trunk/integ-osgi2/target/api-integ-osgi2-1.0.0-RC3-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/shared/trunk/integ-osgi2/target/checkstyle-checker.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/target/checkstyle-checker.xml?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/target/checkstyle-checker.xml (added)
+++ directory/shared/trunk/integ-osgi2/target/checkstyle-checker.xml Thu Jun  1 10:27:25 2017
@@ -0,0 +1,231 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  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.
+-->
+
+<!DOCTYPE module PUBLIC
+    "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+    "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+
+<!--
+
+  Checkstyle is very configurable. Be sure to read the documentation at
+  http://checkstyle.sf.net (or in your downloaded distribution).
+
+  Most Checks are configurable, be sure to consult the documentation.
+
+  To completely disable a check, just comment it out or delete it from the file.
+
+  Finally, it is worth reading the documentation.
+
+-->
+
+<module name="Checker">
+    <!--
+        If you set the basedir property below, then all reported file
+        names will be relative to the specified directory. See
+        http://checkstyle.sourceforge.net/5.x/config.html#Checker
+
+        <property name="basedir" value="${basedir}"/>
+    -->
+
+    <!-- Checks that each Java package has a Javadoc file used for commenting. -->
+    <!-- See http://checkstyle.sf.net/config_javadoc.html#JavadocPackage       -->
+    <!--
+    <module name="JavadocPackage">
+      <property name="allowLegacy" value="true"/>
+    </module>
+    -->
+
+    <!-- Checks whether files end with a new line.                        -->
+    <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
+    <!-- module name="NewlineAtEndOfFile"/ -->
+
+    <!-- Checks that property files contain the same keys.         -->
+    <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
+    <module name="Translation"/>
+
+    <module name="FileLength"/>
+
+    <!-- Following interprets the header file as regular expressions. -->
+    <!-- <module name="RegexpHeader"/>                                -->
+
+    <module name="FileTabCharacter">
+        <property name="eachLine" value="true"/>
+    </module>
+
+    <!--
+    <module name="RegexpSingleline">
+        <!- \s matches whitespace character, $ matches end of line. ->
+        <property name="format" value="\s+$"/>
+        <property name="message" value="Line has trailing spaces."/>
+    </module>
+    -->
+
+    <module name="TreeWalker">
+
+        <property name="cacheFile" value="${checkstyle.cache.file}"/>
+
+        <!-- Checks for Javadoc comments.                     -->
+        <!-- See http://checkstyle.sf.net/config_javadoc.html -->
+<!--         <module name="JavadocMethod"> -->
+<!--           No Javadoc required for private methods -->
+<!--           <property name="scope" value="protected"/> -->
+<!--         </module> -->
+<!--         <module name="JavadocType"> -->
+<!--           <property name="scope" value="public"/> -->
+<!--         </module> -->
+<!--         <module name="JavadocVariable"> -->
+<!--           No Javadoc required for private fields -->
+<!--           <property name="scope" value="protected"/> -->
+<!--         </module> -->
+<!--         <module name="JavadocStyle"> -->
+<!--             <property name="checkFirstSentence" value="false"/> -->
+<!--         </module> -->
+
+
+        <!-- Checks for Naming Conventions.                  -->
+        <!-- See http://checkstyle.sf.net/config_naming.html -->
+        <module name="ConstantName"/>
+        <module name="LocalFinalVariableName"/>
+        <module name="LocalVariableName"/>
+        <module name="MemberName"/>
+        <module name="MethodName"/>
+        <module name="PackageName"/>
+        <module name="ParameterName"/>
+        <module name="StaticVariableName"/>
+        <module name="TypeName"/>
+
+
+        <!-- Checks for Headers                                -->
+        <!-- See http://checkstyle.sf.net/config_header.html   -->
+        <!-- <module name="Header">                            -->
+            <!-- The follow property value demonstrates the ability     -->
+            <!-- to have access to ANT properties. In this case it uses -->
+            <!-- the ${basedir} property to allow Checkstyle to be run  -->
+            <!-- from any directory within a project. See property      -->
+            <!-- expansion,                                             -->
+            <!-- http://checkstyle.sf.net/config.html#properties        -->
+            <!-- <property                                              -->
+            <!--     name="headerFile"                                  -->
+            <!--     value="${basedir}/java.header"/>                   -->
+        <!-- </module> -->
+
+
+        <!-- Checks for imports                              -->
+        <!-- See http://checkstyle.sf.net/config_import.html -->
+        <module name="AvoidStarImport"/>
+        <module name="IllegalImport"/> <!-- defaults to sun.* packages -->
+        <module name="RedundantImport"/>
+        <module name="UnusedImports"/>
+
+
+        <!-- Checks for Size Violations.                    -->
+        <!-- See http://checkstyle.sf.net/config_sizes.html -->
+        <!-- module name="LineLength"/ -->
+        <!--module name="MethodLength"/ -->
+        <module name="ParameterNumber"/>
+
+
+        <!-- Checks for whitespace                               -->
+        <!-- See http://checkstyle.sf.net/config_whitespace.html -->
+        <module name="EmptyForIteratorPad">
+            <property name="option" value="space"/>
+        </module>
+        <module name="MethodParamPad"/>
+        <module name="NoWhitespaceAfter">
+            <property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>
+        </module>
+        <module name="NoWhitespaceBefore"/>
+        <module name="OperatorWrap"/>
+        <module name="ParenPad">
+             <property name="tokens" value="ANNOTATION_FIELD_DEF, CTOR_DEF, CTOR_CALL, EXPR, LITERAL_CATCH, LITERAL_DO, LITERAL_FOR, LITERAL_IF, LITERAL_NEW, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_WHILE, METHOD_CALL, METHOD_DEF, RESOURCE_SPECIFICATION, SUPER_CTOR_CALL, QUESTION"/>
+             <property name="option" value="space"/>
+        </module>
+        <module name="TypecastParenPad">
+            <property name="option" value="space"/>
+        </module>
+        <module name="WhitespaceAfter">
+            <property name="tokens" value="COMMA, TYPECAST"/>
+        </module>
+        <module name="WhitespaceAround"/>
+        <module name="EmptyLineSeparator">
+            <property name="tokens" value="IMPORT, CLASS_DEF, ENUM_DEF, INTERFACE_DEF, CTOR_DEF, METHOD_DEF, STATIC_INIT, INSTANCE_INIT"/>
+        </module>
+
+
+        <!-- Modifier Checks                                    -->
+        <!-- See http://checkstyle.sf.net/config_modifiers.html -->
+        <module name="ModifierOrder"/>
+        <module name="RedundantModifier"/>
+
+
+        <!-- Checks for blocks. You know, those {}'s         -->
+        <!-- See http://checkstyle.sf.net/config_blocks.html -->
+        <module name="AvoidNestedBlocks"/>
+        <module name="EmptyBlock"/>
+        <module name="LeftCurly">
+            <property name="option" value="nl"/>
+        </module>
+        <module name="NeedBraces"/>
+        <module name="RightCurly">
+            <property name="option" value="alone"/>
+        </module>
+
+
+        <!-- Checks for common coding problems               -->
+        <!-- See http://checkstyle.sf.net/config_coding.html -->
+        <!-- module name="AvoidInlineConditionals"/ -->
+        <module name="EmptyStatement"/>
+        <module name="EqualsHashCode"/>
+        <!-- module name="HiddenField">
+            <property name="ignoreSetter" value="true"/>
+            <property name="ignoreConstructorParameter" value="true"/>
+            <property name="setterCanReturnItsClass" value="true"/>
+        </module -->
+        <module name="IllegalInstantiation"/>
+        <module name="InnerAssignment"/>
+        <!-- module name="MagicNumber"/ -->
+        <module name="MissingSwitchDefault"/>
+        <module name="SimplifyBooleanExpression"/>
+        <!-- module name="SimplifyBooleanReturn"/ -->
+
+        <!-- Checks for class design                         -->
+        <!-- See http://checkstyle.sf.net/config_design.html -->
+        <!-- module name="DesignForExtension"/ -->
+        <module name="FinalClass"/>
+        <module name="HideUtilityClassConstructor"/>
+        <module name="InterfaceIsType"/>
+        <module name="VisibilityModifier">
+            <property name="packageAllowed" value="true"/>
+            <property name="protectedAllowed" value="true"/>
+        </module>
+        
+
+
+        <!-- Miscellaneous other checks.                   -->
+        <!-- See http://checkstyle.sf.net/config_misc.html -->
+        <module name="ArrayTypeStyle"/>
+        <!-- module name="FinalParameters"/ -->
+        <!-- module name="TodoComment"/ -->
+        <module name="UpperEll"/>
+
+    </module>
+
+</module>

Added: directory/shared/trunk/integ-osgi2/target/checkstyle-result.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/target/checkstyle-result.xml?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/target/checkstyle-result.xml (added)
+++ directory/shared/trunk/integ-osgi2/target/checkstyle-result.xml Thu Jun  1 10:27:25 2017
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<checkstyle version="7.8">
+<file name="/Users/elecharny/apacheds/trunks/shared/integ-osgi2/src/test/resources/exam.properties">
+</file>
+</checkstyle>

Added: directory/shared/trunk/integ-osgi2/target/classes/META-INF/DEPENDENCIES
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi2/target/classes/META-INF/DEPENDENCIES?rev=1797177&view=auto
==============================================================================
--- directory/shared/trunk/integ-osgi2/target/classes/META-INF/DEPENDENCIES (added)
+++ directory/shared/trunk/integ-osgi2/target/classes/META-INF/DEPENDENCIES Thu Jun  1 10:27:25 2017
@@ -0,0 +1,73 @@
+// ------------------------------------------------------------------
+// Transitive dependencies of this project determined from the
+// maven pom organized by organization.
+// ------------------------------------------------------------------
+
+Apache Directory API OSGi Integration Tests 2
+
+
+From: 'Apache MINA Project' (http://mina.apache.org/)
+  - Apache MINA Core (http://mina.apache.org/mina-core/) org.apache.mina:mina-core:bundle:2.0.16
+    License: Apache 2.0 License  (http://www.apache.org/licenses/LICENSE-2.0)
+
+From: 'QOS.ch' (http://www.qos.ch)
+  - SLF4J API Module (http://www.slf4j.org) org.slf4j:slf4j-api:jar:1.7.25
+    License: MIT License  (http://www.opensource.org/licenses/mit-license.php)
+
+From: 'The Apache Software Foundation' (http://www.apache.org/)
+  - Apache Commons Codec (http://commons.apache.org/proper/commons-codec/) commons-codec:commons-codec:jar:1.10
+    License: Apache License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Commons Collections (http://commons.apache.org/collections/) commons-collections:commons-collections:jar:3.2.2
+    License: Apache License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Commons Lang (http://commons.apache.org/lang/) commons-lang:commons-lang:jar:2.6
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Commons Pool (http://commons.apache.org/pool/) commons-pool:commons-pool:jar:1.6
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache ServiceMix :: Bundles :: antlr (http://servicemix.apache.org/bundles-pom/org.apache.servicemix.bundles.antlr/) org.apache.servicemix.bundles:org.apache.servicemix.bundles.antlr:bundle:2.7.7_5
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache ServiceMix :: Bundles :: dom4j (http://servicemix.apache.org/bundles-pom/org.apache.servicemix.bundles.dom4j/) org.apache.servicemix.bundles:org.apache.servicemix.bundles.dom4j:bundle:1.6.1_5
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache ServiceMix :: Bundles :: xpp3 (http://servicemix.apache.org/bundles-pom/org.apache.servicemix.bundles.xpp3/) org.apache.servicemix.bundles:org.apache.servicemix.bundles.xpp3:bundle:1.1.4c_7
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+From: 'The Apache Software Foundation' (https://www.apache.org/)
+  - Apache Directory API ASN.1 API (http://directory.apache.org/api-parent/api-asn1-parent/api-asn1-api/) org.apache.directory.api:api-asn1-api:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory API ASN.1 BER (http://directory.apache.org/api-parent/api-asn1-parent/api-asn1-ber/) org.apache.directory.api:api-asn1-ber:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API DSML Engine (http://directory.apache.org/api-parent/api-dsml-parent/api-dsml-engine/) org.apache.directory.api:api-dsml-engine:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API DSML Parser (http://directory.apache.org/api-parent/api-dsml-parent/api-dsml-parser/) org.apache.directory.api:api-dsml-parser:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API I18n (http://directory.apache.org/api-parent/api-i18n/) org.apache.directory.api:api-i18n:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Client API (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-client-parent/api-ldap-client-api/) org.apache.directory.api:api-ldap-client-api:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Codec Core (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-codec-parent/api-ldap-codec-core/) org.apache.directory.api:api-ldap-codec-core:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Extras ACI (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-extras-parent/api-ldap-extras-aci/) org.apache.directory.api:api-ldap-extras-aci:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Extras Codec (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-extras-parent/api-ldap-extras-codec/) org.apache.directory.api:api-ldap-extras-codec:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Extras Codec API (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-extras-parent/api-ldap-extras-codec-api/) org.apache.directory.api:api-ldap-extras-codec-api:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Extras Stored Procedures (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-extras-parent/api-ldap-extras-sp/) org.apache.directory.api:api-ldap-extras-sp:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Extras Trigger (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-extras-parent/api-ldap-extras-trigger/) org.apache.directory.api:api-ldap-extras-trigger:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Extras Util (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-extras-parent/api-ldap-extras-util/) org.apache.directory.api:api-ldap-extras-util:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Model (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-model/) org.apache.directory.api:api-ldap-model:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Network MINA (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-net-parent/api-ldap-net-mina/) org.apache.directory.api:api-ldap-net-mina:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Schema Converter (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-schema-parent/api-ldap-schema-converter/) org.apache.directory.api:api-ldap-schema-converter:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Schema Data (http://directory.apache.org/api-parent/api-ldap-parent/api-ldap-schema-parent/api-ldap-schema-data/) org.apache.directory.api:api-ldap-schema-data:jar:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Apache Directory LDAP API Utilities (http://directory.apache.org/api-parent/api-util/) org.apache.directory.api:api-util:bundle:1.0.0-RC3-SNAPSHOT
+    License: Apache License, Version 2.0  (https://www.apache.org/licenses/LICENSE-2.0.txt)
+
+
+
+



Mime
View raw message