question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Parameter <createPomDebloated> is not working.

See original GitHub issue

Describe 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:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cesarsotovalerocommented, Apr 16, 2021

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!

0reactions
ABHAY0O7commented, Apr 21, 2021

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug: First Parameter not populating - Power Platform Community
Just tested with this w/ a very simplified application. create Canvas app create two labels Set Text on first to Param("A") Set Text...
Read more >
How to Fix the Parameter Is Incorrect on External Hard Drive ...
This error prevents you from accessing the drive's files or opening the drive's folder path. If not resolved in a timely manner, ...
Read more >
1946358 – [DDF] The update prepare command returned an ...
The update prepare command returned an error when setting with this syntax. Waiting for messages on queue 'tripleo' with no timeout.
Read more >
"Accessing a parameter that does not exist." Bug makes ...
The error with this message will only appear in compiled mode. No syntax error nor interpreter mode. To produce the error, add the...
Read more >
Create parameter method error: Parameter record does not exist
I believe the table has the same properties in the other environment (where it is working). Did you try a database synchronization before ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found