Skip to content

Commit

Permalink
Manage version of maven-toolchains-plugin
Browse files Browse the repository at this point in the history
It is used in ITs and documentation so should be managed
  • Loading branch information
slawekjaranowski committed Oct 17, 2024
1 parent ae27260 commit 6500984
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
<asm.version>9.7.1</asm.version>
<invoker.parallelThreads>1C</invoker.parallelThreads>
<project.build.outputTimestamp>2024-08-12T19:43:34Z</project.build.outputTimestamp>
<maven-toolchains-plugin.version>3.2.0</maven-toolchains-plugin.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -247,6 +248,12 @@
<build>
<pluginManagement>
<plugins>
<plugin>
<!-- TODO move to parent ... -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>${maven-toolchains-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/setup-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>3.1.0</version>
<version>@maven-toolchains-plugin.version@</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down
6 changes: 3 additions & 3 deletions src/site/apt/examples/example-exec-using-toolchains.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Using Toolchains Instead of Explicit Paths
<plugins>
<plugin>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.1</version>
<version>$context.get("maven-toolchains-plugin.version")</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -118,7 +118,7 @@ Using Toolchains Instead of Explicit Paths
<plugins>
<plugin>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.1</version>
<version>$context.get("maven-toolchains-plugin.version")</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -189,7 +189,7 @@ Using Toolchains Instead of Explicit Paths
<plugins>
<plugin>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.1</version>
<version>$context.get("maven-toolchains-plugin.version")</version>
<executions>
<execution>
<goals>
Expand Down

0 comments on commit 6500984

Please sign in to comment.