Maven Shade Plugin
  1. Maven Shade Plugin
  2. MSHADE-103

maven-shade-plugin does not resolve from user-defined repositories

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.3, 1.4
    • Fix Version/s: 2.0
    • Labels:
      None
    • Environment:
      Maven 3.0.3 (works with 2.2.1)
    • Number of attachments :
      2

      Description

      maven-shade-plugin doesn't consult repositories defined in
      settings.xml when trying to resolve parents of given pom. It contacts
      only central repo:

      [ERROR] Failed to execute goal
      org.apache.maven.plugins:maven-shade-plugin:1.4:shade (default) on
      project richfaces-components-api: Error creating shaded jar: 1 problem
      was encountered while building the effective model for
      org.richfaces.ui:richfaces-components-api:4.1.0-SNAPSHOT
      [ERROR] [FATAL] Non-resolvable parent POM for
      org.richfaces:richfaces-bom:4.1.0-SNAPSHOT: Could not find artifact
      org.richfaces:richfaces-parent:pom:10 in central
      (http://repo1.maven.org/maven2) and 'parent.relativePath' points at
      wrong local POM @ org.richfaces:richfaces-bom:4.1.0-SNAPSHOT,
      /home/lfryc/workspaces/richfaces/build/bom/pom.xml, line 24, column 10
      [ERROR] for project
      org.richfaces.ui:richfaces-components-api:4.1.0-SNAPSHOT at
      /home/lfryc/workspaces/richfaces/components/dist/richfaces-components-api/dependency-reduced-pom.xml
      for project org.richfaces.ui:richfaces-components-api:4.1.0-SNAPSHOT at
      /home/lfryc/workspaces/richfaces/components/dist/richfaces-components-api/dependency-reduced-pom.xml
      [ERROR] -> [Help 1]

      There is affected project (it references version 1.3.3, but the behavior is same with 1.4) if you would like to try at own:

      https://github.com/richfaces/components/blob/develop/dist/richfaces-components-api/pom.xml

        Activity

          People

          • Assignee:
            Benson Margulies
            Reporter:
            Lukas Fryc
          • Votes:
            19 Vote for this issue
            Watchers:
            18 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: