April 2017
Beginner
504 pages
14h 11m
English
Dependencies are also important in the POM file. The previous project did not have any dependency, but this time we will use JUnit. Dependencies are defined in pom.xml using the dependencies tag. For example, the bubble sort module contains the following piece of code:
<dependencies> <dependency> <groupId>packt.java9.by.example</groupId> <artifactId>SortInterface</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> </dependencies>
Read now
Unlock full access