Skip to content

Commit 45c339c

Browse files
authored
Merge pull request #130 from redhat-developer-demos/mvnw
fix mvnw
2 parents e1faaa7 + da9a5c6 commit 45c339c

25 files changed

Lines changed: 48 additions & 48 deletions

.github/workflows/price-generator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
java-version: 11
2121
- name: Maven build
2222
working-directory: apps/price-generator
23-
run: ./mvnwpackage -Pnative -Dquarkus.native.container-build=true
23+
run: ./mvnw package -Pnative -Dquarkus.native.container-build=true

apps/price-generator/src/main/docker/Dockerfile.jvm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Before building the docker image run:
55
#
6-
# ./mvnwpackage
6+
# ./mvnw package
77
#
88
# Then, build the image with:
99
#

apps/price-generator/src/main/docker/Dockerfile.native

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Before building the docker image run:
55
#
6-
# ./mvnwpackage -Pnative -Dquarkus.native.container-build=true
6+
# ./mvnw package -Pnative -Dquarkus.native.container-build=true
77
#
88
# Then, build the image with:
99
#

apps/price-generator/src/main/resources/META-INF/resources/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h2>Why do you see this?</h2>
114114

115115
<h2>What can I do from here?</h2>
116116

117-
<p>If not already done, run the application in <em>dev mode</em> using: <code>./mvnwcompile quarkus:dev</code>.
117+
<p>If not already done, run the application in <em>dev mode</em> using: <code>./mvnw compile quarkus:dev</code>.
118118
</p>
119119
<ul>
120120
<li>Add REST resources, Servlets, functions and other services in <code>src/main/java</code>.</li>

documentation/modules/ROOT/pages/_partials/build.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ JVM mode::
1111
[.console-input]
1212
[source,bash,subs="+macros,+attributes"]
1313
----
14-
./mvnw -DskipTests clean package
14+
./mvnw -DskipTests clean package
1515
----
1616
1717
After successful maven build, run the following command to build the container - choose the terminal of the target environment you wish to use (podman, minishift or minokube) as you want to build and publish the image in the right registry:
@@ -31,7 +31,7 @@ Native mode::
3131
[.console-input]
3232
[source,bash,subs="+macros,+attributes"]
3333
----
34-
./mvnw -DskipTests clean package -Pnative -Dnative-image.docker-build=true <1>
34+
./mvnw -DskipTests clean package -Pnative -Dnative-image.docker-build=true <1>
3535
----
3636
<1> Using the `-Dnative-image.docker-build=true` is very important as need a linux native binary what will be containerized.
3737

documentation/modules/ROOT/pages/_partials/compile-and-run.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ a|
1616
[.console-input]
1717
[source,bash,subs="+macros,+attributes"]
1818
----
19-
./mvnwpackage
19+
./mvnw package
2020
----
2121
2222
a|
@@ -60,7 +60,7 @@ a|
6060
[.console-input]
6161
[source,bash,subs="+macros,+attributes"]
6262
----
63-
./mvnwpackage -Dnative
63+
./mvnw package -Dnative
6464
----
6565
6666
a|
@@ -100,7 +100,7 @@ a|
100100
[.console-input]
101101
[source,bash,subs="+macros,+attributes"]
102102
----
103-
./mvnwquarkus:image-build \
103+
./mvnw quarkus:image-build \
104104
-Dnative
105105
----
106106
a|

documentation/modules/ROOT/pages/_partials/invoke-service.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ You can run the test either in IDE or by running Maven:
4646
[.console-input]
4747
[source,bash,subs="+macros,+attributes"]
4848
----
49-
./mvnw clean compile test
49+
./mvnw clean compile test
5050
----
5151
#end::test[]

documentation/modules/ROOT/pages/_partials/k8s-build-deploy.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If you have not deployed the application previously, you need to add Quarkus Kub
1010
[.console-input]
1111
[source,bash,subs="+macros,+attributes"]
1212
----
13-
./mvnw quarkus:add-extension -Dextensions="quarkus-kubernetes"
13+
./mvnw quarkus:add-extension -Dextensions="quarkus-kubernetes"
1414
----
1515
1616
You need to configure group and name of the container used to deploy into Kubernetes.
@@ -33,7 +33,7 @@ Now you need to run Maven goal to generate Kubernetes resource.
3333
[.console-input]
3434
[source,bash,subs="+macros,+attributes"]
3535
----
36-
./mvnw package -DskipTests
36+
./mvnw package -DskipTests
3737
----
3838
3939
You can inspect the generated file by accessing next file:

documentation/modules/ROOT/pages/_partials/run-dev-mode.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ If you are not in dev mode, run the following command to start Quarkus applicati
66
[.console-input]
77
[source,bash,subs="+macros,+attributes"]
88
----
9-
./mvnw compile quarkus:dev
9+
./mvnw compile quarkus:dev
1010
----

documentation/modules/ROOT/pages/basics.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Maven::
1313
[.console-input]
1414
[source,bash,subs="+macros,+attributes"]
1515
----
16-
./mvnw"io.quarkus.platform:quarkus-maven-plugin:create" \
16+
./mvnw "io.quarkus.platform:quarkus-maven-plugin:create" \
1717
-DprojectGroupId="com.redhat.developers" \
1818
-DprojectArtifactId="tutorial-app" \
1919
-DprojectVersion="1.0-SNAPSHOT" \
@@ -94,7 +94,7 @@ Maven::
9494
[.console-input]
9595
[source,bash,subs="+macros,+attributes"]
9696
----
97-
./mvnwclean test
97+
./mvnw clean test
9898
----
9999
100100
--
@@ -143,7 +143,7 @@ Maven::
143143
[.console-input]
144144
[source,bash,subs="+macros,+attributes"]
145145
----
146-
./mvnwquarkus:dev
146+
./mvnw quarkus:dev
147147
----
148148
149149
--

0 commit comments

Comments
 (0)