Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2.2
-
Component/s: None
-
Labels:None
-
Environment:windows 2003, maven3.0.3, Java 6, cargo-maven2-plugin 1.1.2, tomcat 7
-
Complexity:Intermediate
-
Tested on JDKs:Oracle jdk1.6.0_27 32 bit
-
Number of attachments :
Description
My settings.xml contains proxies with nonProxyHosts.
One of nonProxyHosts is my tomcat server.
My proxy do not allows me to connect to my app server. It returns "503 Service Unavailable" when I try to use it to access the server.
When I run deployment using "mvn deploy" all works fine!
But when I run "mvn -U deploy" undeploy fails because it try to connect via proxy!
The combination that breaks the execution is deployment of artifacts to local file based repository and man with -U switch.
I will add my pom files for references.
This is the error I'm getting:
-------
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.1.2:deployer-undeploy (clean-undeploy) on project mco2-server: Execution clean-undeploy of goal org.codehaus.cargo:cargo-maven2-plugin:1.1.2:deployer-undeploy failed: Failed to undeploy [D:\build\work\mco2\mco2-runner\mco2-server\target\mco2.war]: Server returned HTTP response code: 503 for URL: http://torvspocapp:9040/manager/text/list -> [Help 1]
-------
Issue Links
- is related to
-
CARGO-1119
Maven proxy settings are being ignored again?
-
server pom