L
L
lancehokage2022-01-20 13:34:01
Java
lancehokage, 2022-01-20 13:34:01

What is scope scope for?

I figured out the scopes, but I can’t understand why maven needs this information regarding dependencies. What is the use of scope?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2022-01-20
@lancehokage

Then, for example, when building an artifact for use in the prod, not to include the JUnit library in it, which is needed only for testing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question