Ven
Ven

Reputation: 1

How to add package dependencies in a pom file?

How to add just the packages as dependencies, instead of entire module in a pom.xml.

I have a two modules dataloader and assets (both with packaging type as war). The assets have so many packages and the dataloader only needs oms, violations, and rules packages from assets. How can I add just the three packages that dataloader needs as dependencies in my dataloader pom.xml.

Is there any smart way where we can wrap the three packages from assets and add as a single dependency in the dataloader pom.xml when we are trying to build the dataloader module ?

Upvotes: 0

Views: 281

Answers (0)

Related Questions