Skip to content

Commit 9dd1c48

Browse files
committed
feat(#3800): read from MANIFEST
1 parent 38dfa42 commit 9dd1c48

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

eo-maven-plugin/src/main/java/org/eolang/maven/LintMojo.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
package org.eolang.maven;
2525

2626
import com.jcabi.log.Logger;
27+
import com.jcabi.manifests.Manifests;
2728
import com.jcabi.xml.XML;
2829
import com.jcabi.xml.XMLDocument;
2930
import java.io.IOException;
@@ -116,6 +117,11 @@ private void lint() throws IOException {
116117
"Linted %d out of %d XMIR program(s) that needed this (out of %d total programs) in %[ms]s: %s",
117118
passed, tojos.size(), tojos.size(), System.currentTimeMillis() - start, sum
118119
);
120+
Logger.info(
121+
this,
122+
"Read more about lints: https://www.objectionary.com/lints/%s",
123+
Manifests.read("Lints-Version")
124+
);
119125
if (counts.get(Severity.ERROR) > 0 || counts.get(Severity.CRITICAL) > 0) {
120126
throw new IllegalStateException(
121127
String.format(

0 commit comments

Comments
 (0)