Project repositories should not be required for default resolution. This is
an extra step taken by DependencyInstallerImpl, and RepositoryLookup.java
Line 144 (and a few other places.)

The core Maven functionality does not need to know about Project
Repositories as this is handled elsewhere.


On Wed, May 1, 2013 at 12:38 PM, Yann Albou <notifications@github.com>wrote:

> In
> project-model-maven/src/main/java/org/jboss/forge/maven/dependencies/RepositoryLookup.java:
>
> > @@ -71,11 +72,12 @@ public RepositoryLookup()
> >
> >     @Inject
> >     public RepositoryLookup(final MavenContainer container, final ResourceFactory factory,
> > -            final ForgeEnvironment environment)
> > +            final ForgeEnvironment environment, final Project project)
>
> hum..., so without this dependency how could I get the list of repo as it
> is done through
> "project.getFacet(MavenCoreFacet.class).getMavenProject().getRemoteProjectRepositories()"
> ?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/forge/core/pull/316/files#r4039635>
> .
>



-- 
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."