bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r956116 - in /incubator/bval/trunk: bundle/pom.xml bval-jsr303/pom.xml bval-xstream/pom.xml
Date Fri, 18 Jun 2010 20:15:45 GMT
Author: dwoods
Date: Fri Jun 18 20:15:44 2010
New Revision: 956116

URL: http://svn.apache.org/viewvc?rev=956116&view=rev
Log:
BVAL-69 Mark bval-xstream as provided and set org.apache.bval.xml as optional for OSGi users

Modified:
    incubator/bval/trunk/bundle/pom.xml
    incubator/bval/trunk/bval-jsr303/pom.xml
    incubator/bval/trunk/bval-xstream/pom.xml

Modified: incubator/bval/trunk/bundle/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bundle/pom.xml?rev=956116&r1=956115&r2=956116&view=diff
==============================================================================
--- incubator/bval/trunk/bundle/pom.xml (original)
+++ incubator/bval/trunk/bundle/pom.xml Fri Jun 18 20:15:44 2010
@@ -67,7 +67,7 @@
                         <Embed-Dependency>*;inline=true</Embed-Dependency>
                         <Private-Package />
                         <Export-Package>org.apache.bval.*</Export-Package>
-                        <Import-Package>javax.persistence.*;resolution:=optional,*</Import-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>
                     </instructions>

Modified: incubator/bval/trunk/bval-jsr303/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/pom.xml?rev=956116&r1=956115&r2=956116&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/pom.xml (original)
+++ incubator/bval/trunk/bval-jsr303/pom.xml Fri Jun 18 20:15:44 2010
@@ -103,11 +103,6 @@
             <artifactId>bval-core</artifactId>
         </dependency>
         <dependency>
-          <groupId>org.apache.bval</groupId>
-          <artifactId>bval-xstream</artifactId>
-          <optional>true</optional>
-        </dependency>
-        <dependency>
             <groupId>commons-logging</groupId>
             <artifactId>commons-logging</artifactId>
         </dependency>
@@ -124,6 +119,13 @@
 
         <!-- optional dependencies -->
         <dependency>
+            <groupId>org.apache.bval</groupId>
+            <artifactId>bval-xstream</artifactId>
+            <!-- don't pull into OSGi bundle -->
+            <scope>provided</scope>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
             <artifactId>geronimo-jpa_2.0_spec</artifactId>
             <!-- allow users to choose an API provider -->

Modified: incubator/bval/trunk/bval-xstream/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-xstream/pom.xml?rev=956116&r1=956115&r2=956116&view=diff
==============================================================================
--- incubator/bval/trunk/bval-xstream/pom.xml (original)
+++ incubator/bval/trunk/bval-xstream/pom.xml Fri Jun 18 20:15:44 2010
@@ -32,7 +32,7 @@
   </parent>
 
   <artifactId>bval-xstream</artifactId>
-  <name>Apache Bean Validation :: bval-xstream</name>
+  <name>Apache Bean Validation :: bval-xstream (optional)</name>
   <packaging>jar</packaging>
 
   <description>Bean Validation XML Metadata with XStream</description>



Mime
View raw message