File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven/Axis2/Eclipse project def. and build? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven/Axis2/Eclipse project def. and build?" Watch "Maven/Axis2/Eclipse project def. and build?" New topic

Maven/Axis2/Eclipse project def. and build?

david watts

Joined: Jun 30, 2009
Posts: 1
I've been tasked with creating a web service(s) under Eclipse with a Maven build. I'm new to both Maven and Axis2, though I have a rudimentary understanding of both. I have installed the Maven plugin for Eclipse. I don't know where to start with this. I've Googled for a tutorial on these processes but have come up empty handed. Can someone recommend a path to take to get this started? Any help would be GREATLY appreciated!
Peter Johnson

Joined: May 14, 2008
Posts: 5852

David, welcome to Java Ranch!

My first piece of advice - don't expect to do all of this in Eclipse and have it "just work". A cursory browse through the IDE forums will reveal a bounty of posts from people who are "fighting" with Eclipse to accomplish seemingly easy tasks. So here is my advice:

Learn how to use Maven from a command line to do builds. It is OK to use Eclipse as a text editor for this, but don't use the m2eclipse features at this point. There are two free books online for Maven, both mentioned here:

Then learn Axis2. Again, use Eclipse as a text editor - don't use the web service build in features. While you are doing this, use Maven to do builds (still from the command line).

At that point you are really done. But if you like being challenged, you can now learn how m2eclipse works and how the web service tools in Eclipse work and try to get the two of them to agree - if you can get the web services tools to generate the source code in a location that Maven likes, then half the battle is won.

And we are here to help should you get stuck.

Good luck!

JBoss In Action
I agree. Here's the link:
subject: Maven/Axis2/Eclipse project def. and build?
It's not a secret anymore!