Building the CLI

This project, like the others, will be a multi-module Maven project. We'll have one module for all of the core code, and we'll have another for the GUI we'll write to help manage the rules.

To create the project, we'll do something a little different this time. Rather than creating the project using NetBeans, we'll create it from the command line using Maven archetypes, which can be thought of roughly as project templates, so you can see how it's done that way:

    $ mvn archetype:generate  -DarchetypeGroupId=      org.codehaus.mojo.archetypes  -DarchetypeArtifactId=pom-root - DarchetypeVersion=RELEASE ... Define value for property 'groupId': com.steeplesoft.mailfilter Define value for property 'artifactId': mailfilter-master Define ...

Get Java 9: Building Robust Modular Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.