Skip to content
New issue

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

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

Already on GitHub? # to your account

Make dependency:analyze failOnWarning configurable #93

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# Change Log

# 0.26.0

- Build improvements:
- Revert upgrade to JAX-RS 4.0 as was causing cryptic build/runtime compatibility issues on some downstream projects
- New `analyze.failOnWarnings` property can be overridden in modules/projects to skip `dependency:analyze-only` goal
if the module/project is not yet ready for stricter dependency analysis.

# 0.25.2

- Build improvements
- Minor dependency cleanup

# 0.25.1

- JAX-RS Base Server improvements:
Expand Down
5 changes: 4 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@
<!-- Javadoc Configuration -->
<javadoc.failOnWarnings>true</javadoc.failOnWarnings>

<!-- Dependency Analyze Configuration -->
<analyze.failOnWarnings>true</analyze.failOnWarnings>

<!-- Parallel Testing -->
<!--
Controls how many JVM forks are used for parallel testing in some modules, set to a conservative 2 which offers
Expand Down Expand Up @@ -702,7 +705,7 @@
<goal>analyze-only</goal>
</goals>
<configuration>
<failOnWarning>true</failOnWarning>
<failOnWarning>${analyze.failOnWarnings}</failOnWarning>
<ignoredNonTestScopedDependencies>
<ignoredNonTestScopedDependency>org.glassfish.grizzly:grizzly-http</ignoredNonTestScopedDependency>
<ignoredNonTestScopedDependency>jakarta.ws.rs:jakarta.ws.rs-api</ignoredNonTestScopedDependency>
Expand Down
Loading