Skip to content
Maven: By Example
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
covers
doc
docbook-xsl
examples
figs
html
images
latex
pdf
site
.gitignore
README.asciidoc
appendix-license.asciidoc
assemble.sh
book-mvnex-docinfo.xml
book-mvnex.asciidoc
build.sh
chapter-customizing.asciidoc
chapter-installation.asciidoc
chapter-introduction.asciidoc
chapter-multimodule-web-spring.asciidoc
chapter-multimodule.asciidoc
chapter-optimizing.asciidoc
chapter-simple-project.asciidoc
chapter-web.asciidoc
clean.sh
deploy-to-production.sh
deploy-to-staging.sh
preface-copyright.asciidoc
preface.asciidoc

README.asciidoc

Maven by Example

About the Book

An introduction to Apache Maven as formerly published as part of the book Maven: The Definitive Guide.

The book is available in HTML and PDF format at http://www.sonatype.com/resources/books/maven-by-example.

About this Project

This is the source code and build setup for the book. The content is written in asciidoc format. To edit asciidoc, use Emacs, vi, TextMate, or whatever other text editor you prefer. You can even just preview the files right in GitHub and edit them on the web interface directly.

The main file for the book is

  • book-mvnex.asciidoc

which in turn includes a whole bunch of files named

  • chapter-*.asciidoc

These are all you should have to edit in terms of text content.

Additional documentation for authors and contributors to this book can be found in the doc/ subdirectory of the project.

Figures and screenshots?

Put them into figs/orig.

The rest is taken care of by the build.

Anything else?

You’ll see a lot of distracting files in that figs/orig directory. For now, you should just ignore them. Actually, in general, you’ll notice a number of distracting files in this project. Really, just ignore them or contact us directly if you need something.

How to build the book

I knew you’d ask that, and here’s the simple answer:

  • Install asciidoc

  • Install dblatex and the docbook xsl style sheets

  • Install python

  • Run ./build.sh

Build is known to work on Mac OS X and Ubuntu. If you use something else you might or might not end up in trouble.

Issues, Contributions, and More

This book is CC licensed (CC BY-NC-ND 3.0 US) and we welcome your contributions. Please file issues and send pull requests on the GitHub project.

For further questions please contact us at book@sonatype.com.

Thanks

Sonatype Team

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.