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

assembly:attached does not work with filter- ERROR: Cannot override read-only parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2-beta-1
    • 2.2-beta-2
    • None
    • None
    • Maven 2.0.4 - Mac OSx - JDK 1.5

    Description

      Filtering does not work when you use the attached goal on the assembly plugin. When you add a filters tag to the configuration and run assembly:attached the following error is generated:

      ERROR: Cannot override read-only parameter

      Sample configuration:

      <artifactId>maven-assembly-plugin</artifactId>
      <configuration>
      <filters>
      <filter>src/assemble/dev.properties</filter>
      </filters>
      <descriptors>
      <descriptor>src/assemble/distribution.xml</descriptor>
      </descriptors>
      </configuration>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fgarsombke Franz Garsombke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: