Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-200

AssemblyInterpolatorTest.testShouldResolveEnvarHOMEValueInDependencySetOutputDirectory fails on Windows XP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2-beta-2
    • None
    • None
    • Windows XP

    Description

      AssemblyInterpolatorTest.testShouldResolveEnvarHOMEValueInDependencySetOutputDirectory fails with
      expected:<${env.PATH}> but was:<REAL PATH DELETED>

      This is because AssemblyInterpolatorTest is using
      import org.codehaus.plexus.util.cli.CommandLineUtils;
      instead of
      import org.apache.maven.plugin.assembly.utils.CommandLineUtils;

      and the call to get the envars should be
      Properties envars = CommandLineUtils.getSystemEnvVars( false );

      Attachments

        1. MASSEMBLY-200-patch.txt
          2 kB
          Barrie Treloar

        Activity

          People

            baerrach Barrie Treloar
            baerrach Barrie Treloar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: