After a long googling, I didn't find how to do auto deploy for webshpere application using maven. Finally I have done successfully. Here is the pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>testwasEar</artifactId> <groupId>com.mycompany</groupId> <version>1.0-SNAPSHOT</version> </parent> <groupId>com.mycompany</groupId> <artifactId>testwasEar-ear</artifactId> <packaging>ear</packaging> <version>1.0-SNAPSHOT</version> <name>testwasEar-ear JEE5 Assembly</name> <url>ht