When executing an mvn clean, the build fails.  When executing an mvn
package, it succeeds.  The issue is that a dependency in one of the
projects depends on a project built before it, and nothing is built
during a clean.  Apparently, when a clean is run, this preemptive
dependency is not recognized, and a failure occurs.  Here is an example.

Y - Project POM

Z - Project POM
<dependency>Y</dependency>

The problem is that when clean is run on Z before any build occurs, the
clean will fail on Z because it cannot resolve the dependency to Y,
which it cannot because Y has not been built, as only a clean was run.
As a result, I cannot run a clean on Z.  What may I do to have this
succeed?  Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]

Reply via email to