Dependencies are managed in the 'pom.xml' file, specifying libraries needed.
In Maven, dependencies are specified in the 'pom.xml' file, allowing Maven to manage library versions and transitive dependencies automatically. This ensures that all team members work with the same library versions, reducing conflicts. For example, adding Mockito as a dependency in 'pom.xml' lets you easily use it for mocking in your tests.