Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-109

Maven resolver: can't resolve POM artifact which is part of the Reactor but not installed in Repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 2.0.0-beta-2
    • maven
    • None

    Description

      Scenario where you have multi-module repository, e.g.:

      richfaces-bom
      richfaces-framework
      ...
      

      where richfaces-framework depends on richfaces-bom,

      having tests in the richfaces-framework.

      When using Maven resolver, running mvn verify will fail to resolve richfaces-bom since it is not installed in local repository.

      You need to run mvn install.

      Sample: https://github.com/richfaces/richfaces5/blob/462d5377cb4301e287ada576b9069ff3e5f371af/framework/src/test/integration/org/richfaces/deployment/Deployment.java#L217

      Issue:

      richfaces5/> $ mvn verify -Pbrowser-firefox -Dintegration=jbossas -DskipTests=true

      ...
      Feb 12, 2013 12:27:09 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
      WARNING: Failed downloading org/richfaces/richfaces-bom/5.0.0-SNAPSHOT/richfaces-bom-5.0.0-SNAPSHOT.pom from https://repository.jboss.org/nexus/content/groups/public/. Reason: 
      org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact org.richfaces:richfaces-bom:pom:5.0.0-SNAPSHOT in jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            lfryc Lukáš Fryč (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: