openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r937713 - in /openwebbeans/trunk: webbeans-ee-common/ webbeans-ee/ webbeans-ejb/ webbeans-impl/ webbeans-impl/src/main/java/org/apache/webbeans/ webbeans-impl/src/main/java/org/apache/webbeans/config/ webbeans-impl/src/main/java/org/apache/...
Date Sat, 24 Apr 2010 22:21:51 GMT
Author: gerdogdu
Date: Sat Apr 24 22:21:51 2010
New Revision: 937713

URL: http://svn.apache.org/viewvc?rev=937713&view=rev
Log:
Support for OSGI bundles, adding bundle plugin and bundle packaging

Added:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansConstants.java
      - copied, changed from r937700, openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/WebBeansConstants.java
Removed:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/WebBeansConstants.java
Modified:
    openwebbeans/trunk/webbeans-ee-common/pom.xml
    openwebbeans/trunk/webbeans-ee/pom.xml
    openwebbeans/trunk/webbeans-ejb/pom.xml
    openwebbeans/trunk/webbeans-impl/pom.xml
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/AbstractLifeCycle.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/AnnotationUtil.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansNameSpaceContainer.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansResolver.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansXMLConfigurator.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLDefinitionUtil.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLUtil.java
    openwebbeans/trunk/webbeans-jms/pom.xml
    openwebbeans/trunk/webbeans-jsf/pom.xml
    openwebbeans/trunk/webbeans-openejb/pom.xml
    openwebbeans/trunk/webbeans-resource/pom.xml
    openwebbeans/trunk/webbeans-spi/pom.xml
    openwebbeans/trunk/webbeans-tomcat6/pom.xml
    openwebbeans/trunk/webbeans-web/pom.xml

Modified: openwebbeans/trunk/webbeans-ee-common/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-ee-common/pom.xml?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ee-common/pom.xml (original)
+++ openwebbeans/trunk/webbeans-ee-common/pom.xml Sat Apr 24 22:21:51 2010
@@ -25,7 +25,7 @@
 
     <artifactId>openwebbeans-ee-common</artifactId>
     <name>Apache OpenWebBeans :: Java EE Common Utility</name>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
     <description>OpenWebBeans Java EE Common</description>
 
     <dependencies>
@@ -60,4 +60,24 @@
 		</dependency>		
               
     </dependencies>
+    
+   <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+        		<extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.webbeans.ee.common*;version=1.0                  
         
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    
+    
 </project>

Modified: openwebbeans/trunk/webbeans-ee/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-ee/pom.xml?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ee/pom.xml (original)
+++ openwebbeans/trunk/webbeans-ee/pom.xml Sat Apr 24 22:21:51 2010
@@ -25,7 +25,7 @@
 
     <artifactId>openwebbeans-ee</artifactId>
     <name>Apache OpenWebBeans :: Java EE Utility</name>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
     <description>OpenWebBeans Java EE Utility</description>
 
     <dependencies>
@@ -95,4 +95,25 @@
 		</dependency>		
               
     </dependencies>
+    
+   <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+        		<extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.webbeans.ee.beans*;version=1.0,
+                            org.apache.webbeans.ee.event*;version=1.0                   
        
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    
+    
 </project>

Modified: openwebbeans/trunk/webbeans-ejb/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-ejb/pom.xml?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ejb/pom.xml (original)
+++ openwebbeans/trunk/webbeans-ejb/pom.xml Sat Apr 24 22:21:51 2010
@@ -64,4 +64,24 @@
 	</dependency>
 		
 	</dependencies>
+	
+   <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+        		<extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.webbeans.ejb.common*;version=1.0,                
           
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+	
+	
 </project>

Modified: openwebbeans/trunk/webbeans-impl/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/pom.xml?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/pom.xml (original)
+++ openwebbeans/trunk/webbeans-impl/pom.xml Sat Apr 24 22:21:51 2010
@@ -27,6 +27,7 @@
     </parent>
     <artifactId>openwebbeans-impl</artifactId>
     <name>Apache OpenWebBeans :: OpenWebBeans Core</name>
+    <packaging>bundle</packaging>
     <description>Implementation of the Web Beans API</description>
 
     <dependencies>
@@ -100,6 +101,43 @@
                     </execution>
                 </executions>
             </plugin>
+            
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+        		<extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.webbeans.annotation*;version=1.0,                
           
+                            org.apache.webbeans.boot*;version=1.0,
+                            org.apache.webbeans.component*;version=1.0,
+                            org.apache.webbeans.config*;version=1.0,
+                            org.apache.webbeans.container*;version=1.0,
+                            org.apache.webbeans.context*;version=1.0,
+                            org.apache.webbeans.conversation*;version=1.0,
+                            org.apache.webbeans.corespi*;version=1.0,
+                            org.apache.webbeans.decorator*;version=1.0,
+                            org.apache.webbeans.deployment*;version=1.0,
+                            org.apache.webbeans.el*;version=1.0,
+                            org.apache.webbeans.event*;version=1.0,
+                            org.apache.webbeans.exception*;version=1.0,
+                            org.apache.webbeans.inject*;version=1.0,
+                            org.apache.webbeans.intercept*;version=1.0,
+                            org.apache.webbeans.jms*;version=1.0,
+                            org.apache.webbeans.lifecycle*;version=1.0,
+                            org.apache.webbeans.logger*;version=1.0,
+                            org.apache.webbeans.plugins*;version=1.0,
+                            org.apache.webbeans.portable*;version=1.0,
+                            org.apache.webbeans.proxy*;version=1.0,
+                            org.apache.webbeans.util*;version=1.0,
+                            org.apache.webbeans.xml*;version=1.0
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+            
         </plugins>
     </build>
 

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Sat Apr 24 22:21:51 2010
@@ -33,7 +33,6 @@ import javax.enterprise.inject.spi.Decor
 import javax.enterprise.inject.spi.InjectionPoint;
 import javax.interceptor.Interceptor;
 
-import org.apache.webbeans.WebBeansConstants;
 import org.apache.webbeans.component.AbstractInjectionTargetBean;
 import org.apache.webbeans.component.AbstractProducerBean;
 import org.apache.webbeans.component.EnterpriseBeanMarker;
@@ -73,6 +72,7 @@ import org.apache.webbeans.spi.plugins.O
 import org.apache.webbeans.util.AnnotationUtil;
 import org.apache.webbeans.util.ClassUtil;
 import org.apache.webbeans.util.WebBeansAnnotatedTypeUtil;
+import org.apache.webbeans.util.WebBeansConstants;
 import org.apache.webbeans.util.WebBeansUtil;
 import org.apache.webbeans.xml.WebBeansXMLConfigurator;
 import org.apache.webbeans.xml.XMLAnnotationTypeManager;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/AbstractLifeCycle.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/AbstractLifeCycle.java?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/AbstractLifeCycle.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/AbstractLifeCycle.java
Sat Apr 24 22:21:51 2010
@@ -23,7 +23,6 @@ import java.util.Properties;
 
 import javax.enterprise.inject.spi.BeanManager;
 
-import org.apache.webbeans.WebBeansConstants;
 import org.apache.webbeans.config.BeansDeployer;
 import org.apache.webbeans.config.OWBLogConst;
 import org.apache.webbeans.config.WebBeansFinder;
@@ -39,6 +38,7 @@ import org.apache.webbeans.spi.Container
 import org.apache.webbeans.spi.ContextsService;
 import org.apache.webbeans.spi.JNDIService;
 import org.apache.webbeans.spi.ScannerService;
+import org.apache.webbeans.util.WebBeansConstants;
 import org.apache.webbeans.xml.WebBeansXMLConfigurator;
 
 public abstract class AbstractLifeCycle implements ContainerLifecycle

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/AnnotationUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/AnnotationUtil.java?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/AnnotationUtil.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/AnnotationUtil.java
Sat Apr 24 22:21:51 2010
@@ -34,7 +34,6 @@ import javax.enterprise.util.Nonbinding;
 import javax.inject.Qualifier;
 import javax.interceptor.InterceptorBinding;
 
-import org.apache.webbeans.WebBeansConstants;
 import org.apache.webbeans.annotation.DefaultLiteral;
 import org.apache.webbeans.container.BeanManagerImpl;
 import org.apache.webbeans.exception.WebBeansConfigurationException;

Copied: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansConstants.java
(from r937700, openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/WebBeansConstants.java)
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansConstants.java?p2=openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansConstants.java&p1=openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/WebBeansConstants.java&r1=937700&r2=937713&rev=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/WebBeansConstants.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansConstants.java
Sat Apr 24 22:21:51 2010
@@ -11,7 +11,7 @@
  * KIND, either express or implied. See the License for the specific language
  * governing permissions and limitations under the License.
  */
-package org.apache.webbeans;
+package org.apache.webbeans.util;
 
 import javax.enterprise.inject.spi.BeanManager;
 

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansNameSpaceContainer.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansNameSpaceContainer.java?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansNameSpaceContainer.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansNameSpaceContainer.java
Sat Apr 24 22:21:51 2010
@@ -18,8 +18,8 @@ import java.util.List;
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
 
