Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can manually modify your build system to ensure that all the required dependencies are available.

Table of Contents
maxLevel1

Adding Dependencies in Maven

Modify the pom.xml file by adding the following entry to the <dependencies> section:

Code Block
<dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.11</version>
    <scope>test</scope>
</dependency>

<dependency> 
	<groupId>pl.pragmatists</groupId>  
	<artifactId>JUnitParams</artifactId>
    <version>1.0.6</version>
    <scope>test</scope>
</dependency>

<dependency>
    <groupId>org.mockito</groupId>  
	<artifactId>mockito-all</artifactId>
    <version>1.9.5</version>
    <scope>test</scope>
</dependency>

<dependency>
    <groupId>org.powermock</groupId>
  	<artifactId>powermock-mockito-release-full</artifactId>
    <version>1.5.5</version>
    <type>pom</type>
    <scope>test</scope>
</dependency>




Adding Dependencies in Gradle



Adding Dependencies in Ant