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 Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2-beta-4
    • Fix Version/s: 2.2-beta-5
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      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>
      

        Issue Links

          Activity

          Hide
          Benjamin Bentmann added a comment -

          Fixed in r887709.

          Show
          Benjamin Bentmann added a comment - Fixed in r887709 .

            People

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

              Dates

              • Created:
                Updated:
                Resolved: