deken
deken

Reputation: 387

How to add multiple dependencies at once in maven?

I have about ~50 jars that I need to add to a maven project.

Is there a way to add lots at once, or add automatically instead of going to each one and adding the artifact and group id for each.

Upvotes: 1

Views: 2071

Answers (1)

Bozho
Bozho

Reputation: 597402

The point of maven is not to add "jars". The jars live in repositories, and with most jars, they are in the public maven repository.

You simply add metadata about which jars you need in your pom.xml. Therefore you can only do it one-by-one - it is simply text.

Upvotes: 1

Related Questions