【问题标题】:building cocoa project with maven用maven构建可可项目
【发布时间】:2010-12-26 07:43:35
【问题描述】:

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

【问题讨论】:

    标签: objective-c maven-2 maven


    【解决方案1】:

    我使用 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>
    

    【讨论】:

      猜你喜欢
      • 2017-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-13
      • 1970-01-01
      • 2013-02-21
      • 2014-05-16
      • 2013-09-28
      相关资源
      最近更新 更多