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

Usage of archiver or container descriptor handler configuration crashes with LinkageError on Maven 3.0-alpha-5

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2-beta-4
    • Fix Version/s: 2.2-beta-5
    • Component/s: None
    • Labels:
      None

      Description

      Due to the refactored ClassWorlds used in Maven 3.x, the methods

      • PlexusContainer.getContainerRealm()
      • ComponentConfiguration.configureComponent()

      have different return/parameter types in Maven 3, causing a linkage error at runtime for something like

      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <archiverConfig>
            <duplicateBehavior>skip</duplicateBehavior>
          </archiverConfig>
        </configuration>
      </plugin>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bentmann Benjamin Bentmann
                Reporter:
                bentmann Benjamin Bentmann
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: