You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bval.apache.org by dw...@apache.org on 2010/05/21 20:24:39 UTC

svn commit: r947115 - /incubator/bval/trunk/apache-bval/pom.xml

Author: dwoods
Date: Fri May 21 18:24:38 2010
New Revision: 947115

URL: http://svn.apache.org/viewvc?rev=947115&view=rev
Log:
BVAL-56 make bval work with geronimo spec osgi service locator.  Contributed by David Jencks.  Slight change to apply to apache-bval, which is the new all-in-one osgi bundle.

Modified:
    incubator/bval/trunk/apache-bval/pom.xml

Modified: incubator/bval/trunk/apache-bval/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/apache-bval/pom.xml?rev=947115&r1=947114&r2=947115&view=diff
==============================================================================
--- incubator/bval/trunk/apache-bval/pom.xml (original)
+++ incubator/bval/trunk/apache-bval/pom.xml Fri May 21 18:24:38 2010
@@ -152,11 +152,16 @@
                         <Bundle-DocURL>${project.url}</Bundle-DocURL>
                         <!-- <Bundle-Activator>org.apache.bval.osgi.BundleActivator</Bundle-Activator> -->
                         <Private-Package />
+                        <!-- No versions on exports for now
                         <Export-Package>org.apache.bval.*;version=${project.version}</Export-Package>
-                        <Import-Package>*</Import-Package>
+                        -->
+                        <Export-Package>org.apache.bval.*</Export-Package>
+                        <Import-Package>javax.persistence.*;resolution:=optional,*</Import-Package>
                         <!-- Eclipse metadata -->
                         <Eclipse-Autostart>false</Eclipse-Autostart>
                         <Bundle-ClassPath>.</Bundle-ClassPath>
+                        <!-- geronimo spec osgi services support -->
+                        <SPI-Provider>true</SPI-Provider>
                     </instructions>
                 </configuration>
             </plugin>