Building a POM

Revision as of 08:04, 18 March 2016 by Hinerm (talk | contribs) (Initial version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When you start a new Maven project, one of the first things you will do is create an appropriate pom.xml. The POM determines what resources are available to your project. Given the scope of the ImageJ project, there are several possible starting points. The purpose of this guide is to help you select a pom.xml based on your individual project's goals.

Using ImageJ

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""

		<relativePath />


<!-- TODO: Fill out these sections -->

		NB: Need a least one element to override the parent.

<!-- TODO: See Optional Dependencies section -->
		<!-- ImageJ dependencies -->

		<!-- Test dependencies -->

		<!-- NB: for project parent, in case of partial checkout -->

Optional dependencies

Simply copy and paste any or all of these into your POM's <dependency> block to add the indicated functionality.

<!-- User-facing commands -->

<!-- Run graphically with the classic (ImageJ 1.x) user interface -->

<!-- Run graphically with the ImageJ2 user interface-->