On Mon, 2009-03-16 at 13:11 +0100, Andreas Veithen wrote: > 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. >
Thanks Andreas for pointing out the issue. The only thing that I do not get is that AXIOM is for me about creating a OM for stax. I understand dependencies for StAX but not for mail/activation. In my use case I need AXIOM to create an object model and here I do not need mail/activation at all. To wrapping up and add my 2 cents to the discussion WSCOMMONS-417 it was quite time intensive to find out that an Axiom dependency caused that our mails failed. Meaning as long as Geronimo does not work as expected and we cannot ship with sun we should at least add a BIG HEADSUP that using AXIOM out of the box may cause the side effect that mailing may fail if not used with suns libs. salu2 > 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) > > > > > > > > > > -- 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)