与maven建立可可项目

时间:2009-12-14 05:06:55

标签: objective-c maven-2 maven

我有一个可可项目,我想用maven构建它。是否有用于构建objective-c代码的maven插件?

1 个答案:

答案 0 :(得分:2)

我已经使用了exec插件来运行命令行cocoa,效果很好。

    <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>
相关问题