Maven Dependency

  • Dependencies give groupId, artifactId, version, scope, etc
  • groupId: What organization manages this library?
  • artifactId: What library do you want?
  • version: Which version of the library do you want?
  • scope: How will it be used?
<dependency>
    <groupId>com.google.guava</groupId>
    <artifactId>guava</artifactId>
    <version>30.1-jre</version>
    <scope>compile</scope>
</dependency>

19 / 23