Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup dependency usage #267

Open
McPringle opened this issue Dec 31, 2024 · 0 comments
Open

Cleanup dependency usage #267

McPringle opened this issue Dec 31, 2024 · 0 comments
Labels
hackergarten Possible issues for Hackergarten events help wanted Extra attention is needed maintenance Issues related to maintaining Apus

Comments

@McPringle
Copy link
Owner

Run ./mvnw dependency:analyze and fix the warnings:

[WARNING] Used undeclared dependencies found:
[WARNING]    ch.qos.logback:logback-core:jar:1.5.12:compile
[WARNING]    org.mockito:mockito-core:jar:5.14.2:test
[WARNING]    org.junit.jupiter:junit-jupiter-api:jar:5.11.4:test
[WARNING]    org.springframework.security:spring-security-crypto:jar:6.4.2:compile
[WARNING]    com.vaadin:vaadin-flow-components-base:jar:24.6.0:compile
[WARNING]    org.slf4j:slf4j-api:jar:2.0.16:compile
[WARNING]    jakarta.annotation:jakarta.annotation-api:jar:2.1.1:compile
[WARNING]    ch.qos.logback:logback-classic:jar:1.5.12:compile
[WARNING]    com.vaadin:vaadin-dialog-flow:jar:24.6.0:compile
[WARNING]    com.vaadin:vaadin-button-flow:jar:24.6.0:compile
[WARNING]    com.vaadin:vaadin-context-menu-flow:jar:24.6.0:compile
[WARNING]    com.vaadin:vaadin-avatar-flow:jar:24.6.0:compile
[WARNING]    org.springframework.boot:spring-boot-test:jar:3.4.1:test
[WARNING]    com.vaadin:vaadin-notification-flow:jar:24.6.0:compile
[WARNING]    org.springframework.boot:spring-boot-autoconfigure:jar:3.4.1:compile
[WARNING]    com.vaadin:flow-data:jar:24.6.0:compile
[WARNING]    com.vaadin:flow-server:jar:24.6.0:compile
[WARNING]    org.springframework.boot:spring-boot:jar:3.4.1:compile
[WARNING]    com.vaadin:flow-html-components:jar:24.6.0:compile
[WARNING]    com.vaadin:vaadin-icons-flow:jar:24.6.0:compile
[WARNING]    org.springframework:spring-context:jar:6.2.1:compile
[WARNING]    org.springframework:spring-test:jar:6.2.1:test
[WARNING]    org.junit.jupiter:junit-jupiter-params:jar:5.11.4:test
[WARNING]    org.jetbrains.kotlin:kotlin-stdlib:jar:1.9.25:compile
[WARNING]    org.springframework:spring-beans:jar:6.2.1:compile
[WARNING]    com.vaadin:vaadin-text-field-flow:jar:24.6.0:compile
[WARNING]    com.github.mvysny.kaributesting:karibu-testing-v10:jar:2.2.0:test
[WARNING] Unused declared dependencies found:
[WARNING]    com.vaadin:vaadin-core:jar:24.6.0:compile
[WARNING]    com.vaadin:vaadin-spring-boot-starter:jar:24.6.0:compile
[WARNING]    org.springframework.boot:spring-boot-starter-validation:jar:3.4.1:compile
[WARNING]    org.springframework.boot:spring-boot-starter-actuator:jar:3.4.1:compile
[WARNING]    org.springframework.boot:spring-boot-configuration-processor:jar:3.4.1:compile
[WARNING]    org.springframework.boot:spring-boot-devtools:jar:3.4.1:compile
[WARNING]    org.springframework.security:spring-security-core:jar:6.4.2:compile
[WARNING]    com.github.spotbugs:spotbugs-annotations:jar:4.8.6:compile
[WARNING]    org.xerial:sqlite-jdbc:jar:3.47.1.0:compile
[WARNING]    org.gaul:modernizer-maven-annotations:jar:3.0.0:compile
[WARNING]    org.springframework.boot:spring-boot-starter-test:jar:3.4.1:test
[WARNING]    com.vaadin:vaadin-testbench-junit5:jar:24.6.0:test
[WARNING]    org.mockito:mockito-junit-jupiter:jar:5.14.2:test
[WARNING] Non-test scoped test only dependencies found:
[WARNING]    ch.qos.logback:logback-core:jar:1.5.12:compile
[WARNING]    ch.qos.logback:logback-classic:jar:1.5.12:compile
[WARNING]    org.jetbrains.kotlin:kotlin-stdlib:jar:1.9.25:compile
[WARNING]    org.springframework:spring-beans:jar:6.2.1:compile

When done, set the failOnWarning configuration to true and remove the comment.

@McPringle McPringle added help wanted Extra attention is needed hackergarten Possible issues for Hackergarten events maintenance Issues related to maintaining Apus labels Dec 31, 2024
McPringle added a commit that referenced this issue Dec 31, 2024
McPringle added a commit that referenced this issue Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hackergarten Possible issues for Hackergarten events help wanted Extra attention is needed maintenance Issues related to maintaining Apus
Projects
None yet
Development

No branches or pull requests

1 participant