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:37:15 UTC

svn commit: r639577 - in /geronimo/xbean/branches/xbean-3.3.x: pom.xml xbean-spring/pom.xml

Author: gnodet
Date: Fri Mar 21 02:37:03 2008
New Revision: 639577

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

Modified:
    geronimo/xbean/branches/xbean-3.3.x/pom.xml
    geronimo/xbean/branches/xbean-3.3.x/xbean-spring/pom.xml

Modified: geronimo/xbean/branches/xbean-3.3.x/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/branches/xbean-3.3.x/pom.xml?rev=639577&r1=639576&r2=639577&view=diff
==============================================================================
--- geronimo/xbean/branches/xbean-3.3.x/pom.xml (original)
+++ geronimo/xbean/branches/xbean-3.3.x/pom.xml Fri Mar 21 02:37:03 2008
@@ -332,7 +332,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/branches/xbean-3.3.x/xbean-spring/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/branches/xbean-3.3.x/xbean-spring/pom.xml?rev=639577&r1=639576&r2=639577&view=diff
==============================================================================
--- geronimo/xbean/branches/xbean-3.3.x/xbean-spring/pom.xml (original)
+++ geronimo/xbean/branches/xbean-3.3.x/xbean-spring/pom.xml Fri Mar 21 02:37:03 2008
@@ -37,7 +37,8 @@
 		<xbean.osgi.import.pkg>
 			com.thoughtworks.qdox*;resolution:=optional,
 			org.apache.tools.ant*;resolution:=optional,
-            org.springframework.core;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>