2009-12-14 71 views

回答

2

我已经使用exec插件来运行命令行可可以很好的影响。

<plugin> 
      <groupId>org.codehaus.mojo</groupId> 
      <artifactId>exec-maven-plugin</artifactId> 
      <version>1.1</version> 
      <executions> 
      <execution> 
        <phase>${cocoa.phase}</phase> 
        <goals> 
        <goal>exec</goal> 
        </goals> 
      </execution> 
      </executions> 
      <configuration> 
      <executable>xcodebuild</executable> 
      <workingDirectory>${project.build.directory}/</workingDirectory> 
      </configuration> 
     </plugin>