i have a cocoa project and i'd like to build it with maven. is there any ma开发者_开发问答ven plugin for building objective-c code?
I have used the exec plugin to run command line cocoa to good affect.
<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>
精彩评论