Skip to content

Commit ff7fd36

Browse files
authored
Replace mvnw with mvn in README.md because mvnw doesn't work with run-in-docker.sh (#22975)
1 parent b1022e7 commit ff7fd36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,12 @@ Once built, `run-in-docker.sh` will act as an executable for openapi-generator-c
418418

419419
##### Troubleshooting
420420

421-
If an error like this occurs, just execute the **./mvnw clean install -U** command:
421+
If an error like this occurs, just execute the **mvn clean install -U** command:
422422

423423
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project openapi-generator: A type incompatibility occurred while executing org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test: java.lang.ExceptionInInitializerError cannot be cast to java.io.IOException
424424
425425
```sh
426-
./run-in-docker.sh ./mvnw clean install -U
426+
./run-in-docker.sh mvn clean install -U
427427
```
428428

429429
> Failed to execute goal org.fortasoft:gradle-maven-plugin:1.0.8:invoke (default) on project openapi-generator-gradle-plugin-mvn-wrapper: org.gradle.tooling.BuildException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-4.7-bin.zip'
@@ -438,7 +438,7 @@ cd openapi-generator
438438
vagrant up
439439
vagrant ssh
440440
cd /vagrant
441-
./run-in-docker.sh ./mvnw package
441+
./run-in-docker.sh mvn package
442442
```
443443

444444
### [1.7 - NPM](#table-of-contents)

0 commit comments

Comments
 (0)