geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1161609 - /geronimo/bundles/trunk/bval-jsr303/pom.xml
Date Thu, 25 Aug 2011 15:37:44 GMT
Author: genspring
Date: Thu Aug 25 15:37:44 2011
New Revision: 1161609

URL: http://svn.apache.org/viewvc?rev=1161609&view=rev
Log:
adding more instructions needed for bv bundle

Modified:
    geronimo/bundles/trunk/bval-jsr303/pom.xml

Modified: geronimo/bundles/trunk/bval-jsr303/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/bundles/trunk/bval-jsr303/pom.xml?rev=1161609&r1=1161608&r2=1161609&view=diff
==============================================================================
--- geronimo/bundles/trunk/bval-jsr303/pom.xml (original)
+++ geronimo/bundles/trunk/bval-jsr303/pom.xml Thu Aug 25 15:37:44 2011
@@ -49,12 +49,18 @@
 
     <dependencies>
         <dependency>
-            <groupId>${pkgGroupId}</groupId>
-            <artifactId>${pkgArtifactId}</artifactId>
+            <groupId>org.apache.bval</groupId>
+            <artifactId>bval-core</artifactId>
             <version>${pkgVersion}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
+            <groupId>org.apache.bval</groupId>
+            <artifactId>bval-jsr303</artifactId>
+            <version>${pkgVersion}</version>
+            <scope>provided</scope>            
+        </dependency>
+        <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
             <artifactId>geronimo-validation_1.0_spec</artifactId>
             <version>1.1</version>
@@ -66,12 +72,17 @@
             <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
-                <!--<version>2.0.1-SNAPSHOT</version>-->
                 <configuration>
                     <instructions>
-                        <Export-Package>org.apache.bval.jsr303*;version=${pkgVersion},org.apache.bval.constraints*;version=${pkgVersion}</Export-Package>
-                        <!--<_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>-->
+                        <!-- OSGi Bundle Metadata -->
+                        <Main-Class>org.apache.bval.util.BeanValidationVersion</Main-Class>
+                        <Specification-Version>1.0</Specification-Version>
                         <Embed-Dependency>*;scope=provided;inline=true</Embed-Dependency>
+                        <Private-Package />
+                        <Export-Package>org.apache.bval.*</Export-Package>
+                        <Import-Package>javax.persistence.*;resolution:=optional,org.apache.bval.xml.*;resolution:=optional,*</Import-Package>
+                        <!-- geronimo spec osgi services support -->
+                        <SPI-Provider>true</SPI-Provider>
                         <Include-Resource>
                            {maven-resources},
                            org/apache/bval/jsr303/xml/ValidationParser.class=target/classes/org/apache/bval/jsr303/xml/ValidationParser.class



Mime
View raw message