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

<includeBaseDirectory> not correct

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.2
    • 2.5.3
    • None
    • None

    Description

      I use the assembly plugin, with the <includeBaseDirectory> tag in the assembly.xml file. If I put a variable (${mine.includeBaseDirectory}) in the tag, it's not taken into account.
      But if I use true or false, that fine.

      I have created a small project that shows the problem. It's attached.

      To reproduce:

      • unzip the attachment
      • cd maven-assembly-bug/
      • mvn clean install assembly:single
        The file maven-assembly-bug-1.0.0-SNAPSHOT.tar.gz doesn't contain the baseDir, while the variable used in the <includeBaseDirectory> tag is set to true

      If you change the value in assembly.xml to true or false (instead of using the variable), that's worting fine.

      Attachments

        1. maven-assembly-bug.tar.gz
          1 kB
          Jean-Eric Cuendet

        Activity

          People

            krosenvold Kristian Rosenvold
            jecuendet Jean-Eric Cuendet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: