On 5 June 2015 at 13:04, Fred Cooke <[email protected]> wrote: > It still seems correct as per the quote provided above, even if it didn't > used to work this way. Is there anywhere else where it specifies the > behaviour that you've come to expect? > > I see a few cases: > > gid + aid = error or at least warning for no version, unless ../pom.xml > exists > gid + aid + ver = success if ver available, though according to docs > ../pom.xml should make it succeed. > gid + aid + relpath = success if relpath available > gid + aid + ver + relpath = ? > > during build, vs during release > specified version is snapshot or not > relpath version is snapshot or not > versions match or don't > path specified exists, or not > > I agree that if it's using some snapshot (even if resolved through the > relative path) during a release, that's wrong/bad/evil. But the rest of the > time? > > The language seems pretty clear "Maven looks for the parent POM first in > this location on the filesystem, then the local repository, and lastly in > the remote repo." >
And if any of the GAV is different then it isn't the parent pom, so Maven needs to keep looking > > On Fri, Jun 5, 2015 at 10:56 PM, Stephen Connolly < > [email protected]> wrote: > > > Fred: does > > > > > https://issues.apache.org/jira/browse/MNG-5840?focusedCommentId=14574303&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14574303 > > explain the issue better? > > > > On 5 June 2015 at 11:05, Fred Cooke <[email protected]> wrote: > > > > > Your tar file is polluted with ._ stuff that ends up laying around the > > > place. Aside from that: > > > > > > 3.1.1 succeeds. > > > 3.3.3 fails > > > > > > The description of what is wrong/your expectation could be better. > > > > > > I guess I would expect it to fail, but fail because relative path POM > > > version doesn't match that specified. > > > > > > > > > On Fri, Jun 5, 2015 at 9:42 PM, Stephen Connolly < > > > [email protected]> wrote: > > > > > > > https://issues.apache.org/jira/browse/MNG-5840 > > > > > > > > Can some other people see if this test case I attached to this issue > is > > > > replicated in their environments? > > > > > > > > I've been badly bitten by this a couple of times (and worse for me, I > > > have > > > > a project that needs 3.3.1+ to build due to bugs that were only fixed > > in > > > > the 3.3 series) > > > > > > > > I only now had the time to try and create a minimal test case > > > > > > > > -Stephen > > > > > > > > > >
