File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -128,5 +128,29 @@ $ mvn install -Dpowsybl.docker.install \
128
128
TODO: can enforce that there is no source code that is ignored in this step ?
129
129
130
130
### 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
+ ```
You can’t perform that action at this time.
0 commit comments