openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r938809 - in /openwebbeans/trunk: webbeans-ee-common/ webbeans-ee/ webbeans-ejb/ webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/ webbeans-impl/ webbeans-impl/src/main/java/org/apache/webbeans/intercept/ webbeans-jms/ webbea...
Date Wed, 28 Apr 2010 07:33:15 GMT
Author: gerdogdu
Date: Wed Apr 28 07:33:14 2010
New Revision: 938809

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

Modified:
    openwebbeans/trunk/webbeans-ee-common/pom.xml
    openwebbeans/trunk/webbeans-ee/pom.xml
    openwebbeans/trunk/webbeans-ejb/pom.xml
    openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/EjbBeanProxyHandler.java
    openwebbeans/trunk/webbeans-impl/pom.xml
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorHandler.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=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ee-common/pom.xml (original)
+++ openwebbeans/trunk/webbeans-ee-common/pom.xml Wed Apr 28 07:33:14 2010
@@ -25,7 +25,6 @@
 
     <artifactId>openwebbeans-ee-common</artifactId>
     <name>Apache OpenWebBeans :: Java EE Common Utility</name>
-    <packaging>bundle</packaging>
     <description>OpenWebBeans Java EE Common</description>
 
     <dependencies>
@@ -61,23 +60,4 @@
               
     </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=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ee/pom.xml (original)
+++ openwebbeans/trunk/webbeans-ee/pom.xml Wed Apr 28 07:33:14 2010
@@ -25,7 +25,6 @@
 
     <artifactId>openwebbeans-ee</artifactId>
     <name>Apache OpenWebBeans :: Java EE Utility</name>
-    <packaging>bundle</packaging>
     <description>OpenWebBeans Java EE Utility</description>
 
     <dependencies>
@@ -95,25 +94,4 @@
 		</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=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ejb/pom.xml (original)
+++ openwebbeans/trunk/webbeans-ejb/pom.xml Wed Apr 28 07:33:14 2010
@@ -25,7 +25,6 @@
 	</parent>
 	<artifactId>openwebbeans-ejb-common</artifactId>
 	<name>Apache OpenWebBeans :: Java EE EJB Utility</name>
-	<packaging>jar</packaging>
 	<description>OpenWebBeans Java EE EJB Utility</description>
 	<dependencies>
 		
@@ -65,23 +64,4 @@
 		
 	</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-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/EjbBeanProxyHandler.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/EjbBeanProxyHandler.java?rev=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/EjbBeanProxyHandler.java
