Skip to content

Commit

Permalink
maven: Enable use of jupiter and assertj in tests
Browse files Browse the repository at this point in the history
We add JUnit Jupiter and assertj to the test class path.

Signed-off-by: BJ Hargrave <bj@hargrave.dev>
  • Loading branch information
bjhargrave committed Jul 5, 2022
1 parent ccf0d56 commit a130434
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
12 changes: 11 additions & 1 deletion maven/bnd-plugin-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-plugin-parent</artifactId>
<description>Parent POM for the Bnd Maven plugins.</description>
<name>${project.groupId}:${project.artifactId}</name>
<name>Bnd Maven Plugins Parent</name>
<packaging>pom</packaging>
<version>${revision}</version>

Expand Down Expand Up @@ -207,6 +207,16 @@
<groupId>org.osgi</groupId>
<artifactId>osgi.annotation</artifactId>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
</dependency>
</dependencies>

<build>
Expand Down
5 changes: 0 additions & 5 deletions maven/bnd-reporter-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@
<artifactId>biz.aQute.bnd.reporter</artifactId>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<artifactId>maven</artifactId>
<version>1.0.0</version>
<description>Reactor to build the Bnd Maven plugins.</description>
<name>Bnd Maven plugins reactor</name>
<name>Bnd Maven Plugins Reactor</name>
<packaging>pom</packaging>

<properties>
Expand Down

0 comments on commit a130434

Please sign in to comment.