[BUG] Parameter <createPomDebloated> is not working.
See original GitHub issueDescribe the bug
When I am trying to run either mvn se.kth.castor:depclean-maven-plugin:2.0.1:depclean -DcreatePomDebloated=true
or mvn se.kth.castor:depclean-maven-plugin:2.0.1:depclean -DcreatePomDebloated=true -DcreateResultJson=true
then either of these is not producing a debloated-pom.xml
in the root of the project (The later one is only producing a .json and .csv file but not .xml file) .
See the results of mvn se.kth.castor:depclean-maven-plugin:2.0.1:depclean -DcreatePomDebloated=true
here
and result of mvn se.kth.castor:depclean-maven-plugin:2.0.1:depclean -DcreatePomDebloated=true -DcreateResultJson=true
here
Expected behavior A debloated-pom.xml file should be created in the root of the project.
I am unable to get what I am doing wrong? But if the problem is from my side only, then please guide me through this.
Thank you Abhay
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Hi @ABHAY0O7, that’s excellent. Please provide some unit tests as part of https://github.com/castor-software/depclean/pull/85, then I’ll merge it!
Hi @cesarsotovalero I got it, I was using the wrong command. Correct one is
mvn se.kth.castor:depclean-maven-plugin:2.0.2-SNAPSHOT:depclean -DcreatePomDebloated=true
. All LGTM, so I am closing this issue now.Thank you