[EMAIL PROTECTED] wrote:

My question surrounds dependencies, and while I understand how to
declare a dependency, what I want to know is how I make maven recompile
dependencies.

So if A depends on B, and I run 'mvn jar' in project B, how can I make
it recompile (and I guess, run 'mvn install') in A?  My scenerio is that
I will be making changes to both A and B, but both are separate projects
and I don't want to have to run 'mvn install' in A before doing anything
with project B.  Obviously, if A depends on B, A will not compile if B
has been modified in some way given A fetches A.jar from the repository.

Neither A or B share a common parent.  In fact, they could easily have
different parents.

Having read and reread this, my gut feeling is that you're potentially trying to make a simple problem into a complicated one.

If A depends on B, and you want to B to trigger stuff happening in A, that sounds like a classic circular dependency problem, which is broken regardless of what build strategy you use.

Can you describe in more detail what problem you are trying solve?

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to