[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-109) Maven resolver: can't resolve Artifact which is part of the Reactor but not installed in Repository

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Feb 12 06:28:56 EST 2013


     [ https://issues.jboss.org/browse/SHRINKRES-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč updated SHRINKRES-109:
---------------------------------

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

{code}
richfaces-bom
richfaces-framework
...
{code}

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:

{code}
$ 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/)
{code}

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

{code}
richfaces-bom
richfaces-framework
...
{code}

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}}.


    
> Maven resolver: can't resolve Artifact which is part of the Reactor but not installed in Repository
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SHRINKRES-109
>                 URL: https://issues.jboss.org/browse/SHRINKRES-109
>             Project: ShrinkWrap Resolvers
>          Issue Type: Component  Upgrade
>          Components: impl-maven
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Lukáš Fryč
>            Assignee: Andrew Rubinger
>
> Scenario where you have multi-module repository, e.g.:
> {code}
> richfaces-bom
> richfaces-framework
> ...
> {code}
> 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:
> {code}
> $ 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/)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the shrinkwrap-issues mailing list