maven打包axis2 :No such archiver: 'mar'

用maven-assembly-plugin插件,mvn assembly:assembly命令对axis2客户端打包的时候,(http://lvjun106.iteye.com/blog/1849803)出现

Error adding file-set for 'org.apache.axis2:addressing:mar:1.6.2' to archive

最简单有效的处理方法是在pom.xml中加入
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-jaxws-integration</artifactId>
<version>1.6.2</version>
 <exclusions> 
        <exclusion> 
              <groupId>org.apache.axis2</groupId> 
             <artifactId>addressing</artifactId> 
        </exclusion> 
    </exclusions> 
</dependency>


你可能感兴趣的:(maven打包axis2 :No such archiver: 'mar')