directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcon...@apache.org
Subject svn commit: r485953 - /directory/trunks/apacheds/osgi/protocol-ldap-osgi/pom.xml
Date Mon, 11 Dec 2006 23:55:39 GMT
Author: jconlon
Date: Mon Dec 11 15:55:38 2006
New Revision: 485953

URL: http://svn.apache.org/viewvc?view=rev&rev=485953
Log:
Use new maven-bundle-plugin

Modified:
    directory/trunks/apacheds/osgi/protocol-ldap-osgi/pom.xml

Modified: directory/trunks/apacheds/osgi/protocol-ldap-osgi/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/osgi/protocol-ldap-osgi/pom.xml?view=diff&rev=485953&r1=485952&r2=485953
==============================================================================
--- directory/trunks/apacheds/osgi/protocol-ldap-osgi/pom.xml (original)
+++ directory/trunks/apacheds/osgi/protocol-ldap-osgi/pom.xml Mon Dec 11 15:55:38 2006
@@ -11,7 +11,7 @@
   <description>
     The ApacheDS LDAP Network Service packaged as an OSGi bundle.
   </description>
-  <packaging>osgi-bundle</packaging>  
+  <packaging>bundle</packaging>  
   <dependencies>
     <dependency>
       <groupId>org.slf4j</groupId>
@@ -88,27 +88,20 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <version>0.8.0-SNAPSHOT</version>
-        <extensions>true</extensions>
-        <configuration>
-          <osgiManifest>
-            <metadataLocation>metadata.xml</metadataLocation>
-            <bundleName>ApacheDS LDAP Protocol Bundle</bundleName>
-            <bundleVendor>Apache Software Foundation</bundleVendor>
-            <bundleCategory>Network Service</bundleCategory>
-            <bundleDescription>
-              A bundle that registers the Apache Directory JNDI provider backing store.
-            </bundleDescription>
-            <bundleActivator>
-              org.apache.ldap.Activator
-            </bundleActivator>
-            <importPackage>org.apache.directory.server.protocol.shared, javax.naming,
javax.naming.directory, javax.naming.event, javax.naming.ldap, javax.naming.spi, javax.security.auth.kerberos,
org.apache.commons.lang, org.apache.directory.server.core, org.apache.directory.server.core.authn,
org.apache.directory.server.core.configuration, org.apache.directory.server.core.jndi, org.apache.directory.server.core.partition,
org.apache.directory.server.core.partition.impl.btree, org.apache.directory.server.core.partition.impl.btree.gui,
org.apache.directory.server.core.schema.bootstrap, org.apache.directory.server.core.sp, org.apache.directory.shared.asn1.ber,
org.apache.directory.shared.asn1.codec, org.apache.directory.shared.asn1.codec.stateful, org.apache.directory.shared.ldap.codec.extended.operations,
org.apache.directory.shared.ldap.codec.search.controls, org.apache.directory.shared.ldap.codec.util,
org.apache.directory.shared.ldap.exception, org.apache.directory.shared.
 ldap.filter, org.apache.directory.shared.ldap.ldif, org.apache.directory.shared.ldap.message,
org.apache.directory.shared.ldap.message.extended,  org.apache.directory.shared.ldap.name,
 org.apache.directory.shared.ldap.util, org.apache.felix.servicebinder, org.apache.mina.common,
org.apache.mina.filter, org.apache.mina.filter.codec, org.apache.mina.handler.demux, org.apache.mina.transport.socket.nio,
org.apache.mina.util, org.osgi.service.cm, org.slf4j
-            </importPackage>
-          </osgiManifest>
-        </configuration>
-      </plugin>
+		<groupId>org.apache.felix</groupId>
+		<artifactId>maven-bundle-plugin</artifactId>
+		<extensions>true</extensions>
+		<configuration> 
+			<instructions>
+				<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+				<Export-Package>org.apache.directory.server.ldap, org.apache.directory.server.ldap.*,
org.apache.directory.server.ldap.*.*</Export-Package>
+				<DynamicImport-Package>antlr</DynamicImport-Package>
+				<Private-Package>org.apache.ldap</Private-Package>
+				<Metadata-Location>metadata.xml</Metadata-Location>
+				<Bundle-Activator>org.apache.ldap.Activator</Bundle-Activator>
+			</instructions>
+		</configuration>
+	  </plugin>
     </plugins>
   </build>
 </project>



Mime
View raw message