Author: gerdogdu
Date: Mon Nov  1 06:42:00 2010
New Revision: 1029564

URL: http://svn.apache.org/viewvc?rev=1029564&view=rev
Log:
[OWB-473] bundles that use javasissist to proxy their contents need to import 
some javassist packages, thanks to David Jencks

Modified:
    openwebbeans/trunk/webbeans-jsf/pom.xml

Modified: openwebbeans/trunk/webbeans-jsf/pom.xml
URL: 
http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-jsf/pom.xml?rev=1029564&r1=1029563&r2=1029564&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-jsf/pom.xml (original)
+++ openwebbeans/trunk/webbeans-jsf/pom.xml Mon Nov  1 06:42:00 2010
@@ -76,5 +76,41 @@
         </dependency>
 
     </dependencies>
-    
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.1.0</version>
+                <executions>
+                    <execution>
+                        <id>bundle-manifest</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                            <goal>manifest</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <supportedProjectTypes>
+                        <supportedProjectType>jar</supportedProjectType>
+                        <supportedProjectType>bundle</supportedProjectType>
+                        <supportedProjectType>war</supportedProjectType>
+                    </supportedProjectTypes>
+                    <instructions>
+                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                        <Bundle-Version>${project.version}</Bundle-Version>
+                        
<Export-Package>!org.apache.webbeans.internal.*,org.apache.webbeans.*;version="${project.version}"</Export-Package>
+                        
<Private-Package>org.apache.webbeans.internal.*</Private-Package>
+                        <Import-Package>
+                            *,
+                            javassist.util.proxy
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+            
+        </plugins>
+    </build>
 </project>


Reply via email to