File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes help with maven and sts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "help with maven and sts" Watch "help with maven and sts" New topic
Author

help with maven and sts

dimo kilala
Greenhorn

Joined: May 24, 2013
Posts: 1
Hello.
I'm new to Java Development and I'm trying to go through this book Spring in Practice. http://www.manning.com/wheeler/
The trouble is the book assumes the reader is familiar with Maven and I am not.
I don't know how to work the sample code which is found here: https://github.com/springinpractice
The author also posted some instructions here which i don't understand: http://springinpractice.com/code-and-setup/
Apparently it's a "multi-module" project with each chapter having separate branches.

I downloaded STS and tried to import the Maven projects but I don't know what to do next.
Can anyone please help me?
It's very frustrating that I'm trying to learn Spring and I'm expected to first learn something that is not essential to Spring itself.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30753
    
156

Dimo,
Welcome to CodeRanch!

This article serves as a decent intro to Spring. After you read that, can you post what step you got up to in the instructions? In other words, what did you get stuck on? Was there an error message?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

I have found that many projects have switched to Maven for builds and you need Maven knowledge to build and run the example apps. So it is worthwhile to learn something about Maven; a good place to start would be Better Builds with Maven (http://www.maestrodev.com/support/) - it's a little dated but it does explain the concepts behind Maven and then walks you through two tutorials (one a regular Java app, one a web app) that will help you gain a good understanding of Maven. And it doesn't take all that long - I think I went through it in about 1/2 day.

For a more up-to-date Maven reference, use Maven: The Complete Reference (http://www.sonatype.com/resources/books).


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help with maven and sts