Maven Plugin Details
Last Update on: December 26, 2019
Maven addresses two aspects of building software: first, it describes how software is built, and second, it describes its dependencies. Unlike earlier tools like Apache Ant, it uses conventions for the build procedure, and only exceptions need to be written down. An XML file describes the software project being built, its dependencies on other external modules and components, the build order, directories, and required plug-ins. It comes with pre-defined targets for performing certain well-defined tasks such as compilation of code and its packaging.
|Parameter||Is Mandatory||Help Text|
|Working Directory||true||Provide the directory where the Maven project is located. There should be a pom.xml file properly configured in this location|
|Command||true||Provide the Maven command to execute.Ex : mvn clean test|
|Errors||false||Produce execution error messages|
|Debug||false||Produce execution debug output|
|Never Fail||false||NEVER fail the build, regardless of project result|
|Fast Fail||false||Stop at first failure in reactorized builds|
|Fail at the end||false||Only fail the build afterwards; allow all non-impacted builds to continue|
|MavenStatus||Final RunMaven job status.|
|Total Time||Duration to execute the command|
|Finished At||Command execution completion time|
|Status||Required string in outputlog|
|Failed||Below mentioned string will result into error.
1) ‘BUILD FAILURE’
2) ‘Unrecognized option:’
3) ‘not recognized’
4) ‘not recognized as an internal or external command’
or any error occurs in execution.
- Normal cmd command can also be executed, only if other additional attribute has not been specified.
Initial version with basic functionalities.