+1 vote
in Maven - Coalescing Pipeline by
What is the use of optional dependency?

1 Answer

0 votes
by

You can mark any transitive dependency as optional using the “optional” element. As an example, A depends upon B and B depends upon C. Now B marked C as optional. Then A will not use C.

Related questions

0 votes
asked Aug 20, 2023 in Maven - Coalescing Pipeline by GeorgeBell
+1 vote
asked Oct 25, 2021 in Maven - Coalescing Pipeline by Robin
...