konveyor / kantra

A CLI that unifies analysis and transformation capabilities of Konveyor
Apache License 2.0
9 stars 24 forks source link

[BUG] Analysis output includes many mentions of files under /root/.m2/repository #321

Open jwmatthews opened 3 weeks ago

jwmatthews commented 3 weeks ago

Is there an existing issue for this?

Konveyor version

Kantra 0.5.0

Priority

Undefined (Default)

Current Behavior

I am running Kantra 0.5.0 on Mac M1 against

https://github.com/konveyor-ecosystem/coolstore

time "${KANTRA_BIN}" analyze -i "${PWD}"/"${SOURCE_DIR}" "${SOURCE_ONLY}" -t "quarkus" -t "jakarta-ee" -t "jakarta-ee8" -t "jakarta-ee9" -t "cloud-readiness" --rules "${CUSTOM_RULES_DIR}" -o "${OUTDIR}" --overwrite

I see ~400 extra files mentioned I didn't expect all from the root/.m2/ directory


File: root/.m2/repository/javax/javaee-api/7.0/javax/jms/TemporaryQueue.java has 1 violations.
File: root/.m2/repository/javax/javaee-api/7.0/javax/jms/TemporaryTopic.java has 1 violations.
File: root/.m2/repository/javax/javaee-api/7.0/javax/jms/Topic.java has 1 violations.
File: root/.m2/repository/javax/javaee-api/7.0/javax/jms/TopicConnection.java has 2 violations.
File: root/.m2/repository/javax/javaee-api/7.0/javax/jms/TopicPublisher.java has 3 violations.
File: root/.m2/repository/javax/javaee-api/7.0/javax/jms/TopicRequestor.java has 1 violations.
File: root/.m2/repository/javax/javaee-api/7.0/javax/jms/TopicSession.java has 6 violations.
File: root/.m2/repository/javax/javaee-api/7.0/javax/jms/TopicSubscriber.java has 1 violations.
File: root/.m2/repository/javax/javaee-web-api/7.0/javax/ejb/Remote.java has 1 violations.

Expected Behavior

Assume I should not see the files associated to root/.m2/

How Reproducible

Always (Default)

Steps To Reproduce

I am running Kantra 0.5.0 on Mac M1 against

https://github.com/konveyor-ecosystem/coolstore

time "${KANTRA_BIN}" analyze -i "${PWD}"/"${SOURCE_DIR}" "${SOURCE_ONLY}" -t "quarkus" -t "jakarta-ee" -t "jakarta-ee8" -t "jakarta-ee9" -t "cloud-readiness" --rules "${CUSTOM_RULES_DIR}" -o "${OUTDIR}" --overwrite

Environment

- OS: Mac M1 (arm64)

Anything else?

No response

konveyor-ci-bot[bot] commented 3 weeks ago

This issue is currently awaiting triage. If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance. The triage/accepted label can be added by org members.