-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
Summary
Add a lint goal to the dsf-maven-plugin that validates DSF process plugin JARs as part of the Maven build lifecycle.
Motivation
Currently there is no automated way to lint process plugins during the build. The dsf-linter tool already provides this functionality via CLI, but it requires a manual step.
Changes
- Add
linter-core(v0.1.2) as a dependency todsf-maven-plugin - Add
LintPluginMojoimplementing thelintgoal (default phase:verify) - Add
MavenLinterLoggeras adapter between DSF Linter and Maven logging - Enable the
lintgoal indsf-bpe-test-plugin-v1anddsf-bpe-test-plugin-v2
Usage
<plugin>
<groupId>dev.dsf</groupId>
<artifactId>dsf-maven-plugin</artifactId>
<executions>
<execution>
<id>lint-plugin</id>
<goals>
<goal>lint</goal>
</goals>
</execution>
</executions>
</plugin>Configurable parameters: dsf.lint.html, dsf.lint.json, dsf.lint.failOnErrors, dsf.lint.skip, dsf.lint.verbose, dsf.lint.reportPath
The Solution
See the following commit: f43d61e
Reactions are currently unavailable