Generate-sources is a phase, not a dependency scope. Get rid of that for a start. I'm surprised maven even allowed that. I guess it accepts anything there.
> -----Original Message----- > From: jgruber [mailto:john.t.gru...@gmail.com] > Sent: Wednesday, February 22, 2012 9:38 AM > To: users@maven.apache.org > Subject: axistools:wsdl2java > > 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 ______________________________________________________________________ This message, including any attachments, is confidential and contains information intended only for the person(s) named above. Any other distribution, copying or disclosure is strictly prohibited. If you are not the intended recipient or have received this message in error, please notify us immediately by reply email and permanently delete the original transmission from all of your systems and hard drives, including any attachments, without making a copy. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org