answered 2019-03-31 14:56:18 -0500
Check the post "User defined models" for a simple example. Read the whole chapter on "Model Writing" in POM manual.