MERGE: Converted ldap-schema to an OSGi bundle:

  o Used maven-bundle-plugin just to generate the MANIFEST.MF
  o Using Maven Jar Archiver to assemble the jar merging it's manifest 
entries
    with the entries generated from the bundle plugin.
  o Need to test the bundle classpath is setup propertly for the export 
of
    schema files to occur without issues in OSGi environment.




git-svn-id: https://svn.apache.org/repos/asf/directory/shared/branches/shared-AP@1059555 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ldap-schema/pom.xml b/ldap-schema/pom.xml
index cc8b70c..9f1f845 100644
--- a/ldap-schema/pom.xml
+++ b/ldap-schema/pom.xml
@@ -109,6 +109,47 @@
           </execution>
         </executions>
       </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestFile>
+              ${project.build.outputDirectory}/META-INF/MANIFEST.MF
+            </manifestFile>
+          </archive>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <inherited>true</inherited>
+        <extensions>true</extensions>
+        <executions>
+          <execution>
+            <id>bundle-manifest</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>manifest</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <instructions>
+            <Bundle-SymbolicName>
+              ${pom.groupId}.ldap.schema
+            </Bundle-SymbolicName>
+            <Bundle-Name>${pom.artifactId}</Bundle-Name>
+            <Bundle-Version>${pom.version}</Bundle-Version>
+            <Export-Package>
+              org.apache.directory.shared.ldap.schema.*
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+
     </plugins>
     <resources>
       <resource>