Question

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

Was it helpful?

Solution

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>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top