سؤال

لدي مشروع كاكاو وأرغب في بناءه مع مافن. هل هناك أي مسافة مافن مينج لبناء رمز C-C؟

هل كانت مفيدة؟

المحلول

لقد استخدمت البرنامج المساعد 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>
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top