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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-archiver-3.1.1
    • maven-archiver-3.4.0
    • maven-archiver
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: