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

Using filtered within dependencySet unpackOptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2-beta-2
    • None
    • None
    • None

    Description

      The files within the unpacked jar did not apply the filters defined.
      pom configuration includes

      <configuration>
      <filters>
      <filter>src/assemble/filter.properties</filter>
      </filters>
      </configuration>

      which contains
      storage.id=abcde

      assembly.xml defines dependency set
      <dependencySet>
      <outputDirectory>/snp-agent1</outputDirectory>
      <unpack>true</unpack>
      <unpackOptions>
      <filtered>true</filtered>
      </unpackOptions>
      <scope>runtime</scope>
      <includes>
      <include>
      XXX.agent:agent-ear-config
      </include>
      </includes>
      </dependencySet>

      However, the files within are not filtered.

      Attachments

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              andyyeung Andy Yeung
              Votes:
              19 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: