Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help with maven and sts

 
dimo kilala
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34383
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic