Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

building cocoa project with maven

i have a cocoa project and i'd like to build it with maven. is there any maven plugin for building objective-c code?

like image 841
Vyacheslav Karpukhin Avatar asked Dec 14 '09 05:12

Vyacheslav Karpukhin


1 Answers

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>
like image 131
Usman Ismail Avatar answered Sep 29 '22 15:09

Usman Ismail