Hi,

Can someone tell me if I understand correctly the difference between the
purpose of <dependencies>, <modules>, and the maven-dependency-plugin?

1. <dependencies> = so other artifacts will be fetched from a remote
repository into my local repository
2. <modules> = so sub-projects can be built automatically when building a
parent project.
3. maven-dependency-plugin = manually do things with artifacts in local (or
remote) repositories, such as copy and unpack them to a desired location

The biggest question for me is in how these all fit together, e.g., is it a
normal mechanism to want to fetch an artifact into the local repository,
copying and extracting it to a subfolder, and then (if it includes source)
compile it when compiling the "parent" artifact?

Thanks,
Phillip

Reply via email to