Inconsistent WAR File Sizes in Two Successful CI Builds on the Same Branch and Pipeline

Diptesh Kumar 601 Reputation points
2025-05-07T03:56:43.3533333+00:00

I see same pipeline with same POM xml file generated different count of WAR file in the maven run. count is different and it is less in one pipeline run.

I have a .war file generated using a Maven build, and I’m trying to verify whether all required dependencies are correctly included in it. I have access to the pom.xml, Can someone guide me on what sections of the pom.xml I should check to ensure the dependencies are correctly defined and included in the .war? Also, how can I verify if any dependencies are missing from the .war and what steps to take if they are?

Azure DevOps
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.