Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-588

User supplied Class-Path entry does not go first

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: maven-archiver-3.1.1
    • Fix Version/s: maven-archiver-3.4.0
    • Component/s: maven-archiver
    • Labels:
      None

      Description

      The following code does not what the comment states. I guess because the key.equals("ClassPath") should be key.equals("Class-Path").

       	                if ( key.equals( "ClassPath" ) && attr != null )
               	                {
               	                    // Merge the user-supplied Class-Path value with the programmatically
               	                    // created Class-Path. Note that the user-supplied value goes first
               	                    // so that resources there will override any in the standard Class-Path.
               	                    attr.setValue( value + " " + attr.getValue() );
               	                }
      

        Attachments

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              hochraldo Mario Hochreiter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: