Hi:
 
My project is creating an EAR that contains a WAR (for the servlets)
that in turn depends on a JAR (of EJBs). I have the necessary POMs. At
the root folder, I execute the following command:
 
mvn clean install
 
Everything goes well (see messages for references below)
 
 
And then I get this strange error. 
 
:
:
[INFO] Installing C:\Supriya\Projects\XXX\Documents\Code\From
Mark\19Jun2
007\creditDecision\creditDecisionEJB\target\creditDecisionEJB-2.0.jar to
C:\Docu
ments and
Settings\supriyavaidya\.m2\repository\com\XXX\credit\decision\s
ervice\creditDecisionEJB\2.0\creditDecisionEJB-2.0.jar
:
:
[INFO] Installing C:\Supriya\Projects\XXX\Documents\Code\From
Mark\19Jun2
007\creditDecision\creditDecisionWAR\target\creditDecisionWAR-2.0.war to
C:\Docu
ments and
Settings\supriyavaidya\.m2\repository\com\XXX\credit\decision\w
eb\creditDecisionWAR\2.0\creditDecisionWAR-2.0.war
:
:
[INFO] Copying
artifact[war:com.XXX.credit.decision.web:creditDecisionWAR
:2.0] to[creditDecisionWAR-2.0.war]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error copying EAR modules
Embedded error: C:\Supriya\Projects\XXX\Documents\Code\From
Mark\19Jun200
7\creditDecision\creditDecisionWAR\target\creditDecisionWAR-2.0.war (The
process
 cannot access the file because it is being used by another process)
 
Now - I have checked the processes through my task manager - and don't
see any java processes. I have restarted my comp, opened the cmd window
immediately, did not open ANY other application, simply run the mvn
clean install, and STILL get this error... what in the world is using
the war?? Is this a Maven problem, or am I missing something? Does the
space in 'From Mark' matter? 


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