Skip to content

Commit ae12ca9

Browse files
authored
Merge pull request #4819 from gwenneg/mvn-command-cleanup
Replace `mvn` with `./mvnw` whenever possible
2 parents 7e35142 + 02cd7e8 commit ae12ca9

14 files changed

+21
-21
lines changed

docs/src/main/asciidoc/async-message-passing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ mvn io.quarkus:quarkus-maven-plugin:{quarkus-version}:create \
222222
-Dextensions="vertx"
223223
----
224224

225-
You can already start the application in _dev mode_ using `mvn compile quarkus:dev`.
225+
You can already start the application in _dev mode_ using `./mvnw compile quarkus:dev`.
226226

227227
Then, creates a new JAX-RS resource with the following content:
228228

docs/src/main/asciidoc/extension-authors-guide.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,7 @@ memory in a runtime class loader. To have these classes written out to disk for
15071507

15081508
[source,shell]
15091509
----
1510-
mvn clean install -Dquarkus.debug.generated-classes-dir=./target/app-generated-classes
1510+
./mvnw clean install -Dquarkus.debug.generated-classes-dir=./target/app-generated-classes
15111511
----
15121512

15131513
==== Multi-module Maven Projects and the Development Mode
@@ -2212,7 +2212,7 @@ You can also use the `@asciidoclet` tag as shown above.
22122212

22132213
Generating the documentation is easy:
22142214

2215-
* Running `mvn clean install -DskipTests -DskipITs` will do.
2215+
* Running `./mvnw clean install -DskipTests -DskipITs` will do.
22162216
* You can either do it globally or in a specific extension directory (e.g. `extensions/mailer`).
22172217

22182218
The documentation is generated in the global `target/asciidoc/generated/config/` located at the root of the project.

docs/src/main/asciidoc/health-guide.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Importing the `smallrye-health` extension directly exposes three REST endpoints:
6666

6767
To check that the `smallrye-health` extension is working as expected:
6868

69-
* start your Quarkus application with `mvn compile quarkus:dev`
69+
* start your Quarkus application with `./mvnw compile quarkus:dev`
7070
* access the `http://localhost:8080/health/live` endpoint using your browser or
7171
`curl http://localhost:8080/health/live`
7272

docs/src/main/asciidoc/infinispan-client-guide.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Once you have your Quarkus project configured you can add the `infinispan-client
1919
to your project by running the following from the command line in your project base directory.
2020

2121
[source]
22-
mvn quarkus:add-extension -Dextensions="infinispan-client"
22+
./mvnw quarkus:add-extension -Dextensions="infinispan-client"
2323

2424
This will add the following to your pom.xml
2525

docs/src/main/asciidoc/infinispan-embedded-guide.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ After you set up your Quarkus project, run the following command from the base d
1616

1717
[source]
1818
----
19-
mvn quarkus:add-extension -Dextensions="infinispan-embedded"
19+
./mvnw quarkus:add-extension -Dextensions="infinispan-embedded"
2020
----
2121

2222
The command adds the following dependency to your `pom.xml`:

docs/src/main/asciidoc/jgit.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ to your project by running the following command in your project base directory.
1818

1919
[source,bash]
2020
----
21-
mvn quarkus:add-extension -Dextensions="jgit"
21+
./mvnw quarkus:add-extension -Dextensions="jgit"
2222
----
2323

2424
This will add the following to your pom.xml:

docs/src/main/asciidoc/kafka-streams-guide.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ It is recommended, that you have read the {quickstarts-tree-url}/kafka-quickstar
2424

2525
[NOTE]
2626
====
27-
The Quarkus extension for Kafka Streams allows for very fast turnaround times during development by supporting the Quarkus Dev Mode (e.g. via `mvn compile quarkus:dev`).
27+
The Quarkus extension for Kafka Streams allows for very fast turnaround times during development by supporting the Quarkus Dev Mode (e.g. via `./mvnw compile quarkus:dev`).
2828
After changing the code of your Kafka Streams topology, the application will automatically be reloaded when the next input message arrives.
2929
3030
A recommended development set-up is to have some producer which creates test messages on the processed topic(s) in fixed intervals, e.g. every second and observe the streaming application's output topic(s) using a tool such as `kafkacat`.

docs/src/main/asciidoc/kubernetes-client.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Once you have your Quarkus project configured you can add the `kubernetes-client
2222
to your project by running the following command in your project base directory.
2323

2424
[source]
25-
mvn quarkus:add-extension -Dextensions="kubernetes-client"
25+
./mvnw quarkus:add-extension -Dextensions="kubernetes-client"
2626

2727
This will add the following to your pom.xml:
2828

docs/src/main/asciidoc/kubernetes-resources.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ quarkus.kubernetes.group=yourDockerUsername # this is optional and defaults to y
6060
quarkus.application.name=test-quarkus-app # this is also optional and defaults to the project name if not set
6161
----
6262

63-
and following the execution of `mvn package` you will notice amongst the other files that are created, two files named
63+
and following the execution of `./mvnw package` you will notice amongst the other files that are created, two files named
6464
`kubernetes.json` and `kubernetes.yaml` in the `target/kubernetes/` directory.
6565

6666
If you look at either file you will see that it contains both a Kubernetes `Deployment` and a `Service`.

docs/src/main/asciidoc/neo4j-guide.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ If you have an already created project, the `neo4j` extension can be added to an
145145

146146
[source,shell]
147147
----
148-
mvn quarkus:add-extension -Dextensions="neo4j"
148+
./mvnw quarkus:add-extension -Dextensions="neo4j"
149149
----
150150

151151
Otherwise, you can manually add this to the dependencies section of your `pom.xml` file:
@@ -248,7 +248,7 @@ Now start Quarkus in `dev` mode with:
248248

249249
[source, shell]
250250
----
251-
mvn compile quarkus:dev
251+
./mvnw compile quarkus:dev
252252
----
253253

254254
and retrieve the endpoint like this

0 commit comments

Comments
 (0)