原因是run configuration -> maven -> preject name -> Parameters -> command line中是install:install. 改成install就可以了.