directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r893877 - /directory/shared/branches/shared-schema/ldap-schema/pom.xml
Date Fri, 25 Dec 2009 18:52:46 GMT
Author: akarasulu
Date: Fri Dec 25 18:52:45 2009
New Revision: 893877

URL: http://svn.apache.org/viewvc?rev=893877&view=rev
Log:
making bundle out of project instead of vanilla jar

Modified:
    directory/shared/branches/shared-schema/ldap-schema/pom.xml

Modified: directory/shared/branches/shared-schema/ldap-schema/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap-schema/pom.xml?rev=893877&r1=893876&r2=893877&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap-schema/pom.xml (original)
+++ directory/shared/branches/shared-schema/ldap-schema/pom.xml Fri Dec 25 18:52:45 2009
@@ -28,7 +28,7 @@
   </parent>
   <artifactId>shared-ldap-schema</artifactId>
   <name>Apache Directory Shared LDAP Schema</name>
-  <packaging>jar</packaging>
+  <packaging>bundle</packaging>
 
   <description>
     Jar bundled LDIF files containing schema data using the Apache Directory
@@ -46,6 +46,35 @@
 
   <build>
     <plugins>
+
+     <plugin>
+       <groupId>org.apache.felix</groupId>
+       <artifactId>maven-bundle-plugin</artifactId>
+       <version>2.0.1</version>
+       <extensions>true</extensions>
+       <configuration>
+         <instructions>
+           <Include-Resource>src/main/resources</Include-Resource>
+           <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+           <Private-Package>org.apache.directory.shared.ldap.schema.ldif.extractor.impl</Private-Package>
+           <Export-Package>org.apache.directory.shared.ldap.schema.ldif.extractor</Export-Package>
+         </instructions>
+       </configuration>
+     </plugin>
+
+     <plugin>
+       <groupId>org.apache.felix</groupId>
+       <artifactId>maven-ipojo-plugin</artifactId>
+       <version>1.4.0</version>
+       <executions>
+         <execution>
+           <goals>
+             <goal>ipojo-bundle</goal>
+           </goals>
+         </execution>
+       </executions>
+     </plugin>
+
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <groupId>org.apache.maven.plugins</groupId>



Mime
View raw message