Maven: By Example
CSS XSLT HTML JavaScript Shell TeX Ruby
Latest commit 92fe53e Feb 13, 2017 @Trzaska Trzaska committed on GitHub Update chapter-customizing.asciidoc
Removing the "cd .." since "App.java" is located in the folder custom. Otherwise one would try to delete "App.java" in the folder "mavenbook".
Added "cd ..", so one creates the folder "wather" in the folder "mavenbook.
Permalink
Failed to load latest commit information.
covers Rearranged a number of files in preparation for the asciidocification Aug 27, 2011
doc Resurrect the style guide section as contributor doco. May 27, 2015
docbook-xsl Merge branch 'build-add-epub-format' of github.com:apjanke/maven-exam… Jun 12, 2015
examples various text fixes, code snippet and pom upgrades, #10 Sep 22, 2015
figs updated installation procedure to no longer need M2_HOME May 14, 2015
html removed unused epub stuff Jun 20, 2013
images Completed the conversion to asciidoc added a functioning build Aug 28, 2011
latex Rework build.sh to remove a2x and add options. May 30, 2015
pdf Rearranged a number of files in preparation for the asciidocification Aug 27, 2011
site updated css to fix search input box Jun 6, 2014
.gitignore Bumping up to 0.6-SNAPSHOT Dec 7, 2010
README.asciidoc Resurrect the style guide section as contributor doco. May 27, 2015
appendix-license.asciidoc Split the asciidoc for Maven by Example into seperate chapter files. … Nov 25, 2012
assemble.sh Minor reformatting of build scripts for readability. May 27, 2015
book-mvnex-docinfo.xml Removed information from the XML supplement for the docbook format May 14, 2012
book-mvnex.asciidoc Split the asciidoc for Maven by Example into seperate chapter files. … Nov 25, 2012
build.sh making target directory upfront, this way the first invocation off a … Feb 19, 2016
chapter-customizing.asciidoc Update chapter-customizing.asciidoc Feb 13, 2017
chapter-installation.asciidoc Corrected capitalization Jul 3, 2016
chapter-introduction.asciidoc Added missing word in Jul 3, 2016
chapter-multimodule-web-spring.asciidoc fixed url to examples zip Jun 30, 2016
chapter-multimodule.asciidoc fixed url to examples zip Jun 30, 2016
chapter-optimizing.asciidoc consistent usage of Simple Weather and Yahoo Sep 22, 2015
chapter-simple-project.asciidoc fixed url to examples zip Jun 30, 2016
chapter-web.asciidoc fixed url to examples zip Jun 30, 2016
clean.sh allowed build to be run successfully multiple times Jun 12, 2015
deploy-to-production.sh Minor reformatting of build scripts for readability. May 27, 2015
deploy-to-staging.sh Minor reformatting of build scripts for readability. May 27, 2015
preface-copyright.asciidoc Split the asciidoc for Maven by Example into seperate chapter files. … Nov 25, 2012
preface.asciidoc added Andrew Janke as contributor, minor other tweaks Jun 12, 2015

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