java - maven cargo deploy to war file fails to deploy as part of teamcity -


The same deployment works well on Windows, and on Linux - but using TeamCity and creating it in me An error gets local deployment, and error is:

Container Configuration Directory "/ BuildAgent / Work / 68d4a71c8dc5cfd9 / target / cargo / configurations / tomcat8x" does not exist Please do any local deployment Before configuring the container.

This section of the related pom shows:

  & lt; Plugin & gt; & Lt; Group & gt; org.codehaus.cargo & lt; / Group & gt; & Lt; ArtifactId & gt; Goods maven2-plugin & lt; / ArtifactId> & Lt; Version & gt; 1.4.8 & lt; / Edition & gt; & Lt; Configuration & gt; & Lt; Container & gt; & Lt; containerId & gt; tomcat8x & lt; / ContainerId> & Lt; Home & gt; $ {Env.CATALINA_HOME} & lt; / Home & gt; & Lt; / Container & gt; & Lt; Configuration & gt; & Lt; Type & gt; Existing & lt; / Type & gt; & Lt; Home & gt; $ {Env.CATALINA_HOME} & lt; / Home & gt; & Lt; / Configuration & gt; & Lt; deployables & gt; & Lt; Deployable & gt; & Lt; Group & gt; com.myapp & lt; / Group & gt; & Lt; ArtifactId & gt; Root & lt; / ArtifactId> & Lt; Type & gt; War & lt; / Type & gt; & Lt; Properties & gt; & Lt; Reference & gt; $ {project.build.finalName} & lt; / References & gt; & Lt; / Properties & gt; & Lt; / Deploymentable & gt; & Lt; / Deployables & gt; & Lt; deployer & gt; & Lt; Type & gt; Install & lt; / Type & gt; & Lt; / deployer & gt; & Lt; / Configuration & gt; & Lt; / Plugin & gt;   

Am I remembered a part of the necessary pom for Ubuntu? Is Teemiti different from Vanilla Maven? I am using a version similar to Maven in both environments.

Are you on the Linux machine Apply it, so does your deployment work? Is $ {env.CATALINA_HOME} correctly defined?

My guess is that $ {env.CATALINA_HOME} is pointing to the wrong place

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -