Skip to content

Commit

Permalink
Fix test dependencies declared as runtime or compile dependencies (#151)
Browse files Browse the repository at this point in the history
* Fix balances-adjustment's and flow-decomposition's dependencies scopes

Signed-off-by: Damien Jeandemange <[email protected]>
  • Loading branch information
jeandemanged authored Jul 2, 2024
1 parent 799f478 commit 88081fb
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
15 changes: 7 additions & 8 deletions balances-adjustment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@

<dependencies>
<!-- Compile dependencies -->
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-cgmes-extensions</artifactId>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-commons</artifactId>
Expand All @@ -53,14 +49,12 @@
<artifactId>powsybl-time-series-api</artifactId>
</dependency>

<!-- Runtime dependencies -->
<!-- Test dependencies -->
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-iidm-impl</artifactId>
<scope>runtime</scope>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
Expand Down Expand Up @@ -106,5 +100,10 @@
<artifactId>powsybl-ucte-converter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-cgmes-extensions</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
5 changes: 5 additions & 0 deletions entsoe-cgmes-balances-adjustment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
<artifactId>powsybl-config-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-iidm-impl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-iidm-test</artifactId>
Expand Down
21 changes: 10 additions & 11 deletions flow-decomposition/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,33 +45,32 @@
<artifactId>ejml-all</artifactId>
<version>${ejml.version}</version>
</dependency>
<!-- Runtime dependencies -->
<!-- Test dependencies -->
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-iidm-impl</artifactId>
<scope>runtime</scope>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-iidm-serde</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-open-loadflow</artifactId>
<scope>runtime</scope>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-ucte-converter</artifactId>
<scope>runtime</scope>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>runtime</scope>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-open-loadflow</artifactId>
<scope>test</scope>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>com.google.jimfs</groupId>
<artifactId>jimfs</artifactId>
Expand Down

0 comments on commit 88081fb

Please sign in to comment.