Maven Generate error when 'withFrontEnd' is 'n'
Output included a build failure.
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: application-archetype:3.0.0
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: edu.byu.hbll
[INFO] Parameter: artifactId, Value: test
[INFO] Parameter: version, Value: 1.0.0
[INFO] Parameter: package, Value: edu.byu.hbll.test
[INFO] Parameter: packageInPathFormat, Value: edu/byu/hbll/test
[INFO] Parameter: withConfig, Value: y
[INFO] Parameter: withFrontEnd, Value: n
[INFO] Parameter: groupId, Value: edu.byu.hbll
[INFO] Parameter: version, Value: 1.0.0
[INFO] Parameter: repository, Value: test
[INFO] Parameter: package, Value: edu.byu.hbll.test
[INFO] Parameter: description, Value: test
[INFO] Parameter: artifactId, Value: test
[INFO] Parameter: contextRoot, Value: /test
[WARNING] CP Don't override file C:\Users\jtyler17\mvn\ztests\test\pom.xml
[INFO] Executing META-INF/archetype-post-generate.groovy post-generation script
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.610 s
[INFO] Finished at: 2019-01-16T14:22:20-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: No signature of method: static java.nio.file.Files.readString() is applicable for argument types: (sun.nio.fs.WindowsPath) values: [C:\Users\jtyler17\mvn\ztests\test\pom.xml]
[ERROR] Possible solutions: toString(), toString()
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Edited by Josh Cooper