You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2020/02/12 03:04:00 UTC
[jira] [Created] (NIFI-7135) Fix Java 11 build with
com.puppycrawl.tools:checkstyle:jar:8.29 dependency
Pierre Villard created NIFI-7135:
------------------------------------
Summary: Fix Java 11 build with com.puppycrawl.tools:checkstyle:jar:8.29 dependency
Key: NIFI-7135
URL: https://issues.apache.org/jira/browse/NIFI-7135
Project: Apache NiFi
Issue Type: Bug
Components: Tools and Build
Reporter: Pierre Villard
Assignee: Pierre Villard
Since the upgrade of com.puppycrawl.tools:checkstyle to 8.29 (NIFI-7108), the Java 11 build on Travis is failing with:
{code:java}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (check-style) on project nifi: Execution check-style of goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0 or one of its dependencies could not be resolved: Could not find artifact com.puppycrawl.tools:checkstyle:jar:8.29 in bintray (https://dl.bintray.com/groovy/maven) -> [Help 1]{code}
It looks like plugin dependencies are only resolved against:
{code:java}
<pluginRepositories>
<pluginRepository>
<id>bintray</id>
<name>Groovy Bintray</name>
<url>https://dl.bintray.com/groovy/maven</url>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
{code}
I suggest to add Maven repository as an additional plugin repository.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)