Thorsten, Axiom requires the Java Activation Framework and JavaMail API, and it declares the Geronimo implementations as dependencies. If you want Sun's implementations, then indeed you need to exclude these dependencies, but at the same time you need to make sure that your project depends (directly or transitively) on the corresponding artifacts. Note that there has been a discussion [1] about which implementations should be used by Axiom, but there is no consensus.
Andreas [1] https://issues.apache.org/jira/browse/WSCOMMONS-417 On Mon, Mar 16, 2009 at 12:57, Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es> wrote: > On Fri, 2009-03-13 at 11:29 +0100, Javier Puerto wrote: >> I have changed the dependency in the pom to look like this: >> <dependency> >> <groupId>org.apache.ws.commons.axiom</groupId> >> <artifactId>axiom-impl</artifactId> >> <version>1.2.6</version> >> <exclusions> >> <exclusion> >> <groupId>org.apache.geronimo.specs</groupId> >> <artifactId>geronimo-activation_1.1_spec</artifactId> >> </exclusion> >> <exclusion> >> <groupId>org.apache.geronimo.specs</groupId> >> <artifactId>geronimo-javamail_1.4_spec</artifactId> >> </exclusion> >> </exclusions> >> </dependency> > > Actually that makes me wonder why this are dependencies for AXIOM to > start with? Do we really need this dependencies for axiom, or is it save > to just exclude them? > > salu2 > -- > Thorsten Scherler <thorsten.at.apache.org> > Open Source Java <consulting, training and solutions> > > Sociedad Andaluza para el Desarrollo de la Sociedad > de la Información, S.A.U. (SADESI) > > > > >