I would like to use the TomEE Maven plugin to deploy and undeploy my ear file. This is my structure: Foo/pom.xml contains: Everything is built correctly.
I added the TomEE Maven Plugin to my Foo/pom.xml: and try to run mvn tomee:deploy. My application is deployed (great stuff!): but Maven shows a Failure: Inherited is set to false for the plugin, but it still propagates (perhaps I don't understand the inherited setting). Then I try to run mvn tomee:undeploy, but the application is not undeployed (no activity in the tomcat logs) and Maven shows the same Failure Summary. When I search google for a solution (tomee maven ear undeploy), most people with issues have the path set incorrectly, but I don't think that is my issue. Some recommend abandoning the TomEE plugin: stackoverflow.com how-to-auto-deploy-ejb-jar-with-tomee-maven-plugin <http://stackoverflow.com/questions/18250519/how-to-auto-deploy-ejb-jar-with-tomee-maven-plugin> What is the appropriate way to use the TomEE Maven plugin to deploy and undeploy an enterprise application (ear)? Any advice or pointers are appreciated. Thank you. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Deploy-and-Undeploy-Ear-with-Maven-Plugin-tp4677584.html Sent from the TomEE Users mailing list archive at Nabble.com.
