Skip to content

Commit 5fc130b

Browse files
author
Omur
committed
driver starter
1 parent 6df19e9 commit 5fc130b

File tree

4 files changed

+33
-1
lines changed

4 files changed

+33
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,3 +355,5 @@ jdk_8_maven/em/external/rest/spring-batch-rest/target
355355
/jdk_8_maven/cs/rest/original/spring-actuator-demo/target
356356
/jdk_8_maven/em/embedded/rest/spring-actuator-demo/target
357357
/jdk_8_maven/em/external/rest/spring-actuator-demo/target
358+
359+
/jdk_21_maven/cs/rest-gui/webgoat/target

jdk_21_maven/cs/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
<modules>
1515
<module>rest</module>
16+
<module>rest-gui</module>
1617
</modules>
1718

1819

jdk_21_maven/cs/rest-gui/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<parent>
6+
<groupId>org.evomaster</groupId>
7+
<artifactId>evomaster-benchmark-jdk21-cs</artifactId>
8+
<version>3.4.1-SNAPSHOT</version>
9+
</parent>
10+
11+
<artifactId>evomaster-benchmark-jdk21-cs-rest-gui</artifactId>
12+
<packaging>pom</packaging>
13+
14+
15+
<modules>
16+
<module>webgoat</module>
17+
</modules>
18+
19+
20+
</project>

jdk_21_maven/cs/rest-gui/webgoat/pom.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
88
<version>3.3.5</version>
9+
<relativePath></relativePath>
910
</parent>
1011

1112
<groupId>org.owasp.webgoat</groupId>
@@ -108,6 +109,8 @@
108109

109110
<dependencyManagement>
110111
<dependencies>
112+
113+
111114
<dependency>
112115
<groupId>org.apache.commons</groupId>
113116
<artifactId>commons-exec</artifactId>
@@ -432,6 +435,10 @@
432435
<excludeDevtools>true</excludeDevtools>
433436
<executable>true</executable>
434437
<mainClass>org.owasp.webgoat.server.StartWebGoat</mainClass>
438+
<!-- MODIFIED-->
439+
<finalName>webgoat</finalName>
440+
<classifier>sut</classifier>
441+
<!-- MODIFIED-->
435442
<!-- See http://docs.spring.io/spring-boot/docs/current/reference/html/howto-build.html#howto-extract-specific-libraries-when-an-executable-jar-runs -->
436443
<requiresUnpack>
437444
<dependency>
@@ -695,7 +702,9 @@
695702
<argument>java.base/java.io=ALL-UNNAMED</argument>
696703
<argument>--add-opens</argument>
697704
<argument>java.base/java.util=ALL-UNNAMED</argument>
698-
<argument>${project.build.directory}/webgoat-${project.version}.jar</argument>
705+
<!-- MODIFIED-->
706+
<argument>${project.build.directory}/webgoat-sut.jar</argument>
707+
<!-- MODIFIED-->
699708
</arguments>
700709
<waitForInterrupt>false</waitForInterrupt>
701710
<waitAfterLaunch>${waittimeForServerStart}</waitAfterLaunch>

0 commit comments

Comments
 (0)