I started with "Maven by Example" which is free from Sonatype: https://books.sonatype.com/mvnex-book/reference/index.html
I worked by way though this book over two days, then using it and "Maven: The Complete Reference" ( https://books.sonatype.com/mvnref-book/reference/index.html) and Apache's web site I began moving a library of eight projects from Ant to Maven. Good luck! On Thu, Jan 27, 2022 at 5:23 PM Bruno Melloni <b...@melloni.com> wrote: > It became very clear to me that my current approach of googling > tutorials, guides and solutions is a wildly inadequate approach to learn > Maven. Mainly because all of those are either far too basic for "real > life" projects, or because they assume prior knowledge that I don't yet > have. > > So, I am looking to buy a good book to methodically learn all I need > about Maven. > > Because of how I learn best I would like to find a book that uses the > following as its presentation approach: > > * It must be gradual, starting from the assumption that I know nothing > and only learn what is taught in the book. > * New concepts must include sample code that I can type and test, > either complete code or as an extension to a previous example. > Absolutely no "loose snippets" that assume prior knowledge (for > example this is what makes most formal Spring documentation > completely useless to me, as I often can't follow it to a complete > functioning solution, and I had similar but not as severe issues > with the formal Apache Maven documentation). > * The end of each chapter must have exercises that I can code and run > to test my understanding, with the ability to download the solution > from a website in those cases when my code fails to function correctly. > * Not essential but it would be ideal if the book was available in > electronic form and readable through an ebook reader that functions > on a Microsoft Surface tablet (Windows 10/11) and remembers the last > page I read (even better if position syncs between the tablet and my > desktop so that I can continue reading on either). > > If _you learned Maven from a book that matches at least the first 3 > criteria_, please recommend it. I'd greatly appreciate it. > -- "Hell hath no limits, nor is circumscrib'd In one self-place; but where we are is hell, And where hell is, there must we ever be" --Christopher Marlowe, *Doctor Faustus* (v. 111-13)