Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] WTP build failed to compile with latest Maven

Thank you, Mikael. The build is running. I'll update the result once the build is done.

Best Regards
Samuel Wu

Inactive hide details for Mikael Barbero ---07/07/2015 10:21:39 AM---It seems that the handling of toolchains has changed in MaMikael Barbero ---07/07/2015 10:21:39 AM---It seems that the handling of toolchains has changed in Maven 3.3.x http://blog.soebes.de/blog/2015/

From: Mikael Barbero <mikael@xxxxxxxxxxx>
To: Common-build Developers discussion <cbi-dev@xxxxxxxxxxx>
Date: 07/07/2015 10:21 AM
Subject: Re: [cbi-dev] WTP build failed to compile with latest Maven
Sent by: cbi-dev-bounces@xxxxxxxxxxx





It seems that the handling of toolchains has changed in Maven 3.3.x

http://blog.soebes.de/blog/2015/03/17/apache-maven-3-dot-3-1-features/

I renamed /shared/common/apache-maven-3.3.1/conf/toolchains.xml. Could you try again and see if it fixes the issue for you?

Mikael
    Le 7 juil. 2015 à 16:05, Samuel Wu <samuelwu@xxxxxxxxxx> a écrit :

    Hi, Thanh. The problem is not fixed yet.
    The last successful build was produced by Maven 3.2.5. Maven 3.3.1 didn't follow the WTP toolchains settings and still fails.

    Best Regards

    Samuel Wu

    <graycol.gif>
    Thanh Ha ---07/07/2015 09:40:29 AM---On Mon, Jul 6, 2015 at 2:33 PM, Samuel Wu <samuelwu@xxxxxxxxxx> wrote: > The following are the jdk s

    From:
    Thanh Ha <thanh.ha@xxxxxxxxxxxxxxxxxx>
    To:
    Common-build Developers discussion <cbi-dev@xxxxxxxxxxx>
    Date:
    07/07/2015 09:40 AM
    Subject:
    Re: [cbi-dev] WTP build failed to compile with latest Maven
    Sent by:
    cbi-dev-bounces@xxxxxxxxxxx





    On Mon, Jul 6, 2015 at 2:33 PM, Samuel Wu <
    samuelwu@xxxxxxxxxx> wrote:
      The following are the jdk set in toolchains.xml
         <jdkHome>/shared/webtools/apps/IBMJava2-142-SR13FP10/jre</jdkHome>
         <jdkHome>/shared/common/jdk-1.5.0-22.x86_64/jre</jdkHome>

      The following are the error messages in the Maven 3.3.1 build log.

      [DEBUG] Toolchain JDK[/opt/public/common/j2sdk1.4.2_19/jre] doesn't match required property: id
      [DEBUG] Toolchain JDK[/opt/public/common/jdk1.5.0-latest/jre] doesn't match required property: id


      The JDK paths are different from the settings in the WTP toolchains.xml. Is it because the setting from HIPP is ignored by Maven 3.3.1 and the default system toolchains was used?

    Hi Samuel,

    I see that your job [1] is now passing. I guess you were able to figure out the issue?

    Thanh

    [1]
    https://hudson.eclipse.org/webtools/job/WTP-R3_7_x_Maintenance_test/_______________________________________________
    cbi-dev mailing list

    cbi-dev@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit

    https://dev.eclipse.org/mailman/listinfo/cbi-dev
    _______________________________________________
    cbi-dev mailing list

    cbi-dev@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit
    https://dev.eclipse.org/mailman/listinfo/cbi-dev
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev

GIF image


Back to the top