Skip to content

Commit

Permalink
Replace dependency 'Java Faker' with 'Data Faker'
Browse files Browse the repository at this point in the history
  • Loading branch information
vadim-levotsky authored and fmbenhassine committed Jul 15, 2023
1 parent 5e8366d commit 8743c55
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions easy-random-randomizers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
<artifactId>easy-random-core</artifactId>
</dependency>
<dependency>
<groupId>com.github.javafaker</groupId>
<artifactId>javafaker</artifactId>
<groupId>net.datafaker</groupId>
<artifactId>datafaker</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
*/
package org.jeasy.random.randomizers;

import com.github.javafaker.Faker;
import net.datafaker.Faker;
import org.jeasy.random.api.Randomizer;

import java.util.Locale;

/**
* Abstract {@link Randomizer} based on <a href="https://github.com/DiUS/java-faker">Faker</a>.
* Abstract {@link Randomizer} based on <a href="https://github.com/datafaker-net/datafaker">Data Faker</a>.
*
* @param <T> the element type
* @author Mahmoud Ben Hassine ([email protected])
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<junit.version>5.9.3</junit.version>
<faker.version>1.0.2</faker.version>
<datafaker.version>2.0.1</datafaker.version>
<assertj.version>3.24.2</assertj.version>
<validation-api.version>3.0.2</validation-api.version>
<objenesis.version>3.3</objenesis.version>
Expand Down Expand Up @@ -124,9 +124,9 @@
<version>${jakarta.el.version}</version>
</dependency>
<dependency>
<groupId>com.github.javafaker</groupId>
<artifactId>javafaker</artifactId>
<version>${faker.version}</version>
<groupId>net.datafaker</groupId>
<artifactId>datafaker</artifactId>
<version>${datafaker.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down

0 comments on commit 8743c55

Please sign in to comment.