You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-scm@geronimo.apache.org by gn...@apache.org on 2008/03/21 10:43:40 UTC

svn commit: r639582 - in /geronimo/xbean/trunk: pom.xml xbean-spring/pom.xml

Author: gnodet
Date: Fri Mar 21 02:43:34 2008
New Revision: 639582

URL: http://svn.apache.org/viewvc?rev=639582&view=rev
Log:
Tweak so that xbean-spring works with OSGi classloader

Modified:
    geronimo/xbean/trunk/pom.xml
    geronimo/xbean/trunk/xbean-spring/pom.xml

Modified: geronimo/xbean/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/pom.xml?rev=639582&r1=639581&r2=639582&view=diff
==============================================================================
--- geronimo/xbean/trunk/pom.xml (original)
+++ geronimo/xbean/trunk/pom.xml Fri Mar 21 02:43:34 2008
@@ -340,7 +340,7 @@
 	        <plugin>
 	            <groupId>org.apache.felix</groupId>
 	            <artifactId>maven-bundle-plugin</artifactId>
-                <version>1.0.0</version>
+	            <version>1.4.0</version>
 	            <extensions>true</extensions>
 	            <configuration>
 		            <instructions>

Modified: geronimo/xbean/trunk/xbean-spring/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/pom.xml?rev=639582&r1=639581&r2=639582&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/pom.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/pom.xml Fri Mar 21 02:43:34 2008
@@ -38,6 +38,7 @@
 			com.thoughtworks.qdox*;resolution:=optional,
 			org.apache.tools.ant*;resolution:=optional,
 			org.springframework.core;resolution:=optional,
+			org.springframework.web;resolution:=optional,
 			*
 		</xbean.osgi.import.pkg>
 	</properties>
@@ -126,6 +127,24 @@
                     </execution>
                 </executions>
             </plugin>
+               <plugin>
+                   <groupId>org.apache.felix</groupId>
+                   <artifactId>maven-bundle-plugin</artifactId>
+                   <extensions>true</extensions>
+                   <configuration>
+                           <instructions>
+                               <Bundle-Name>${artifactId}</Bundle-Name>
+                               <Bundle-SymbolicName>${xbean.osgi.symbolic.name}</Bundle-SymbolicName>
+                               <Export-Package>${xbean.osgi.export}</Export-Package>
+                               <Import-Package>${xbean.osgi.import}</Import-Package>
+                               <Private-Package>${xbean.osgi.private.pkg}</Private-Package>
+                               <Implementation-Title>Apache XBean</Implementation-Title>
+                               <Implementation-Version>${project.version}</Implementation-Version>
+                               <DynamicImport-Package>META-INF.services.org.apache.xbean.spring*,META-INF.services.org.xbean.spring</DynamicImport-Package>
+                               <_failok>true</_failok>
+                          </instructions>
+                       </configuration>
+               </plugin>
         </plugins>
     </build>