code from the Maven Fundamentals Pluralsight course.