Skip to content

Commit 6fed1f6

Browse files
authored
Use npm run start instead of node (#340)
Do not use direct path to execute MTX sidecar, use `npm run start` instead.
1 parent 550c904 commit 6fed1f6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

integration-tests/pom.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
<properties>
1717
<sidecar.dir>../mtx/sidecar</sidecar.dir>
18-
<cds.node.executable>node</cds.node.executable>
1918
</properties>
2019

2120
<dependencies>
@@ -111,7 +110,7 @@
111110
<plugin>
112111
<groupId>org.codehaus.mojo</groupId>
113112
<artifactId>exec-maven-plugin</artifactId>
114-
<version>3.2.0</version>
113+
<version>3.3.0</version>
115114
<executions>
116115
<execution>
117116
<phase>pre-integration-test</phase>
@@ -122,12 +121,12 @@
122121
</execution>
123122
</executions>
124123
<configuration>
125-
<executable>${cds.node.executable}</executable>
124+
<executable>${cds.npm.executable}</executable>
126125
<skip>${skipTests}</skip>
127126
<workingDirectory>${sidecar.dir}</workingDirectory>
128127
<async>true</async>
129128
<useMavenLogger>true</useMavenLogger>
130-
<commandlineArgs>node_modules/@sap/cds/bin/cds-serve.js</commandlineArgs>
129+
<commandlineArgs>run start</commandlineArgs>
131130
</configuration>
132131
</plugin>
133132
</plugins>

0 commit comments

Comments
 (0)