Dependencies – Exclude the entire parent dependency

The parent pom has the following dependencies



tv.my
cable


tv.my< br /> sat

In the child’s pom I want to exclude the entire tv.my:sat dependency. Maybe There are such things:





tv.my
cable



< /pre>

Is this possible?

You have no choice but to fix the parent POM to use dependencyManagement correctly. The dependency of parent poms It’s almost never a good idea, once you use the parent who owns them, you will get stuck.

The parent pom has the following dependencies

< /p>



tv.my
cable


tv.my
sat

< /pre>

In the child's pom, I want to exclude the entire tv.my:sat dependency. Maybe there is something like this:





tv.my
cable
< br />

Is this possible?

You have no choice but to fix the parent POM to use dependencyManagement correctly. The dependency of parent poms is almost never a good idea, once you use owning Their parents, you will be in trouble.

Leave a Comment

Your email address will not be published.