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

Tech debt - Maven lifecycle updates #2326

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

NavaCharlesHorowitz
Copy link
Contributor

@NavaCharlesHorowitz NavaCharlesHorowitz commented Nov 18, 2024

🎫 Ticket

This is one component of my catchall tech debt/housekeeping ticket:

DPC-4298

🛠 Changes

Updates to project POMs to implement Failsafe for integration test rather than reusing Surefire (generally limited to unit test)
Renamed integration test files consistent with Failsafe defaults (preserving commit history on these files)
Added test display names
Added test reporter to clean up maven output during build/test (flags added to enable out/err as needed)
Knocked out shade warnings
Updated maven plugin versions
Added maven clean plugin with config because CICD filelocks are slow to release

ℹ️ Context

Maven lifecycle activities, specifically package and test, were too cluttered with warnings and exception logging, making it difficult to understand the state of the software, quality and purpose of tests, and the results of specific development actions. 
Given that development work is typically very scoped, reducing 99% of the noise produced makes it easier to focus on evaluating specific changes made. Easier to understand and evaluate the software as a whole based on monitoring maven lifecycle.

🧪 Validation

Ran local dpc-test.sh to verify. Encountered sporadic issues with final mvn clean compile of dpc-smoketest which is redundant, so I've disabled it temporarily. I believe changes made to cicd environment for csrap may have affected environment behaviors

…smoketest is cleaned, compiled, and packaged during dpc-test.sh anyways, and recent updates to CICD/github action runner seem to have introduced new problems with our process
@NavaCharlesHorowitz NavaCharlesHorowitz marked this pull request as ready for review November 19, 2024 18:50
@NavaCharlesHorowitz NavaCharlesHorowitz added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 22, 2024
@NavaCharlesHorowitz NavaCharlesHorowitz requested a review from a team November 24, 2024 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant