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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2-beta-4
    • 2.2-beta-5
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: