All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
on-premise.agents.plugin.sealights-maven-plugin.4.0.1043.source-code.plugin.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by maven-plugin-tools 3.5 -->
<plugin>
<name>sealights-maven-plugin</name>
<description>A maven plugin to run java agents.</description>
<groupId>io.sealights.on-premise.agents.plugin</groupId>
<artifactId>sealights-maven-plugin</artifactId>
<version>4.0.0-SNAPSHOT</version>
<goalPrefix>sealights</goalPrefix>
<isolatedRealm>false</isolatedRealm>
<inheritedByDefault>true</inheritedByDefault>
<mojos>
<mojo>
<goal>build-scanner</goal>
<description>Runs the Build Scanner.</description>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<phase>process-classes</phase>
<implementation>io.sealights.onpremise.agents.plugin.BldScanrMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<since>1.0.0</since>
<threadSafe>true</threadSafe>
<parameters>
<parameter>
<name>appName</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The application name.</description>
</parameter>
<parameter>
<name>branch</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The branch name.</description>
</parameter>
<parameter>
<name>build</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The build version.</description>
</parameter>
<parameter>
<name>buildScannerIgnoreLogEnabled</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to disable build scanner logs in spite of common logEnabled=true</description>
</parameter>
<parameter>
<name>buildScannerJar</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to the sealights Build Scanner.</description>
</parameter>
<parameter>
<name>buildScannerPackagesexcluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>If set, run over the packagesexcluded property.</description>
</parameter>
<parameter>
<name>buildScannerPackagesincluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>If set, run over the packagesincluded property.</description>
</parameter>
<parameter>
<name>buildScannerParams</name>
<type>java.util.Map</type>
<required>false</required>
<editable>true</editable>
<description>Jvm params for buildScanner.</description>
</parameter>
<parameter>
<name>buildSessionId</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Use buildSessionId for build session data.</description>
</parameter>
<parameter>
<name>buildSessionIdFile</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Build session id from file.</description>
</parameter>
<parameter>
<name>createBuildSessionId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Use buildSessionId feature for this build.</description>
</parameter>
<parameter>
<name>createExecutionId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Sets creation of a global executionId</description>
</parameter>
<parameter>
<name>createPRBuildSessionId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Use buildPullRequestSessionId feature for this build.</description>
</parameter>
<parameter>
<name>customerid</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Customer id.</description>
</parameter>
<parameter>
<name>enableNoneZeroErrorCode</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to enable exit with non zero error code in case of scanning failure.</description>
</parameter>
<parameter>
<name>environment</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The development environment.</description>
</parameter>
<parameter>
<name>filesStorage</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to a folder where Sealights can save files.</description>
</parameter>
<parameter>
<name>filesexcluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of files to exclude from scan.
Supports wildcards (* = any string, ? = any character).
For example: '*-with-dependencies.jar , bad-bad?.war, *-source.jar'.</description>
</parameter>
<parameter>
<name>filesincluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of files to scan.
Supports wildcards (* = any string, ? = any character).
For example: 'original-*.jar ,demo?.jar'.</description>
</parameter>
<parameter>
<name>includeResources</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Include token and buildSessionId files in jar.</description>
</parameter>
<parameter>
<name>includeTokenResource</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Include token file in jar.</description>
</parameter>
<parameter>
<name>javaPath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to specific java version.</description>
</parameter>
<parameter>
<name>labId</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The labId.</description>
</parameter>
<parameter>
<name>latestCommit</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The head SHA of the pull request source.</description>
</parameter>
<parameter>
<name>logEnabled</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to enable logs.</description>
</parameter>
<parameter>
<name>logFolder</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to folder where log file will be written.</description>
</parameter>
<parameter>
<name>logLevel</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Log level (e.g info, debug..)</description>
</parameter>
<parameter>
<name>logPluginMinimal</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>If true, the logging from the SeaLights plugin will be restricted to minimum.</description>
</parameter>
<parameter>
<name>logToConsole</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to write logs to file.</description>
</parameter>
<parameter>
<name>logToFile</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to write logs to file.</description>
</parameter>
<parameter>
<name>metadata</name>
<type>java.util.Map</type>
<required>false</required>
<editable>true</editable>
<description>Meta data of the build currently executed.</description>
</parameter>
<parameter>
<name>moduleNameArtifactId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>The flag for module name build method.
If not provided, project,name is used
If true - project.artifactId is used</description>
</parameter>
<parameter>
<name>overrideMetaJsonPath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Force this plugin to create the test listener in this path.</description>
</parameter>
<parameter>
<name>packagesexcluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of packages to exclude from scan.
Supports wildcards (* = any string, ? = any character).
For example: 'com.example.* ,io.*.demo, com.?ello.world'.</description>
</parameter>
<parameter>
<name>packagesincluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of packages to scan.
Supports wildcards (* = any string, ? = any character).
For example:'com.example.* ,io.*.demo, com.?ello.world'.</description>
</parameter>
<parameter>
<name>project</name>
<type>org.apache.maven.project.MavenProject</type>
<required>true</required>
<editable>true</editable>
<description>Maven project.</description>
</parameter>
<parameter>
<name>proxy</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Url to proxy.</description>
</parameter>
<parameter>
<name>pullRequestNumber</name>
<type>int</type>
<required>false</required>
<editable>true</editable>
<description>The number of the pull request.</description>
</parameter>
<parameter>
<name>recursive</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to start a recursive search for files to scan in the folder specified by the 'workspacepath' option.</description>
</parameter>
<parameter>
<name>repositoryUrl</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The repository URL of the target branch.</description>
</parameter>
<parameter>
<name>runFunctionalTests</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>A flag to skip build-scanner and build-session data reduced validation</description>
</parameter>
<parameter>
<name>runScanOnly</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>A flag to skip test-listener</description>
</parameter>
<parameter>
<name>runTestOnly</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>A flag to skip build-scanner</description>
</parameter>
<parameter>
<name>sealightsJvmParams</name>
<type>java.util.Map</type>
<required>false</required>
<editable>true</editable>
<description>Jvm params for testListener.</description>
</parameter>
<parameter>
<name>server</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The url to sealights server.</description>
</parameter>
<parameter>
<name>session</name>
<type>org.apache.maven.execution.MavenSession</type>
<required>true</required>
<editable>true</editable>
<description>The Maven Session Object</description>
</parameter>
<parameter>
<name>targetBranch</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The target branch of the pull request.</description>
</parameter>
<parameter>
<name>testListenerJar</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to the sealights Test Listener.</description>
</parameter>
<parameter>
<name>testStage</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The testStage.</description>
</parameter>
<parameter>
<name>token</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The token provided by SeaLights.</description>
</parameter>
<parameter>
<name>tokenFile</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The token provided by SeaLights in file.</description>
</parameter>
<parameter>
<name>workspacepath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to the source code root folder.</description>
</parameter>
</parameters>
<configuration>
<appName implementation="java.lang.String">${appName}</appName>
<branch implementation="java.lang.String">${branch}</branch>
<build implementation="java.lang.String" default-value="${version}">${build}</build>
<buildScannerIgnoreLogEnabled implementation="boolean" default-value="false">${buildScannerIgnoreLogEnabled}</buildScannerIgnoreLogEnabled>
<buildScannerJar implementation="java.lang.String">${buildScannerJar}</buildScannerJar>
<buildScannerPackagesexcluded implementation="java.lang.String">${buildScannerPackagesexcluded}</buildScannerPackagesexcluded>
<buildScannerPackagesincluded implementation="java.lang.String">${buildScannerPackagesincluded}</buildScannerPackagesincluded>
<buildScannerParams implementation="java.util.Map">${buildScannerParams}</buildScannerParams>
<buildSessionId implementation="java.lang.String">${buildSessionId}</buildSessionId>
<buildSessionIdFile implementation="java.lang.String">${buildSessionIdFile}</buildSessionIdFile>
<createBuildSessionId implementation="boolean" default-value="false">${createBuildSessionId}</createBuildSessionId>
<createExecutionId implementation="boolean" default-value="true">${createExecutionId}</createExecutionId>
<createPRBuildSessionId implementation="boolean" default-value="false">${createPRBuildSessionId}</createPRBuildSessionId>
<customerid implementation="java.lang.String">${customerid}</customerid>
<enableNoneZeroErrorCode implementation="boolean" default-value="true">${enableNoneZeroErrorCode}</enableNoneZeroErrorCode>
<environment implementation="java.lang.String">${environment}</environment>
<filesStorage implementation="java.lang.String">${filesStorage}</filesStorage>
<filesexcluded implementation="java.lang.String" default-value="*test-classes*">${filesexcluded}</filesexcluded>
<filesincluded implementation="java.lang.String" default-value="*.class">${filesincluded}</filesincluded>
<includeResources implementation="boolean" default-value="false">${includeResources}</includeResources>
<includeTokenResource implementation="boolean" default-value="true">${includeTokenResource}</includeTokenResource>
<javaPath implementation="java.lang.String" default-value="java">${javaPath}</javaPath>
<labId implementation="java.lang.String">${labId}</labId>
<latestCommit implementation="java.lang.String">${latestCommit}</latestCommit>
<logEnabled implementation="boolean" default-value="true">${logEnabled}</logEnabled>
<logFolder implementation="java.lang.String">${logFolder}</logFolder>
<logLevel implementation="java.lang.String" default-value="info">${logLevel}</logLevel>
<logPluginMinimal implementation="boolean" default-value="false">${logPluginMinimal}</logPluginMinimal>
<logToConsole implementation="boolean" default-value="false">${logToConsole}</logToConsole>
<logToFile implementation="boolean" default-value="false">${logToFile}</logToFile>
<metadata implementation="java.util.Map">${metadata}</metadata>
<moduleNameArtifactId implementation="boolean" default-value="false">${moduleNameArtifactId}</moduleNameArtifactId>
<overrideMetaJsonPath implementation="java.lang.String">${overrideMetaJsonPath}</overrideMetaJsonPath>
<packagesexcluded implementation="java.lang.String">${packagesexcluded}</packagesexcluded>
<packagesincluded implementation="java.lang.String">${packagesincluded}</packagesincluded>
<project implementation="org.apache.maven.project.MavenProject">${project}</project>
<proxy implementation="java.lang.String">${proxy}</proxy>
<pullRequestNumber implementation="int">${pullRequestNumber}</pullRequestNumber>
<recursive implementation="boolean" default-value="true">${recursive}</recursive>
<repositoryUrl implementation="java.lang.String">${repositoryUrl}</repositoryUrl>
<runFunctionalTests implementation="boolean" default-value="false">${runFunctionalTests}</runFunctionalTests>
<runScanOnly implementation="boolean" default-value="false">${runScanOnly}</runScanOnly>
<runTestOnly implementation="boolean" default-value="false">${runTestOnly}</runTestOnly>
<sealightsJvmParams implementation="java.util.Map">${sealightsJvmParams}</sealightsJvmParams>
<server implementation="java.lang.String">${server}</server>
<session implementation="org.apache.maven.execution.MavenSession">${session}</session>
<targetBranch implementation="java.lang.String">${targetBranch}</targetBranch>
<testListenerJar implementation="java.lang.String">${testListenerJar}</testListenerJar>
<testStage implementation="java.lang.String" default-value="Unit Tests">${testStage}</testStage>
<token implementation="java.lang.String">${token}</token>
<tokenFile implementation="java.lang.String">${tokenFile}</tokenFile>
<workspacepath implementation="java.lang.String" default-value="${basedir}">${workspacepath}</workspacepath>
</configuration>
</mojo>
<mojo>
<goal>listener</goal>
<description>Runs the Test Listener.</description>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<implementation>io.sealights.onpremise.agents.plugin.TstListnrMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<since>1.0.0</since>
<threadSafe>false</threadSafe>
<parameters/>
</mojo>
<mojo>
<goal>prepare-listener</goal>
<description>The purpose of this step is to set the ground for the test listener setup.
Currently it is being used to skip JaCoCo in order to avoid collision between the agents.</description>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<implementation>io.sealights.onpremise.agents.plugin.PrepareListenerMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<since>1.0.0</since>
<threadSafe>false</threadSafe>
<parameters/>
</mojo>
<mojo>
<goal>prepare-test-listener</goal>
<description>The purpose of this step is to set the ground for the test listener setup.
Currently it is being used to skip JaCoCo in order to avoid collision between the agents.</description>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<phase>validate</phase>
<implementation>io.sealights.onpremise.agents.plugin.PrepareListenerMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<since>1.0.0</since>
<threadSafe>true</threadSafe>
<parameters>
<parameter>
<name>appName</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The application name.</description>
</parameter>
<parameter>
<name>branch</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The branch name.</description>
</parameter>
<parameter>
<name>build</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The build version.</description>
</parameter>
<parameter>
<name>buildScannerJar</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to the sealights Build Scanner.</description>
</parameter>
<parameter>
<name>buildSessionId</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Use buildSessionId for build session data.</description>
</parameter>
<parameter>
<name>buildSessionIdFile</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Build session id from file.</description>
</parameter>
<parameter>
<name>createBuildSessionId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Use buildSessionId feature for this build.</description>
</parameter>
<parameter>
<name>createExecutionId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Sets creation of a global executionId</description>
</parameter>
<parameter>
<name>createPRBuildSessionId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Use buildPullRequestSessionId feature for this build.</description>
</parameter>
<parameter>
<name>customerid</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Customer id.</description>
</parameter>
<parameter>
<name>environment</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The development environment.</description>
</parameter>
<parameter>
<name>filesStorage</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to a folder where Sealights can save files.</description>
</parameter>
<parameter>
<name>filesexcluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of files to exclude from scan.
Supports wildcards (* = any string, ? = any character).
For example: '*-with-dependencies.jar , bad-bad?.war, *-source.jar'.</description>
</parameter>
<parameter>
<name>filesincluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of files to scan.
Supports wildcards (* = any string, ? = any character).
For example: 'original-*.jar ,demo?.jar'.</description>
</parameter>
<parameter>
<name>includeResources</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Include token and buildSessionId files in jar.</description>
</parameter>
<parameter>
<name>includeTokenResource</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Include token file in jar.</description>
</parameter>
<parameter>
<name>javaPath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to specific java version.</description>
</parameter>
<parameter>
<name>labId</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The labId.</description>
</parameter>
<parameter>
<name>latestCommit</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The head SHA of the pull request source.</description>
</parameter>
<parameter>
<name>logEnabled</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to enable logs.</description>
</parameter>
<parameter>
<name>logFolder</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to folder where log file will be written.</description>
</parameter>
<parameter>
<name>logLevel</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Log level (e.g info, debug..)</description>
</parameter>
<parameter>
<name>logPluginMinimal</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>If true, the logging from the SeaLights plugin will be restricted to minimum.</description>
</parameter>
<parameter>
<name>logToConsole</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to write logs to file.</description>
</parameter>
<parameter>
<name>logToFile</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to write logs to file.</description>
</parameter>
<parameter>
<name>metadata</name>
<type>java.util.Map</type>
<required>false</required>
<editable>true</editable>
<description>Meta data of the build currently executed.</description>
</parameter>
<parameter>
<name>moduleNameArtifactId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>The flag for module name build method.
If not provided, project,name is used
If true - project.artifactId is used</description>
</parameter>
<parameter>
<name>overrideMetaJsonPath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Force this plugin to create the test listener in this path.</description>
</parameter>
<parameter>
<name>packagesexcluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of packages to exclude from scan.
Supports wildcards (* = any string, ? = any character).
For example: 'com.example.* ,io.*.demo, com.?ello.world'.</description>
</parameter>
<parameter>
<name>packagesincluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of packages to scan.
Supports wildcards (* = any string, ? = any character).
For example:'com.example.* ,io.*.demo, com.?ello.world'.</description>
</parameter>
<parameter>
<name>project</name>
<type>org.apache.maven.project.MavenProject</type>
<required>true</required>
<editable>true</editable>
<description>Maven project.</description>
</parameter>
<parameter>
<name>proxy</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Url to proxy.</description>
</parameter>
<parameter>
<name>pullRequestNumber</name>
<type>int</type>
<required>false</required>
<editable>true</editable>
<description>The number of the pull request.</description>
</parameter>
<parameter>
<name>recursive</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to start a recursive search for files to scan in the folder specified by the 'workspacepath' option.</description>
</parameter>
<parameter>
<name>repositoryUrl</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The repository URL of the target branch.</description>
</parameter>
<parameter>
<name>runFunctionalTests</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>A flag to skip build-scanner and build-session data reduced validation</description>
</parameter>
<parameter>
<name>runScanOnly</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>A flag to skip test-listener</description>
</parameter>
<parameter>
<name>runTestOnly</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>A flag to skip build-scanner</description>
</parameter>
<parameter>
<name>sealightsJvmParams</name>
<type>java.util.Map</type>
<required>false</required>
<editable>true</editable>
<description>Jvm params for testListener.</description>
</parameter>
<parameter>
<name>server</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The url to sealights server.</description>
</parameter>
<parameter>
<name>session</name>
<type>org.apache.maven.execution.MavenSession</type>
<required>true</required>
<editable>true</editable>
<description>The Maven Session Object</description>
</parameter>
<parameter>
<name>targetBranch</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The target branch of the pull request.</description>
</parameter>
<parameter>
<name>testListenerJar</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to the sealights Test Listener.</description>
</parameter>
<parameter>
<name>testStage</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The testStage.</description>
</parameter>
<parameter>
<name>token</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The token provided by SeaLights.</description>
</parameter>
<parameter>
<name>tokenFile</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The token provided by SeaLights in file.</description>
</parameter>
<parameter>
<name>workspacepath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to the source code root folder.</description>
</parameter>
</parameters>
<configuration>
<appName implementation="java.lang.String">${appName}</appName>
<branch implementation="java.lang.String">${branch}</branch>
<build implementation="java.lang.String" default-value="${version}">${build}</build>
<buildScannerJar implementation="java.lang.String">${buildScannerJar}</buildScannerJar>
<buildSessionId implementation="java.lang.String">${buildSessionId}</buildSessionId>
<buildSessionIdFile implementation="java.lang.String">${buildSessionIdFile}</buildSessionIdFile>
<createBuildSessionId implementation="boolean" default-value="false">${createBuildSessionId}</createBuildSessionId>
<createExecutionId implementation="boolean" default-value="true">${createExecutionId}</createExecutionId>
<createPRBuildSessionId implementation="boolean" default-value="false">${createPRBuildSessionId}</createPRBuildSessionId>
<customerid implementation="java.lang.String">${customerid}</customerid>
<environment implementation="java.lang.String">${environment}</environment>
<filesStorage implementation="java.lang.String">${filesStorage}</filesStorage>
<filesexcluded implementation="java.lang.String" default-value="*test-classes*">${filesexcluded}</filesexcluded>
<filesincluded implementation="java.lang.String" default-value="*.class">${filesincluded}</filesincluded>
<includeResources implementation="boolean" default-value="false">${includeResources}</includeResources>
<includeTokenResource implementation="boolean" default-value="true">${includeTokenResource}</includeTokenResource>
<javaPath implementation="java.lang.String" default-value="java">${javaPath}</javaPath>
<labId implementation="java.lang.String">${labId}</labId>
<latestCommit implementation="java.lang.String">${latestCommit}</latestCommit>
<logEnabled implementation="boolean" default-value="true">${logEnabled}</logEnabled>
<logFolder implementation="java.lang.String">${logFolder}</logFolder>
<logLevel implementation="java.lang.String" default-value="info">${logLevel}</logLevel>
<logPluginMinimal implementation="boolean" default-value="false">${logPluginMinimal}</logPluginMinimal>
<logToConsole implementation="boolean" default-value="false">${logToConsole}</logToConsole>
<logToFile implementation="boolean" default-value="false">${logToFile}</logToFile>
<metadata implementation="java.util.Map">${metadata}</metadata>
<moduleNameArtifactId implementation="boolean" default-value="false">${moduleNameArtifactId}</moduleNameArtifactId>
<overrideMetaJsonPath implementation="java.lang.String">${overrideMetaJsonPath}</overrideMetaJsonPath>
<packagesexcluded implementation="java.lang.String">${packagesexcluded}</packagesexcluded>
<packagesincluded implementation="java.lang.String">${packagesincluded}</packagesincluded>
<project implementation="org.apache.maven.project.MavenProject">${project}</project>
<proxy implementation="java.lang.String">${proxy}</proxy>
<pullRequestNumber implementation="int">${pullRequestNumber}</pullRequestNumber>
<recursive implementation="boolean" default-value="true">${recursive}</recursive>
<repositoryUrl implementation="java.lang.String">${repositoryUrl}</repositoryUrl>
<runFunctionalTests implementation="boolean" default-value="false">${runFunctionalTests}</runFunctionalTests>
<runScanOnly implementation="boolean" default-value="false">${runScanOnly}</runScanOnly>
<runTestOnly implementation="boolean" default-value="false">${runTestOnly}</runTestOnly>
<sealightsJvmParams implementation="java.util.Map">${sealightsJvmParams}</sealightsJvmParams>
<server implementation="java.lang.String">${server}</server>
<session implementation="org.apache.maven.execution.MavenSession">${session}</session>
<targetBranch implementation="java.lang.String">${targetBranch}</targetBranch>
<testListenerJar implementation="java.lang.String">${testListenerJar}</testListenerJar>
<testStage implementation="java.lang.String" default-value="Unit Tests">${testStage}</testStage>
<token implementation="java.lang.String">${token}</token>
<tokenFile implementation="java.lang.String">${tokenFile}</tokenFile>
<workspacepath implementation="java.lang.String" default-value="${basedir}">${workspacepath}</workspacepath>
</configuration>
</mojo>
<mojo>
<goal>scanner</goal>
<description>Runs the Build Scanner.</description>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<implementation>io.sealights.onpremise.agents.plugin.BldScanrMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<since>1.0.0</since>
<threadSafe>false</threadSafe>
<parameters/>
</mojo>
<mojo>
<goal>test-listener</goal>
<description>Runs the Test Listener.</description>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<phase>generate-sources</phase>
<implementation>io.sealights.onpremise.agents.plugin.TstListnrMojo</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<since>1.0.0</since>
<threadSafe>true</threadSafe>
<parameters>
<parameter>
<name>appName</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The application name.</description>
</parameter>
<parameter>
<name>branch</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The branch name.</description>
</parameter>
<parameter>
<name>build</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The build version.</description>
</parameter>
<parameter>
<name>buildScannerJar</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to the sealights Build Scanner.</description>
</parameter>
<parameter>
<name>buildSessionId</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Use buildSessionId for build session data.</description>
</parameter>
<parameter>
<name>buildSessionIdFile</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Build session id from file.</description>
</parameter>
<parameter>
<name>classLoadersExcluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Class loaders to be excluded.</description>
</parameter>
<parameter>
<name>createBuildSessionId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Use buildSessionId feature for this build.</description>
</parameter>
<parameter>
<name>createExecutionId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Sets creation of a global executionId</description>
</parameter>
<parameter>
<name>createPRBuildSessionId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Use buildPullRequestSessionId feature for this build.</description>
</parameter>
<parameter>
<name>customerid</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Customer id.</description>
</parameter>
<parameter>
<name>environment</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The development environment.</description>
</parameter>
<parameter>
<name>filesStorage</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to a folder where Sealights can save files.</description>
</parameter>
<parameter>
<name>filesexcluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of files to exclude from scan.
Supports wildcards (* = any string, ? = any character).
For example: '*-with-dependencies.jar , bad-bad?.war, *-source.jar'.</description>
</parameter>
<parameter>
<name>filesincluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of files to scan.
Supports wildcards (* = any string, ? = any character).
For example: 'original-*.jar ,demo?.jar'.</description>
</parameter>
<parameter>
<name>includeResources</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Include token and buildSessionId files in jar.</description>
</parameter>
<parameter>
<name>includeTokenResource</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Include token file in jar.</description>
</parameter>
<parameter>
<name>javaPath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to specific java version.</description>
</parameter>
<parameter>
<name>labId</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The labId.</description>
</parameter>
<parameter>
<name>latestCommit</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The head SHA of the pull request source.</description>
</parameter>
<parameter>
<name>logEnabled</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to enable logs.</description>
</parameter>
<parameter>
<name>logFolder</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to folder where log file will be written.</description>
</parameter>
<parameter>
<name>logLevel</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Log level (e.g info, debug..)</description>
</parameter>
<parameter>
<name>logPluginMinimal</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>If true, the logging from the SeaLights plugin will be restricted to minimum.</description>
</parameter>
<parameter>
<name>logToConsole</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to write logs to file.</description>
</parameter>
<parameter>
<name>logToFile</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to write logs to file.</description>
</parameter>
<parameter>
<name>metadata</name>
<type>java.util.Map</type>
<required>false</required>
<editable>true</editable>
<description>Meta data of the build currently executed.</description>
</parameter>
<parameter>
<name>moduleNameArtifactId</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>The flag for module name build method.
If not provided, project,name is used
If true - project.artifactId is used</description>
</parameter>
<parameter>
<name>overrideMetaJsonPath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Force this plugin to create the test listener in this path.</description>
</parameter>
<parameter>
<name>overrideTestListenerPath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Force this plugin to create the test listener in this path.</description>
</parameter>
<parameter>
<name>packagesexcluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of packages to exclude from scan.
Supports wildcards (* = any string, ? = any character).
For example: 'com.example.* ,io.*.demo, com.?ello.world'.</description>
</parameter>
<parameter>
<name>packagesincluded</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Comma-separated list of packages to scan.
Supports wildcards (* = any string, ? = any character).
For example:'com.example.* ,io.*.demo, com.?ello.world'.</description>
</parameter>
<parameter>
<name>project</name>
<type>org.apache.maven.project.MavenProject</type>
<required>true</required>
<editable>true</editable>
<description>Maven project.</description>
</parameter>
<parameter>
<name>proxy</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Url to proxy.</description>
</parameter>
<parameter>
<name>pullRequestNumber</name>
<type>int</type>
<required>false</required>
<editable>true</editable>
<description>The number of the pull request.</description>
</parameter>
<parameter>
<name>recursive</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to start a recursive search for files to scan in the folder specified by the 'workspacepath' option.</description>
</parameter>
<parameter>
<name>repositoryUrl</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The repository URL of the target branch.</description>
</parameter>
<parameter>
<name>runFunctionalTests</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>A flag to skip build-scanner and build-session data reduced validation</description>
</parameter>
<parameter>
<name>runScanOnly</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>A flag to skip test-listener</description>
</parameter>
<parameter>
<name>runTestOnly</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>A flag to skip build-scanner</description>
</parameter>
<parameter>
<name>sealightsJvmParams</name>
<type>java.util.Map</type>
<required>false</required>
<editable>true</editable>
<description>Jvm params for testListener.</description>
</parameter>
<parameter>
<name>server</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The url to sealights server.</description>
</parameter>
<parameter>
<name>session</name>
<type>org.apache.maven.execution.MavenSession</type>
<required>true</required>
<editable>true</editable>
<description>The Maven Session Object</description>
</parameter>
<parameter>
<name>targetBranch</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The target branch of the pull request.</description>
</parameter>
<parameter>
<name>testListenerConfigFile</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to the Test Listener configuration file.</description>
</parameter>
<parameter>
<name>testListenerEnabled</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to enable/disable Test Listener.</description>
</parameter>
<parameter>
<name>testListenerIgnoreLogEnabled</name>
<type>boolean</type>
<required>false</required>
<editable>true</editable>
<description>Flag to disable test listener logs in spite of common logEnabled=true</description>
</parameter>
<parameter>
<name>testListenerJar</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to the sealights Test Listener.</description>
</parameter>
<parameter>
<name>testListenerJvmParams</name>
<type>java.util.Map</type>
<required>false</required>
<editable>true</editable>
<description>Jvm params for testListener.</description>
</parameter>
<parameter>
<name>testStage</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The testStage.</description>
</parameter>
<parameter>
<name>token</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The token provided by SeaLights.</description>
</parameter>
<parameter>
<name>tokenFile</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The token provided by SeaLights in file.</description>
</parameter>
<parameter>
<name>workspacepath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Path to the source code root folder.</description>
</parameter>
</parameters>
<configuration>
<appName implementation="java.lang.String">${appName}</appName>
<branch implementation="java.lang.String">${branch}</branch>
<build implementation="java.lang.String" default-value="${version}">${build}</build>
<buildScannerJar implementation="java.lang.String">${buildScannerJar}</buildScannerJar>
<buildSessionId implementation="java.lang.String">${buildSessionId}</buildSessionId>
<buildSessionIdFile implementation="java.lang.String">${buildSessionIdFile}</buildSessionIdFile>
<classLoadersExcluded implementation="java.lang.String">${classLoadersExcluded}</classLoadersExcluded>
<createBuildSessionId implementation="boolean" default-value="false">${createBuildSessionId}</createBuildSessionId>
<createExecutionId implementation="boolean" default-value="true">${createExecutionId}</createExecutionId>
<createPRBuildSessionId implementation="boolean" default-value="false">${createPRBuildSessionId}</createPRBuildSessionId>
<customerid implementation="java.lang.String">${customerid}</customerid>
<environment implementation="java.lang.String">${environment}</environment>
<filesStorage implementation="java.lang.String">${filesStorage}</filesStorage>
<filesexcluded implementation="java.lang.String" default-value="*test-classes*">${filesexcluded}</filesexcluded>
<filesincluded implementation="java.lang.String" default-value="*.class">${filesincluded}</filesincluded>
<includeResources implementation="boolean" default-value="false">${includeResources}</includeResources>
<includeTokenResource implementation="boolean" default-value="true">${includeTokenResource}</includeTokenResource>
<javaPath implementation="java.lang.String" default-value="java">${javaPath}</javaPath>
<labId implementation="java.lang.String">${labId}</labId>
<latestCommit implementation="java.lang.String">${latestCommit}</latestCommit>
<logEnabled implementation="boolean" default-value="true">${logEnabled}</logEnabled>
<logFolder implementation="java.lang.String">${logFolder}</logFolder>
<logLevel implementation="java.lang.String" default-value="info">${logLevel}</logLevel>
<logPluginMinimal implementation="boolean" default-value="false">${logPluginMinimal}</logPluginMinimal>
<logToConsole implementation="boolean" default-value="false">${logToConsole}</logToConsole>
<logToFile implementation="boolean" default-value="false">${logToFile}</logToFile>
<metadata implementation="java.util.Map">${metadata}</metadata>
<moduleNameArtifactId implementation="boolean" default-value="false">${moduleNameArtifactId}</moduleNameArtifactId>
<overrideMetaJsonPath implementation="java.lang.String">${overrideMetaJsonPath}</overrideMetaJsonPath>
<overrideTestListenerPath implementation="java.lang.String">${overrideTestListenerPath}</overrideTestListenerPath>
<packagesexcluded implementation="java.lang.String">${packagesexcluded}</packagesexcluded>
<packagesincluded implementation="java.lang.String">${packagesincluded}</packagesincluded>
<project implementation="org.apache.maven.project.MavenProject">${project}</project>
<proxy implementation="java.lang.String">${proxy}</proxy>
<pullRequestNumber implementation="int">${pullRequestNumber}</pullRequestNumber>
<recursive implementation="boolean" default-value="true">${recursive}</recursive>
<repositoryUrl implementation="java.lang.String">${repositoryUrl}</repositoryUrl>
<runFunctionalTests implementation="boolean" default-value="false">${runFunctionalTests}</runFunctionalTests>
<runScanOnly implementation="boolean" default-value="false">${runScanOnly}</runScanOnly>
<runTestOnly implementation="boolean" default-value="false">${runTestOnly}</runTestOnly>
<sealightsJvmParams implementation="java.util.Map">${sealightsJvmParams}</sealightsJvmParams>
<server implementation="java.lang.String">${server}</server>
<session implementation="org.apache.maven.execution.MavenSession">${session}</session>
<targetBranch implementation="java.lang.String">${targetBranch}</targetBranch>
<testListenerConfigFile implementation="java.lang.String">${testListenerConfigFile}</testListenerConfigFile>
<testListenerEnabled implementation="boolean" default-value="true">${testListenerEnabled}</testListenerEnabled>
<testListenerIgnoreLogEnabled implementation="boolean" default-value="false">${testListenerIgnoreLogEnabled}</testListenerIgnoreLogEnabled>
<testListenerJar implementation="java.lang.String">${testListenerJar}</testListenerJar>
<testListenerJvmParams implementation="java.util.Map">${testListenerJvmParams}</testListenerJvmParams>
<testStage implementation="java.lang.String" default-value="Unit Tests">${testStage}</testStage>
<token implementation="java.lang.String">${token}</token>
<tokenFile implementation="java.lang.String">${tokenFile}</tokenFile>
<workspacepath implementation="java.lang.String" default-value="${basedir}">${workspacepath}</workspacepath>
</configuration>
</mojo>
</mojos>
<dependencies>
</dependencies>
</plugin>