문제

코코아 프로젝트가 있고 Maven과 함께 만들고 싶습니다. Objective-C 코드를 구축하기위한 Maven 플러그인이 있습니까?

도움이 되었습니까?

해결책

Exec 플러그인을 사용하여 Command Line 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>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top