maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Radde (JIRA)" <>
Subject [jira] [Created] (MTOOLCHAINS-18) toolchain.xml file should support environment variables
Date Wed, 06 Jul 2016 15:00:15 GMT
Nicolas Radde created MTOOLCHAINS-18:

             Summary: toolchain.xml file should support environment variables
                 Key: MTOOLCHAINS-18
             Project: Maven Toolchains Plugin
          Issue Type: Improvement
    Affects Versions: 1.1
         Environment: Windows 7 64bit
            Reporter: Nicolas Radde
            Priority: Minor

When the toolchain.xml file is configured as follow :

The execution of a maven compile fail with the following error :
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-toolchains-plugin:
1.1:toolchain (default) on project monitoring-mq-web: Misconfigured toolchains.
Non-existing JDK home configuration at L:\test-monitoring-mq\${env.JDK_HOME_8} -> [Help
While the environment variable *JDK_HOME_8* exist.

Using environment variable is a very convenient way to have the same toolchain.xml file for
all developers or jenkins slaves and would be a nice addition to the plugin.

This message was sent by Atlassian JIRA

View raw message