Hi Dennis,

The build is now failing for me with:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-toolchains-plugin:1.1:toolchain (default) on
project cxf: Cannot find matching toolchain definitions for the following
toolchain types:
[ERROR] jdk [ version='1.7' ]
[ERROR] Please make sure you define the required toolchains in your
~/.m2/toolchains.xml file.
[ERROR] -> [Help 1]

Colm.

---------- Forwarded message ----------
From: <[email protected]>
Date: Fri, Feb 23, 2018 at 8:00 PM
Subject: [cxf] branch 3.1.x-fixes updated: try to fix build on Jenkins
using maven-toolchains-plugin
To: "[email protected]" <[email protected]>


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 <[email protected]>
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
[email protected].



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to