Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-151

Artifact resolution not always on repository-chain

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Artifact resolution in maven is not always made by repository access.
      When you have a parent/child1,child2 structure where child2 depends on child1 maven can build the structure without the need of the child1 artifact in the e.g. local repository, but using it directly from child1 (when build from parent). The current enforcer plugins lacks such support, with the effect that the child1-artifact is tried to load from the repository-chain - which fails.

      A workaround for the attached example is to place the enforcerplugin into the parent pom.xml.

      Attachments

        1. reactortest.zip
          4 kB
          Jens Zastrow

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              jzastrow Jens Zastrow
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: