From 8a0a2b00e6314ea29d68a8a5468325437a14e9bd Mon Sep 17 00:00:00 2001 From: NathanDissoubray Date: Tue, 21 Jul 2026 10:15:50 +0200 Subject: [PATCH 1/2] Allow execution with mvn compile exec:exec Signed-off-by: NathanDissoubray --- demo/java/network-viewer-demo-data/pom.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/demo/java/network-viewer-demo-data/pom.xml b/demo/java/network-viewer-demo-data/pom.xml index 81f48ce3..2ecb0bf3 100644 --- a/demo/java/network-viewer-demo-data/pom.xml +++ b/demo/java/network-viewer-demo-data/pom.xml @@ -101,4 +101,22 @@ + + + + org.codehaus.mojo + exec-maven-plugin + 3.6.3 + + java + + -classpath + + com.powsybl.viewer.demo.DemoFilesGenerator + + + + + + \ No newline at end of file From bfb0de924e4c5fb9bb59c00ea5ea700c0ffe852b Mon Sep 17 00:00:00 2001 From: NathanDissoubray Date: Tue, 21 Jul 2026 10:24:29 +0200 Subject: [PATCH 2/2] Update README Signed-off-by: NathanDissoubray --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 0e28b28c..08ec62f4 100644 --- a/README.md +++ b/README.md @@ -190,6 +190,13 @@ $ npm login $ npm run publish:all ``` +#### Updating the demo files + +Run the following: +```shell +cd demo/java/network-viewer-demo-data && mvn compile exec:exec +``` + ### Notes : - Check [license-checker-config.json](license-checker-config.json) for license white list and exclusion.