Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4020

karaf-maven-plugin:archive doesn't respect an empty prefixPath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.1
    • 4.0.2
    • karaf
    • None

    Description

      The "archive" goal of the karaf-maven-plugin offers the possibility to modify the path prefix of files in the created archive (defaults to "${project.artifactId}-${project.version}").
      This seems to work for all cases except someone wants to set the pathPrefix to an empty string to actually disable the prefix.

      The cause of this is the fact that maven interprets the empty pathPrefix tag not as an empty string but as null and then uses the value given as defaultValue.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            roedll Lukas Roedl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: