Since we want to make this as easy to use as possible, we'll now build a GUI to help manage these rules. To create the project, we'll use the same Maven archetype we used in creating the CLI:
$ mvn archetype:generate \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DarchetypeArtifactId=maven-archetype-quickstart \ -DarchetypeVersion=RELEASE Define value for property 'groupId': com.steeplesoft.mailfilter Define value for property 'artifactId': mailfilter-gui Define value for property 'version': 1.0-SNAPSHOT Define value for property 'package': com.steeplesoft.mailfilter.gui
Once the POM has been created, we need to edit it a bit. We need to set the parent by adding this element to pom.xml:
<parent> <groupId>com.steeplesoft.j9bp.mailfilter</groupId> ...