Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Building an XCode application using Maven plugin (SAP)

I am building an XCode application using Maven plugin and below is my pom.xml:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
     <groupId>com.yqlabsEnterprise.SampleMaven</groupId>
    <artifactId>SampleMaven</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>xcode-lib</packaging>
    <build>
     <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <version>2.4</version>
         </plugin>
         <plugin>
             <groupId>com.sap.prd.mobile.ios.mios</groupId>
             <artifactId>xcode-maven-plugin</artifactId>
             <version>1.14.0</version>
             <extensions>true</extensions>
         </plugin>
      </plugins>
     </build>
</project>

I get the following error and my application is not built correctly:

"Failed to execute goal com.sap.prd.mobile.ios.mios:xcode-maven-plugin:1.14.0:prepare-xcode-build (default-prepare-xcode-build) on project SampleMaven: Execution default-prepare-xcode-build of goal com.sap.prd.mobile.ios.mios:xcode-maven-plugin:1.14.0:prepare-xcode-build failed: A required class was missing while executing com.sap.prd.mobile.ios.mios:xcode-maven-plugin:1.14.0:prepare-xcode-build: Lorg/sonatype/aether/RepositorySystem"


1 Answer
Anil SAP Gupta

Note that Xcode-maven-plugin is not compatible with maven 3.1. You have to downgrade to lower version Maven 3.0.x.

Try below link for more details:

xcode-maven-plugin

Advertisements

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.