Skip to content

Commit

Permalink
Merge pull request #20614 from aloubyansky/remove-quarkus-plugin.version
Browse files Browse the repository at this point in the history
Replace references to the quarkus-plugin.version property with the quarkus.platform.version property
  • Loading branch information
gastaldi authored Oct 9, 2021
2 parents b778c5e + d83a8c6 commit e2f3ff2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/src/main/asciidoc/maven-tooling.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ and `javac`:
[source,xml]
----
<plugin>
<groupId>io.quarkus</groupId>
<groupId>${quarkus.platform.group-id}</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus-plugin.version}</version>
<version>${quarkus.platform.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
Expand Down Expand Up @@ -425,7 +425,7 @@ If you have not used <<project-creation,project scaffolding>>, add the following
<dependencyManagement>
<dependencies>
<dependency> <1>
<groupId>io.quarkus.platform</groupId>
<groupId>${quarkus.platform.group-id}</groupId>
<artifactId>quarkus-bom</artifactId>
<version>${quarkus.platform.version}</version>
<type>pom</type>
Expand All @@ -437,7 +437,7 @@ If you have not used <<project-creation,project scaffolding>>, add the following
<build>
<plugins>
<plugin> <2>
<groupId>io.quarkus.platform</groupId>
<groupId>${quarkus.platform.group-id}</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus.platform.version}</version>
<extensions>true</extensions> <3>
Expand Down Expand Up @@ -589,9 +589,9 @@ In order of precedence (greater precedence first):
<plugins>
...
<plugin>
<groupId>io.quarkus</groupId>
<groupId>${quarkus.platform.group-id}</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus-plugin.version}</version>
<version>${quarkus.platform.version}</version>
<extensions>true</extensions>
<configuration>
<systemProperties>
Expand All @@ -618,9 +618,9 @@ In order of precedence (greater precedence first):
<plugins>
...
<plugin>
<groupId>io.quarkus</groupId>
<groupId>${quarkus.platform.group-id}</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus-plugin.version}</version>
<version>${quarkus.platform.version}</version>
<extensions>true</extensions>
<configuration>
<properties>
Expand Down Expand Up @@ -662,7 +662,7 @@ A typical example is when you want to build your application with different conf

In that case, it is possible to add as many executions as needed to the Quarkus Maven plugin configuration.

Below is an example of a Quarkus Maven plugin configuration that will produce two builds of the same application: one using the `prod-oracle` profile and the other one using the `prod-postgresql` profile.
Below is an example of a Quarkus Maven plugin configuration that will produce two builds of the same application: one using the `prod-oracle` profile and the other one using the `prod-postgresql` profile.

[source,xml]
----
Expand All @@ -673,9 +673,9 @@ Below is an example of a Quarkus Maven plugin configuration that will produce tw
<plugins>
...
<plugin>
<groupId>io.quarkus</groupId>
<groupId>${quarkus.platform.group-id}</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus-plugin.version}</version>
<version>${quarkus.platform.version}</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down Expand Up @@ -738,9 +738,9 @@ To isolate profile-specific dependencies from other profiles, the JDBC drivers c
<plugins>
...
<plugin>
<groupId>io.quarkus</groupId>
<groupId>${quarkus.platform.group-id}</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus-plugin.version}</version>
<version>${quarkus.platform.version}</version>
<extensions>true</extensions>
<executions>
...
Expand Down

0 comments on commit e2f3ff2

Please sign in to comment.