The simplest way is simply to use a snapshot version of A. That way B will always use the latest snapshot. When you finally release A, you can have B point to the released version instead of the snapshot.
> On Apr 6, 2017, at 2:52 PM, Magnanao, Hector <hector.magna...@sap.com> wrote: > > I have to 2 java projects a and b in maven. The B project uses the A build > as a dependency. How do I ensure the whenever the A project has a new build, > the B project will always use that latest build in A. A is being built with > a unique build number each time it gets built. So is A has build # 10 as the > newest build, the B project has to use build #10 of A. > > > Hector Magnanao Jr. > SCM Analyst > SAP Fieldglass > Skype: (331) 702-6142 > Mobile: (847) 857-8401 > Email: hector.magna...@sap.com > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org