-import org.apache.webbeans.WebBeansConstants;
 import org.apache.webbeans.config.WebBeansFinder;
+import org.apache.webbeans.util.WebBeansConstants;
 
 /**
  * Defines the web beans name space.

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansResolver.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansResolver.java?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansResolver.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansResolver.java
Sat Apr 24 22:21:51 2010
@@ -16,8 +16,8 @@ package org.apache.webbeans.xml;
 import java.io.IOException;
 import java.io.InputStream;
 
-import org.apache.webbeans.WebBeansConstants;
 import org.apache.webbeans.logger.WebBeansLogger;
+import org.apache.webbeans.util.WebBeansConstants;
 import org.apache.webbeans.util.WebBeansUtil;
 import org.xml.sax.EntityResolver;
 import org.xml.sax.InputSource;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansXMLConfigurator.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansXMLConfigurator.java?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansXMLConfigurator.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/WebBeansXMLConfigurator.java
Sat Apr 24 22:21:51 2010
@@ -43,7 +43,6 @@ import javax.inject.Inject;
 import javax.inject.Scope;
 import javax.interceptor.Interceptor;
 
-import org.apache.webbeans.WebBeansConstants;
 import org.apache.webbeans.annotation.DefaultLiteral;
 import org.apache.webbeans.component.AbstractOwbBean;
 import org.apache.webbeans.component.xml.XMLManagedBean;
@@ -78,6 +77,7 @@ import org.apache.webbeans.spi.plugins.O
 import org.apache.webbeans.util.AnnotationUtil;
 import org.apache.webbeans.util.Asserts;
 import org.apache.webbeans.util.ClassUtil;
+import org.apache.webbeans.util.WebBeansConstants;
 import org.apache.webbeans.util.WebBeansUtil;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLDefinitionUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLDefinitionUtil.java?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLDefinitionUtil.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLDefinitionUtil.java
Sat Apr 24 22:21:51 2010
@@ -36,7 +36,6 @@ import javax.inject.Named;
 import javax.inject.Scope;
 import javax.interceptor.AroundInvoke;
 
-import org.apache.webbeans.WebBeansConstants;
 import org.apache.webbeans.component.AbstractOwbBean;
 import org.apache.webbeans.component.AbstractInjectionTargetBean;
 import org.apache.webbeans.component.InjectionTargetBean;
@@ -61,6 +60,7 @@ import org.apache.webbeans.util.Annotati
 import org.apache.webbeans.util.Asserts;
 import org.apache.webbeans.util.ClassUtil;
 import org.apache.webbeans.util.SecurityUtil;
+import org.apache.webbeans.util.WebBeansConstants;
 import org.apache.webbeans.util.WebBeansUtil;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLUtil.java?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLUtil.java (original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLUtil.java Sat
Apr 24 22:21:51 2010
@@ -24,7 +24,6 @@ import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
 
-import org.apache.webbeans.WebBeansConstants;
 import org.apache.webbeans.annotation.DefaultLiteral;
 import org.apache.webbeans.annotation.WebBeansAnnotation;
 import org.apache.webbeans.component.xml.XMLProducerBean;
@@ -40,6 +39,7 @@ import org.apache.webbeans.util.Annotati
 import org.apache.webbeans.util.Asserts;
 import org.apache.webbeans.util.ClassUtil;
 import org.apache.webbeans.util.SecurityUtil;
+import org.apache.webbeans.util.WebBeansConstants;
 
 import javax.xml.parsers.DocumentBuilder;
 import javax.xml.parsers.DocumentBuilderFactory;

Modified: openwebbeans/trunk/webbeans-jms/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-jms/pom.xml?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-jms/pom.xml (original)
+++ openwebbeans/trunk/webbeans-jms/pom.xml Sat Apr 24 22:21:51 2010
@@ -25,7 +25,7 @@
 	</parent>
 	<artifactId>openwebbeans-jms</artifactId>
 	<name>Apache OpenWebBeans :: JMS integration</name>
-	<packaging>jar</packaging>
+	<packaging>bundle</packaging>
 	<description>OpenWebBeans JMS Integration</description>
 	<dependencies>
 		
@@ -67,4 +67,24 @@
 		</dependency>		
 		
 	</dependencies>
+	
+	   <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+        		<extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.webbeans.jms*;version=1.0                        
  
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+		
+	
 </project>

Modified: openwebbeans/trunk/webbeans-jsf/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-jsf/pom.xml?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-jsf/pom.xml (original)
+++ openwebbeans/trunk/webbeans-jsf/pom.xml Sat Apr 24 22:21:51 2010
@@ -25,7 +25,7 @@
 
     <artifactId>openwebbeans-jsf</artifactId>
     <name>Apache OpenWebBeans :: JSF integration</name>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
     <description>JSF integration for the  OpenWebBeans Implementation</description>
 
     <dependencies>
@@ -76,4 +76,24 @@
 		</dependency>		        
       
     </dependencies>
+    
+   <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+        		<extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.webbeans.jsf*;version=1.0                        
  
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    
+    
 </project>

Modified: openwebbeans/trunk/webbeans-openejb/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-openejb/pom.xml?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-openejb/pom.xml (original)
+++ openwebbeans/trunk/webbeans-openejb/pom.xml Sat Apr 24 22:21:51 2010
@@ -25,7 +25,7 @@
 	</parent>
 	<artifactId>openwebbeans-ejb</artifactId>
 	<name>Apache OpenWebBeans :: Apache OpenEJB Profile</name>
-	<packaging>jar</packaging>
+	<packaging>bundle</packaging>
 	<description>OpenWebBeans Apache OpenEJB Profile</description>
 	<dependencies>
 		
@@ -87,4 +87,24 @@
 		</dependency>
 		
 	</dependencies>
+	
+   <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+        		<extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.webbeans.ejb*;version=1.0                        
  
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+	
+	
 </project>

Modified: openwebbeans/trunk/webbeans-resource/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-resource/pom.xml?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-resource/pom.xml (original)
+++ openwebbeans/trunk/webbeans-resource/pom.xml Sat Apr 24 22:21:51 2010
@@ -27,7 +27,7 @@
     </parent>
     <artifactId>openwebbeans-resource</artifactId>
     <name>Apache OpenWebBeans :: Resource Integration</name>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
     <description>OpenWebBeans Resource Integration</description>
     <dependencies>
 
@@ -63,4 +63,24 @@
             <artifactId>junit</artifactId>
         </dependency>
     </dependencies>
+    
+   <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+        		<extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.webbeans.resource.spi.se*;version=1.0            
               
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    
+    
 </project>

Modified: openwebbeans/trunk/webbeans-spi/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/pom.xml?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/pom.xml (original)
+++ openwebbeans/trunk/webbeans-spi/pom.xml Sat Apr 24 22:21:51 2010
@@ -25,7 +25,7 @@
 
     <artifactId>openwebbeans-spi</artifactId>
     <name>Apache OpenWebBeans :: SPI</name>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
     <description>OpenWebBeans SPI</description>
 
     <dependencies>
@@ -69,4 +69,23 @@
         </dependency>
       
     </dependencies>
+    
+  <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+        		<extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.webbeans.spi*;version=1.0                        
  
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>    
+    
 </project>

Modified: openwebbeans/trunk/webbeans-tomcat6/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-tomcat6/pom.xml?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-tomcat6/pom.xml (original)
+++ openwebbeans/trunk/webbeans-tomcat6/pom.xml Sat Apr 24 22:21:51 2010
@@ -25,7 +25,7 @@
 
     <artifactId>openwebbeans-tomcat6</artifactId>
     <name>Apache OpenWebBeans :: Apache Tomcat 6 Web Profile</name>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
     <description>OpenWebBeans Apache Tomcat 6 Web Profile</description>
 
     <dependencies>
@@ -54,4 +54,22 @@
 	 	<scope>provided</scope>
 	 </dependency>      
     </dependencies>
+    
+	  <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+        		<extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.webbeans.web.tomcat*;version=1.0
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>        
 </project>

Modified: openwebbeans/trunk/webbeans-web/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/pom.xml?rev=937713&r1=937712&r2=937713&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/pom.xml (original)
+++ openwebbeans/trunk/webbeans-web/pom.xml Sat Apr 24 22:21:51 2010
@@ -25,7 +25,7 @@
 
     <artifactId>openwebbeans-web</artifactId>
     <name>Apache OpenWebBeans :: Java EE Web Utility</name>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
     <description>OpenWebBeans Java EE Web Utility</description>
 
     <dependencies>
@@ -84,4 +84,24 @@
         
       
     </dependencies>
+    
+  <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+        		<extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.webbeans.servlet*;version=1.0,                   
        
+                            org.apache.webbeans.web*;version=1.0
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>    
+    
 </project>



Mime
View raw message