Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.1
-
None
-
None
Description
I'm running into the issue described in the following thread:
I can't find a similar bug report, so I'm guessing one was never submitted. The original poster included a sample project. I'll attach it here. To reproduce the issue, run 'mvn package' on the attached project. I would expect the POM dependency for module A to get resolved as part of the reactor, but it does not.
This can cause unexpected behavior for any multi-module projects that rely on dependency grouping modules as described here:
http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-pom-best-practice.html
Rather than getting dependency information from the current reactor, a stale POM from the local (or remote) repository is used. If no POM has ever been installed, the build fails instead.
Attachments
Attachments
Issue Links
- is related to
-
MNG-4052 import scope dependencies prefer to download pom rather than find it in the current project
- Closed