I believe to fix your issue you need to add them as a dependency of the plugin, so similar to below.
[...] <build> [...] <plugins> [...] <plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-wsdl2code-maven-plugin</artifactId> [...] <dependencies> <!-- ***** add dependencies here ***** --> </dependencies> </plugin> [...] John On 22 February 2012 16:38, jgruber <john.t.gru...@gmail.com> wrote: > Whenever I try to run the axistoos:wsdl2java action I get the following: > > > Feb 22, 2012 10:31:52 AM org.apache.axis.utils.JavaUtils > isAttachmentSupported > WARNING: Unable to find required classes (javax.activation.DataHandler and > javax.mail.internet.MimeMultipart). Attachment support is disabled. > > > In real-life I just needed to have javax.mail and javax.activation in my > class path when I generated my sources and I don't get this. In my pom.xml > I have: > > <dependency> > <groupId>javax.activation</groupId> > <artifactId>activation</artifactId> > <version>1.1.1</version> > <scope>generate-sources</scope> > </dependency> > <dependency> > <groupId>javax.mail</groupId> > <artifactId>mail</artifactId> > <version>1.4.4</version> > <scope>generate-sources</scope> > </dependency> > > I've tried every scope I can think of to get these dependencies to be part > of the class path for the axistool:wsdl2java action, but can't seem to make > it work. > > Anyone have any advice why these dependencies are not showing up to the > axistool module action? > > Help... > > Thanks, > > John > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/axistools-wsdl2java-tp5505592p5505592.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org