Hi!
First of all, sorry for my bad english.
A would like to know,that could you help me out with undeploy problems.
I tried to deploy with maven install and it worked for me.
My pom.xml is some kind of that:
<plugin>
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>deploy</goal>
</goals>
<configuration>
<tomeeVersion>1.6.0</tomeeVersion>
<tomeeClassifier>plus</tomeeClassifier>
<tomeeHost>SOMEHOST</tomeeHost>
<tomeeHttpPort>8080</tomeeHttpPort>
<path>${project.build.directory}/${project.build.finalName}.ear</path>
<user>user</user>
<password>password</password>
</configuration>
</execution>
</executions>
===========================
It works me perfectly, deploy my application on tomee plus on remote host.
But I need somehow undeploy it with maven. I tried this (and so many other
configurations....and read a lot of forums about that with no success)
I don't understand why doesnt work this. :/ Maybe if you could tell me!?
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>undeploy</goal>
</goals>
<configuration>
<tomeeVersion>1.6.0</tomeeVersion>
<tomeeClassifier>plus</tomeeClassifier>
<tomeeHost>SOMEHOST</tomeeHost>
<tomeeHttpPort>8080</tomeeHttpPort>
<path>${project.build.directory}/${project.build.finalName}</path>
<user>user</user>
<password>password</password>
</configuration>
</execution>
</executions>
================================================
I use for run this in eclipse "run as Maven install", and at the end
eclipse logs "BUILD SUCCES", but the application still on my server.
I changed goal to "undeploy" and remove "ear" modifier from the end of me
deployment path (just as I read).
--
*Staszny Barnabás*
Rendszerintegrációs szakértő
Danubius Informatika
[email protected]
+36 20 2150436
Danubius Expert Zrt.
1042 Budapest, Árpád út 67. II. em.