Skip to content

Commit fe40847

Browse files
committed
change packaging for converters
1 parent 4a4f6a9 commit fe40847

File tree

16 files changed

+33
-23
lines changed

16 files changed

+33
-23
lines changed

docs/configuration/modules/import-export-parameters-default-value.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: import-export-parameters-default-value
33
layout: default
44
---
55

6-
The `import-export-parameters-default-value` module is an optional module used by the `com.powsybl.iidm.import_.Importers`
6+
The `import-export-parameters-default-value` module is an optional module used by the `com.powsybl.iidm.converter.Importers`
77
class to initialize the parameters passed to configure the importer. This module support 3 different types of properties:
88
- Boolean
99
- String

docs/configuration/modules/import.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: import
33
layout: default
44
---
55

6-
The `import` module is used by the `com.powsybl.iidm.import_.Importers` class, after a case is loaded. A
6+
The `import` module is used by the `com.powsybl.iidm.converter.Importers` class, after a case is loaded. A
77
[post processor](../../iidm/importer/post-processor/index.md) is a class used to modify a network after its loading:
88
- [GroovyPostProcessor](../../iidm/importer/post-processor/GroovyScriptPostProcessor.md): to run a groovy script
99
- [JavaScriptPostProcessor](../../iidm/importer/post-processor/JavaScriptPostProcessor.md) to run a javascript script
@@ -16,7 +16,7 @@ used to list the available implementations.
1616
# Optional properties
1717

1818
## postProcessors
19-
The `postProcessors` property is an optional property that defines the list of `com.powsybl.iidm.import_.ImportPostProcessor`
19+
The `postProcessors` property is an optional property that defines the list of `com.powsybl.iidm.converter.ImportPostProcessor`
2020
names. The default value of this property is an empty list.
2121

2222
# Examples

docs/configuration/modules/javaScriptPostProcessor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: javaScriptPostProcessor
33
layout: default
44
---
55

6-
The `javaScriptPostProcessor` module is used by the `com.powsybl.iidm.import_.JavaScriptPostProcessor` class, which is
7-
an implementation of the `com.powsybl.iidm.import_.ImportPostProcessor` that runs a javascript script after a case is
6+
The `javaScriptPostProcessor` module is used by the `com.powsybl.iidm.converter.JavaScriptPostProcessor` class, which is
7+
an implementation of the `com.powsybl.iidm.converter.ImportPostProcessor` that runs a javascript script after a case is
88
converted to an IIDM network.
99

1010
# Optional properties

docs/iidm/exporter/iidm.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ This property is deprecated since v2.4.0. Use the `iidm.export.xml.export-mode`
123123
# Maven configuration
124124
To support IIDM-XML files, add the following dependencies to the `pom.xml` file.
125125
```xml
126+
<dependency>
127+
<groupId>com.powsybl</groupId>
128+
<artifactId>powsybl-iidm-api</artifactId>
129+
<version>${powsybl.version}</version>
130+
</dependency>
126131
<dependency>
127132
<groupId>com.powsybl</groupId>
128133
<artifactId>powsybl-iidm-xml-converter</artifactId>

docs/iidm/exporter/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Exporters
33
layout: default
44
---
55

6-
The `com.powsybl.iidm.export.Exporter` class is used to serialize a IIDM network to files. Powsybl supports natively
6+
The `com.powsybl.iidm.converter.Exporter` class is used to serialize a IIDM network to files. Powsybl supports natively
77
several implementations:
88
- [IIDM](iidm.md)
99
- [AMPL](ampl.md)

docs/iidm/importer/cgmes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To support CGMES files, add the following dependencies to the `pom.xml` file:
6666
```xml
6767
<dependency>
6868
<groupId>com.powsybl</groupId>
69-
<artifactId>powsybl-cgmes-conversion</artifactId>
69+
<artifactId>powsybl-cgmes-converter</artifactId>
7070
<version>${powsybl.version}</version>
7171
</dependency>
7272
<dependency>

docs/iidm/importer/iidm.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ The `throwExceptionIfExtensionNotFound` property is deprecated since v2.0.0. Use
107107
# Maven configuration
108108
To support IIDM-XML files, add the following dependencies to the `pom.xml` file.
109109
```xml
110+
<dependency>
111+
<groupId>com.powsybl</groupId>
112+
<artifactId>powsybl-iidm-api</artifactId>
113+
<version>${powsybl.version}</version>
114+
</dependency>
110115
<dependency>
111116
<groupId>com.powsybl</groupId>
112117
<artifactId>powsybl-iidm-xml-converter</artifactId>

docs/iidm/importer/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Importers
33
layout: default
44
---
55

6-
The `com.powsybl.iidm.import_.Importer` class is used to create a IIDM network instance from a case. Powsybl supports
6+
The `com.powsybl.iidm.converter.Importer` class is used to create a IIDM network instance from a case. Powsybl supports
77
natively several implementations:
88
- [IIDM](iidm.md)
99
- [CGMES](cgmes.md)

docs/iidm/importer/post-processor/GroovyScriptPostProcessor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: GroovyScriptPostProcessor
33
layout: default
44
---
55

6-
The `com.powsybl.iidm.import_.GroovyScriptPostProcessor` class is an implementation of the `com.powsybl.iidm.import_.ImportPostProcessor`
6+
The `com.powsybl.iidm.converter.GroovyScriptPostProcessor` class is an implementation of the `com.powsybl.iidm.converter.ImportPostProcessor`
77
interface that runs a Groovy script after a IIDM network is loaded.
88

99
The groovy script has access to two variables:
@@ -49,7 +49,7 @@ To use the Groovy post processor, add the following dependencies to the `pom.xml
4949
```xml
5050
<dependency>
5151
<groupId>com.powsybl</groupId>
52-
<artifactId>powsybl-iidm-converter-api</artifactId>
52+
<artifactId>powsybl-iidm-api</artifactId>
5353
<version>${powsybl.version}</version>
5454
</dependency>
5555
```

docs/iidm/importer/post-processor/JavaScriptPostProcessor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: JavaScriptPostProcessor
33
layout: default
44
---
55

6-
The `com.powsybl.iidm.import_.JavaScriptPostProcessor` class is an implementation of the `com.powsybl.iidm.import_.ImportPostProcessor`
6+
The `com.powsybl.iidm.converter.JavaScriptPostProcessor` class is an implementation of the `com.powsybl.iidm.converter.ImportPostProcessor`
77
interface that runs a JS script after a IIDM network is loaded.
88

99
The JS script has access to two variables:
@@ -50,7 +50,7 @@ To use the Groovy post processor, add the following dependencies to the `pom.xml
5050
```xml
5151
<dependency>
5252
<groupId>com.powsybl</groupId>
53-
<artifactId>powsybl-iidm-converter-api</artifactId>
53+
<artifactId>powsybl-iidm-api</artifactId>
5454
<version>${powsybl.version}</version>
5555
</dependency>
5656
```

0 commit comments

Comments
 (0)