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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment