Chapter 12. A Very Short Maven Guide

Table of Contents

Snapshot Compilation and Snapshot Package Generation
Release Compilation, Generation
Generating tar.gz, tar.bz2 File With Sources Only

Artur Hefczyc <artur.hefczyc@tigase.net> v2.0, June 2014: Reformatted for AsciiDoc. :toc: :numbered: :website: http://tigase.net/ :Date: 2010-04-06 21:22

If you don’t use Maven at all or use it once a year you may find the document a useful maven commands reminder:

Snapshot Compilation and Snapshot Package Generation

  • mvn compile - compilation of the snapshot package
  • mvn package - create snapshot jar file
  • mvn install - install in local repository shanpshot jar file
  • mvn deploy - deploy to the remote repository snapshot jar file