Dave,
I think this change (along with the corresponding openejb change) is
causing a build failure in trunk when building geronimo using a private
build of openejb. I can build if we don't exclude javaee-api and pick
up the classes transitively. However, you specifically added the
exclusion with this change so I presume you don't want that. Must we
keep the excludes for javaee-api?
The failures are attempting to build the axis2 ejb core module
(axis2/geronimo-axis2-ejb).
Here are the failures:
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBInterceptor.java:[22,25]
package javax.interceptor does not exist
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBInterceptor.java:[53,45]
package javax.interceptor does not exist
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBProviderDispatcher.java:[21,25]
package javax.interceptor does not exist
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBProviderDispatcher.java:[30,12]
cannot find symbol
symbol : class InvocationContext
location: class org.apache.geronimo.axis2.ejb.EJBProviderDispatcher
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBProviderDispatcher.java:[32,57]
cannot find symbol
symbol : class InvocationContext
location: class org.apache.geronimo.axis2.ejb.EJBProviderDispatcher
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBServiceDispatcher.java:[23,25]
package javax.interceptor does not exist
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBServiceDispatcher.java:[30,12]
cannot find symbol
symbol : class InvocationContext
location: class org.apache.geronimo.axis2.ejb.EJBServiceDispatcher
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBServiceDispatcher.java:[32,56]
cannot find symbol
symbol : class InvocationContext
location: class org.apache.geronimo.axis2.ejb.EJBServiceDispatcher
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBEndpointController.java:[21,25]
package javax.interceptor does not exist
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBEndpointController.java:[29,12]
cannot find symbol
symbol : class InvocationContext
location: class org.apache.geronimo.axis2.ejb.EJBEndpointController
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBEndpointController.java:[31,33]
cannot find symbol
symbol : class InvocationContext
location: class org.apache.geronimo.axis2.ejb.EJBEndpointController
/home/jbohn/geronimo/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBInterceptor.java:[52,5]
cannot find symbol
symbol : class AroundInvoke
location: class org.apache.geronimo.axis2.ejb.EJBInterceptor
[EMAIL PROTECTED] wrote:
Author: dblevins
Date: Tue Jan 29 03:10:53 2008
New Revision: 616256
URL: http://svn.apache.org/viewvc?rev=616256&view=rev
Log:
excluding the openejb shaded api jar
Modified:
geronimo/server/trunk/pom.xml
Modified: geronimo/server/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/geronimo/server/trunk/pom.xml?rev=616256&r1=616255&r2=616256&view=diff
==============================================================================
--- geronimo/server/trunk/pom.xml (original)
+++ geronimo/server/trunk/pom.xml Tue Jan 29 03:10:53 2008
@@ -842,42 +842,84 @@
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-core</artifactId>
<version>${openejbVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>javaee-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-client</artifactId>
<version>${openejbVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>javaee-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-ejbd</artifactId>
<version>${openejbVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>javaee-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-axis</artifactId>
<version>${openejbVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>javaee-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-server</artifactId>
<version>${openejbVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>javaee-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-loader</artifactId>
<version>${openejbVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>javaee-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-jee</artifactId>
<version>${openejbVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>javaee-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>