Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven/Axis2/Eclipse project def. and build?

 
david watts
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://maven.apache.org/articles.html

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!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic