I've put together a group of projects as a multiproject (so the parent
pom.xml references the others as modules).  They all build just fine as
snapshots.
 
I'm now trying to do a release:prepare on the group as a whole (running
from the parent pom directory).  There are interdependencies within the
group, and the prepare goal seems to set the versions correctly.
However, once the goal has changed all the pom.xml file, it attempts to
do a package goal for the group of projects, and this fails because it
can't find the release version of the dependent jar (which is being
released as part of this operation).
 
My understanding was that running mvn package on a multiproject would
use the targets of each of those projects to find dependencies if there
were interdependencies, but it doesn't seem to work that way.  Is
something going wrong here, or am I expecting it to do something it's
not supposed to do?
 
..David..
 

Reply via email to