Skip to content

Commit 470f3b3

Browse files
committed
Add modified build system (powsybl-parent) recipe
1 parent ad9d7a6 commit 470f3b3

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

README.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,29 @@ $ mvn install -Dpowsybl.docker.install \
128128
TODO: can enforce that there is no source code that is ignored in this step ?
129129

130130
### Full java recompile with modified build system (powsybl-parent)
131-
TODO. It should be possible by modifying the relativePath and the parent version in all projects.
132-
TODO. can this be automated ?
131+
TODO. can this be done without modifying files ?
132+
133+
To use a modified parent, modify the relativePath and the parent version in the tested projects:
134+
```
135+
<parent>
136+
<groupId>com.powsybl</groupId>
137+
<artifactId>powsybl-parent-ws</artifactId>
138+
- <version>12</version>
139+
- <relativePath/>
140+
+ <version>14-SNAPSHOT</version>
141+
+ <relativePath>../../build/powsybl-parent/powsybl-parent/powsybl-parent-ws</relativePath>
142+
</parent>
143+
```
144+
145+
```
146+
$ mvn package -pl servers/study-server/ -am
147+
[INFO] Scanning for projects...
148+
[INFO] ------------------------------------------------------------------------
149+
[INFO] Reactor Build Order:
150+
[INFO]
151+
[INFO] Powsybl [pom]
152+
[INFO] Powsybl Build Tools [jar]
153+
[INFO] Powsybl Parent [pom]
154+
[INFO] Powsybl Parent WS [pom]
155+
[INFO] Study Server [jar]
156+
```

0 commit comments

Comments
 (0)