This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch 3.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.1.x-fixes by this push:
     new 81419b8  try to fix build on Jenkins using maven-toolchains-plugin
81419b8 is described below

commit 81419b81ccf527dfdd9dc1fcb9448f8439ac58b2
Author: Dennis Kieselhorst <d...@apache.org>
AuthorDate: Fri Feb 23 21:00:25 2018 +0100

    try to fix build on Jenkins using maven-toolchains-plugin
---
 pom.xml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/pom.xml b/pom.xml
index bbad8ba..daff950 100644
--- a/pom.xml
+++ b/pom.xml
@@ -652,6 +652,11 @@
                     <artifactId>maven-enforcer-plugin</artifactId>
                     <version>1.4.1</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-toolchains-plugin</artifactId>
+                    <version>1.1</version>
+                </plugin>
             </plugins>
         </pluginManagement>
         <plugins>
@@ -674,6 +679,24 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-toolchains-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>toolchain</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <toolchains>
+                        <jdk>
+                            <version>${cxf.jdk.version}</version>
+                        </jdk>
+                    </toolchains>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
     <reporting>

-- 
To stop receiving notification emails like this one, please contact
d...@apache.org.

Reply via email to