GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Error - A required class was missing org/apache/maven/plugins/enforcer/AbstractNonCacheableEnforcerRule

未關閉
#2,394 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
163
分支
80
PR 合併指標
30 天內沒有已合併 PR

描述

Getting following error while running **mvn verify**

`[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce (enforce-linkage-checker) on project matt: Execution enforce-linkage-checker of goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce failed: A required class was missing while executing org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce: org/apache/maven/plugins/enforcer/AbstractNonCacheableEnforcerRule`

Plugin details added in pom.xml

```

org.apache.maven.plugins
maven-enforcer-plugin
3.5.0


enforce-linkage-checker

verify

enforce










org.codehaus.mojo
extra-enforcer-rules
1.9.0


com.google.cloud.tools
linkage-checker-enforcer-rules
1.5.13

```

Details included as provided in https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/Linkage-Checker-Enforcer-Rule

貢獻指南

開啟貢獻指南

研究方向

Start with the plugin configuration in pom.xml and reproduce the failure by running mvn verify. Compare the declared maven-enforcer-plugin, extra-enforcer-rules, and linkage-checker-enforcer-rules versions with the Linkage Checker Enforcer Rule documentation. Done means mvn verify no longer fails because AbstractNonCacheableEnforcerRule is missing.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
build-system
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。