Skip to content

Commit

Permalink
Merge pull request #40 from FortnoxAB/move-hosuaby-dependencies-to-ma…
Browse files Browse the repository at this point in the history
…nagement

Move hosuaby dependencies to dependencyManagement in parent pom
  • Loading branch information
magnusp authored Nov 12, 2024
2 parents 42a78e7 + 9dd551c commit 97d4f76
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
3 changes: 0 additions & 3 deletions changesets-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,11 @@
<dependency>
<groupId>io.hosuaby</groupId>
<artifactId>inject-resources-core</artifactId>
<version>0.3.5</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.hosuaby</groupId>
<artifactId>inject-resources-junit-jupiter</artifactId>
<version>0.3.5</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package se.fortnox.changesets;

import com.adelean.inject.resources.junit.jupiter.GivenTextResource;
import com.adelean.inject.resources.junit.jupiter.TestWithResources;
import io.hosuaby.inject.resources.junit.jupiter.GivenTextResource;
import io.hosuaby.inject.resources.junit.jupiter.TestWithResources;
import org.junit.jupiter.api.Test;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<maven.compiler.target>17</maven.compiler.target>
<maven.version>3.9.9</maven.version>
<junit-jupiter.version>5.11.3</junit-jupiter.version>
<inject-resources.version>1.0.0</inject-resources.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -156,6 +157,19 @@
<version>1.5.12</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.hosuaby</groupId>
<artifactId>inject-resources-core</artifactId>
<version>${inject-resources.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.hosuaby</groupId>
<artifactId>inject-resources-junit-jupiter</artifactId>
<version>${inject-resources.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down

0 comments on commit 97d4f76

Please sign in to comment.