Commonjava/indy

Implied repos should not be processed from a profile

pkocandr opened this issue · 0 comments

I think implied repos should be added only for the main repositories tag, not for one contained in a profile like in openjpa-persistence-jdbc-2.4.0 [1]. This is because implied repos are meant to add repositories when we use an artifact as a dep, not when we build it, so definitions from any profile are not reachable.

[1] http://central.maven.org/maven2/org/apache/openjpa/openjpa-persistence-jdbc/2.4.0/openjpa-persistence-jdbc-2.4.0.pom