Skip to content

Commit

Permalink
Move hosuaby dependencies to dependencyManagement in parent pom
Browse files Browse the repository at this point in the history
  • Loading branch information
splitfeed committed Nov 12, 2024
1 parent 8300d63 commit 1ee162a
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 @@ -19,6 +19,7 @@
<maven.compiler.target>17</maven.compiler.target>
<maven.version>3.9.9</maven.version>
<junit-jupiter.version>5.11.2</junit-jupiter.version>
<inject-resources.version>1.0.0</inject-resources.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -116,6 +117,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 1ee162a

Please sign in to comment.