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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.0.2
    • Component/s: karaf
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: