Skip to content

Conversation

@artur-ciocanu
Copy link
Contributor

@artur-ciocanu artur-ciocanu commented Oct 19, 2025

Description

In some instances the build was failing because of missing JARs when build the test containers in examples module. This PR ensures that we are relying on verify phase to ensure all the JARs are present. Also there is a tiny fix to add proper <scope>test</scope> to different test dependencies.

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@artur-ciocanu artur-ciocanu requested review from a team as code owners October 19, 2025 18:01
@mcruzdev
Copy link
Contributor

mcruzdev commented Oct 19, 2025

@artur-ciocanu this one #1574 solves this pipeline issue.

@artur-ciocanu artur-ciocanu changed the title Force Jackson version to override the SB Jackson version Fix dependencies for Jackson and ensure proper test deps Oct 20, 2025
@artur-ciocanu
Copy link
Contributor Author

@dapr/approvers-java-sdk and @dapr/maintainers-java-sdk could you please review and approve. This is another PR that gets us closer to a more sane Maven config.

Thank you.

@artur-ciocanu artur-ciocanu changed the title Fix dependencies for Jackson and ensure proper test deps Fix dependencies multi app build and add proper test deps Oct 20, 2025
@artur-ciocanu
Copy link
Contributor Author

@salaboy @siri-varma could you please take a look, I have addressed the review comments. Thank you.

@dapr-bot dapr-bot merged commit c5dacde into dapr:master Oct 21, 2025
10 checks passed
@codecov
Copy link

codecov bot commented Oct 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.44%. Comparing base (d759c53) to head (7f42d54).
⚠️ Report is 231 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1572      +/-   ##
============================================
+ Coverage     76.91%   78.44%   +1.53%     
- Complexity     1592     1929     +337     
============================================
  Files           145      216      +71     
  Lines          4843     5860    +1017     
  Branches        562      656      +94     
============================================
+ Hits           3725     4597     +872     
- Misses          821      926     +105     
- Partials        297      337      +40     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@artur-ciocanu artur-ciocanu deleted the fix-jackson-version branch October 22, 2025 00:50
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Oct 24, 2025
* Force Jackson version to override the SB Jackson version

Signed-off-by: Artur Ciocanu <[email protected]>

* Move all the Jackson deps to parent POM.

Signed-off-by: Artur Ciocanu <[email protected]>

* Ensure app JAR build order

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove explicit Jackson from sdk-tests module.

Signed-off-by: Artur Ciocanu <[email protected]>

* Make sure <scope>test</scope> is used for test dependencies.

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove extra Jackson modules.

Signed-off-by: Artur Ciocanu <[email protected]>

---------

Signed-off-by: Artur Ciocanu <[email protected]>
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Oct 24, 2025
* Force Jackson version to override the SB Jackson version

Signed-off-by: Artur Ciocanu <[email protected]>

* Move all the Jackson deps to parent POM.

Signed-off-by: Artur Ciocanu <[email protected]>

* Ensure app JAR build order

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove explicit Jackson from sdk-tests module.

Signed-off-by: Artur Ciocanu <[email protected]>

* Make sure <scope>test</scope> is used for test dependencies.

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove extra Jackson modules.

Signed-off-by: Artur Ciocanu <[email protected]>

---------

Signed-off-by: Artur Ciocanu <[email protected]>
Signed-off-by: salaboy <[email protected]>
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Oct 24, 2025
* Force Jackson version to override the SB Jackson version

Signed-off-by: Artur Ciocanu <[email protected]>

* Move all the Jackson deps to parent POM.

Signed-off-by: Artur Ciocanu <[email protected]>

* Ensure app JAR build order

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove explicit Jackson from sdk-tests module.

Signed-off-by: Artur Ciocanu <[email protected]>

* Make sure <scope>test</scope> is used for test dependencies.

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove extra Jackson modules.

Signed-off-by: Artur Ciocanu <[email protected]>

---------

Signed-off-by: Artur Ciocanu <[email protected]>
Signed-off-by: salaboy <[email protected]>
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Oct 24, 2025
* Force Jackson version to override the SB Jackson version

Signed-off-by: Artur Ciocanu <[email protected]>

* Move all the Jackson deps to parent POM.

Signed-off-by: Artur Ciocanu <[email protected]>

* Ensure app JAR build order

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove explicit Jackson from sdk-tests module.

Signed-off-by: Artur Ciocanu <[email protected]>

* Make sure <scope>test</scope> is used for test dependencies.

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove extra Jackson modules.

Signed-off-by: Artur Ciocanu <[email protected]>

---------

Signed-off-by: Artur Ciocanu <[email protected]>
Signed-off-by: salaboy <[email protected]>
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Oct 24, 2025
* Force Jackson version to override the SB Jackson version

Signed-off-by: Artur Ciocanu <[email protected]>

* Move all the Jackson deps to parent POM.

Signed-off-by: Artur Ciocanu <[email protected]>

* Ensure app JAR build order

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove explicit Jackson from sdk-tests module.

Signed-off-by: Artur Ciocanu <[email protected]>

* Make sure <scope>test</scope> is used for test dependencies.

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove extra Jackson modules.

Signed-off-by: Artur Ciocanu <[email protected]>

---------

Signed-off-by: Artur Ciocanu <[email protected]>
Signed-off-by: salaboy <[email protected]>
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Oct 24, 2025
* Force Jackson version to override the SB Jackson version

Signed-off-by: Artur Ciocanu <[email protected]>

* Move all the Jackson deps to parent POM.

Signed-off-by: Artur Ciocanu <[email protected]>

* Ensure app JAR build order

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove explicit Jackson from sdk-tests module.

Signed-off-by: Artur Ciocanu <[email protected]>

* Make sure <scope>test</scope> is used for test dependencies.

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove extra Jackson modules.

Signed-off-by: Artur Ciocanu <[email protected]>

---------

Signed-off-by: Artur Ciocanu <[email protected]>
Signed-off-by: salaboy <[email protected]>
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Oct 24, 2025
* Force Jackson version to override the SB Jackson version

Signed-off-by: Artur Ciocanu <[email protected]>

* Move all the Jackson deps to parent POM.

Signed-off-by: Artur Ciocanu <[email protected]>

* Ensure app JAR build order

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove explicit Jackson from sdk-tests module.

Signed-off-by: Artur Ciocanu <[email protected]>

* Make sure <scope>test</scope> is used for test dependencies.

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove extra Jackson modules.

Signed-off-by: Artur Ciocanu <[email protected]>

---------

Signed-off-by: Artur Ciocanu <[email protected]>
Signed-off-by: salaboy <[email protected]>
dapr-bot pushed a commit that referenced this pull request Oct 24, 2025
* adding new method signature plus test

Signed-off-by: salaboy <[email protected]>

* re adding imports

Signed-off-by: salaboy <[email protected]>

* fixing style

Signed-off-by: salaboy <[email protected]>

* checking empty metadata

Signed-off-by: salaboy <[email protected]>

* copy meta for safety and check if key is present

Signed-off-by: salaboy <[email protected]>

* Centralize Maven dependency version management (#1564)

Signed-off-by: salaboy <[email protected]>

* Fix dependencies multi app build and add proper test deps (#1572)

* Force Jackson version to override the SB Jackson version

Signed-off-by: Artur Ciocanu <[email protected]>

* Move all the Jackson deps to parent POM.

Signed-off-by: Artur Ciocanu <[email protected]>

* Ensure app JAR build order

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove explicit Jackson from sdk-tests module.

Signed-off-by: Artur Ciocanu <[email protected]>

* Make sure <scope>test</scope> is used for test dependencies.

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove extra Jackson modules.

Signed-off-by: Artur Ciocanu <[email protected]>

---------

Signed-off-by: Artur Ciocanu <[email protected]>
Signed-off-by: salaboy <[email protected]>

* reverting pom

Signed-off-by: salaboy <[email protected]>

* fix codestyle

Signed-off-by: salaboy <[email protected]>

* using metaCopy

Signed-off-by: salaboy <[email protected]>

---------

Signed-off-by: salaboy <[email protected]>
Signed-off-by: Artur Ciocanu <[email protected]>
Co-authored-by: artur-ciocanu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants