Skip to content

Commit

Permalink
Merge pull request quarkusio#27748 from zakkak/doc-build-macros-fix
Browse files Browse the repository at this point in the history
Update mvn commands in docs to match the ones ran by quarkus-cli
  • Loading branch information
gsmet authored Sep 7, 2022
2 parents dd62da0 + 5edc22b commit 09490b7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ifdef::devtools-wrapped[+]
[source, bash, subs=attributes+, role="secondary asciidoc-tabs-sync-maven"]
.Maven
----
./mvnw package -Dnative -Dquarkus.native.container-build=true {build-additional-parameters}
./mvnw install -Dnative -Dquarkus.native.container-build=true {build-additional-parameters}
----
endif::[]
ifndef::devtools-no-gradle[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ ifdef::devtools-wrapped[+]
.Maven
----
ifdef::build-additional-parameters[]
./mvnw package -Dnative -Dquarkus.native.container-build=true {build-additional-parameters}
./mvnw install -Dnative -DskipTests -Dquarkus.native.container-build=true {build-additional-parameters}
endif::[]
ifndef::build-additional-parameters[]
./mvnw package -Dnative -Dquarkus.native.container-build=true
./mvnw install -Dnative -DskipTests -Dquarkus.native.container-build=true
endif::[]
----
endif::[]
Expand Down
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/includes/devtools/build-native.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ ifdef::devtools-wrapped[+]
.Maven
----
ifdef::build-additional-parameters[]
./mvnw package -Dnative {build-additional-parameters}
./mvnw install -Dnative {build-additional-parameters}
endif::[]
ifndef::build-additional-parameters[]
./mvnw package -Dnative
./mvnw install -Dnative
endif::[]
----
endif::[]
Expand Down
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/includes/devtools/build.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ ifdef::devtools-wrapped[+]
.Maven
----
ifdef::build-additional-parameters[]
./mvnw clean package {build-additional-parameters}
./mvnw install {build-additional-parameters}
endif::[]
ifndef::build-additional-parameters[]
./mvnw clean package
./mvnw install
endif::[]
----
endif::[]
Expand Down

0 comments on commit 09490b7

Please sign in to comment.