mvn clean graphwalker:generate-sources
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.graphwalker:graphwalker-maven-archetype:jar:4.2.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.graphwalker:graphwalker-maven-plugin @ line 93, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------< org.graphwalker:graphwalker-maven-archetype >-------------
[INFO] Building GraphWalker Example 4.2.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ graphwalker-maven-archetype ---
[INFO] Deleting /Users/rohan.singh/mbt/myProject/target
[INFO]
[INFO] --- graphwalker-maven-plugin:4.2.0:generate-sources (default-cli) @ graphwalker-maven-archetype ---
[ERROR] Failed to create ScriptEngine
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.331 s
[INFO] Finished at: 2020-09-07T07:53:27+05:30
[INFO] ------------------------------------------------------------------------
It says success but it shows an error that it has failed to create script engine. Because of which smallTest.java is not created. So if i run mvn graphwalker:test it shows an error as it is not able to find the implements class.
Good to hear!