Explain the difference between dependency and plugin in Maven?
S.no | Maven Plugin | Maven Dependency |
---|---|---|
1. | Preferred for most of the work | Used while task implementation by adding to the classpath |
2. | Difficult to manage | Easy management |
3. | Create JAR files, unit test code, compile code | Reproducible builds are defined, created and maintained |
BY Best Interview Question ON 11 Apr 2019