(original)
+++ openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/EjbBeanProxyHandler.java
Wed Apr 28 07:33:14 2010
@@ -89,7 +89,7 @@ public class EjbBeanProxyHandler impleme
         
         if(ClassUtil.isObjectMethod(methodName) && !methodName.equals("toString"))
         {
-            logger.warn("Calling method on proxy is restricted except Object.toString(),
but current method is Object." + methodName);
+            logger.trace("Calling method on proxy is restricted except Object.toString(),
but current method is Object." + methodName);
             
             boolean access = method.isAccessible();
             SecurityUtil.doPrivilegedSetAccessible(method, true);

Modified: openwebbeans/trunk/webbeans-impl/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/pom.xml?rev=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/pom.xml (original)
+++ openwebbeans/trunk/webbeans-impl/pom.xml Wed Apr 28 07:33:14 2010
@@ -27,7 +27,6 @@
     </parent>
     <artifactId>openwebbeans-impl</artifactId>
     <name>Apache OpenWebBeans :: OpenWebBeans Core</name>
-    <packaging>bundle</packaging>
     <description>Implementation of the Web Beans API</description>
 
     <dependencies>
@@ -101,43 +100,7 @@
                     </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/intercept/InterceptorHandler.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorHandler.java?rev=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorHandler.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorHandler.java
Wed Apr 28 07:33:14 2010
@@ -180,7 +180,7 @@ public abstract class InterceptorHandler
             
             if(ClassUtil.isObjectMethod(methodName) && !methodName.equals("toString"))
             {
-                logger.warn("Calling method on proxy is restricted except Object.toString(),
but current method is Object." + methodName);
+                logger.trace("Calling method on proxy is restricted except Object.toString(),
but current method is Object." + methodName);
             }
             
             else if (bean instanceof InjectionTargetBean<?>)

Modified: openwebbeans/trunk/webbeans-jms/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-jms/pom.xml?rev=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-jms/pom.xml (original)
+++ openwebbeans/trunk/webbeans-jms/pom.xml Wed Apr 28 07:33:14 2010
@@ -25,7 +25,6 @@
 	</parent>
 	<artifactId>openwebbeans-jms</artifactId>
 	<name>Apache OpenWebBeans :: JMS integration</name>
-	<packaging>bundle</packaging>
 	<description>OpenWebBeans JMS Integration</description>
 	<dependencies>
 		
@@ -68,23 +67,4 @@
 		
 	</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=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-jsf/pom.xml (original)
+++ openwebbeans/trunk/webbeans-jsf/pom.xml Wed Apr 28 07:33:14 2010
@@ -25,7 +25,6 @@
 
     <artifactId>openwebbeans-jsf</artifactId>
     <name>Apache OpenWebBeans :: JSF integration</name>
-    <packaging>bundle</packaging>
     <description>JSF integration for the  OpenWebBeans Implementation</description>
 
     <dependencies>
@@ -77,23 +76,4 @@
       
     </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=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-openejb/pom.xml (original)
+++ openwebbeans/trunk/webbeans-openejb/pom.xml Wed Apr 28 07:33:14 2010
@@ -25,7 +25,6 @@
 	</parent>
 	<artifactId>openwebbeans-ejb</artifactId>
 	<name>Apache OpenWebBeans :: Apache OpenEJB Profile</name>
-	<packaging>bundle</packaging>
 	<description>OpenWebBeans Apache OpenEJB Profile</description>
 	<dependencies>
 		
@@ -88,23 +87,4 @@
 		
 	</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=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-resource/pom.xml (original)
+++ openwebbeans/trunk/webbeans-resource/pom.xml Wed Apr 28 07:33:14 2010
@@ -27,7 +27,6 @@
     </parent>
     <artifactId>openwebbeans-resource</artifactId>
     <name>Apache OpenWebBeans :: Resource Integration</name>
-    <packaging>bundle</packaging>
     <description>OpenWebBeans Resource Integration</description>
     <dependencies>
 
@@ -64,23 +63,4 @@
         </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=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/pom.xml (original)
+++ openwebbeans/trunk/webbeans-spi/pom.xml Wed Apr 28 07:33:14 2010
@@ -25,7 +25,6 @@
 
     <artifactId>openwebbeans-spi</artifactId>
     <name>Apache OpenWebBeans :: SPI</name>
-    <packaging>bundle</packaging>
     <description>OpenWebBeans SPI</description>
 
     <dependencies>
@@ -67,25 +66,6 @@
         	<artifactId>geronimo-validation_1.0_spec</artifactId>
         	<optional>true</optional>
         </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=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-tomcat6/pom.xml (original)
+++ openwebbeans/trunk/webbeans-tomcat6/pom.xml Wed Apr 28 07:33:14 2010
@@ -25,7 +25,6 @@
 
     <artifactId>openwebbeans-tomcat6</artifactId>
     <name>Apache OpenWebBeans :: Apache Tomcat 6 Web Profile</name>
-    <packaging>bundle</packaging>
     <description>OpenWebBeans Apache Tomcat 6 Web Profile</description>
 
     <dependencies>
@@ -55,21 +54,4 @@
 	 </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=938809&r1=938808&r2=938809&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/pom.xml (original)
+++ openwebbeans/trunk/webbeans-web/pom.xml Wed Apr 28 07:33:14 2010
@@ -25,7 +25,6 @@
 
     <artifactId>openwebbeans-web</artifactId>
     <name>Apache OpenWebBeans :: Java EE Web Utility</name>
-    <packaging>bundle</packaging>
     <description>OpenWebBeans Java EE Web Utility</description>
 
     <dependencies>
@@ -85,23 +84,4 @@
       
     </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