Kovair DevOps and Maven Integration Plugin

Maven Plugin Details

Plugin Version: 1.0.1
Last Update on: December 26, 2019

Overview

Maven is a build automation tool used primarily for Java projects.
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.

Maven Information:

More information can be found at Maven.

Platform Support:

Windows, Linux.

Version Supported:

This plugin was developed and tested against version present on Maven 3.6.1

Plugin Operation:

  1. RunMaven
This operation allows to execute a maven command:

Input parameter(s):

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

Output parameter(s):

Parameter Help Text
MavenStatus Final RunMaven job status.
Total Time Duration to execute the command
Finished At Command execution completion time

Pass/Fail Conditions:

Status Required string in outputlog
Passed ‘BUILD SUCCESS’
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.

Disclaimer:

  1. Normal cmd command can also be executed, only if other additional attribute has not been specified.

Release Details:

Maven: 1.0.1
Initial version with basic functionalities.

Contact us:

    Yes, I accept the Privacy Statement and want to receive latest information from Kovair.
    [tracking]