Open yuriy128 opened 8 years ago
Hi, yes, you can achieve this with two executions by specifying the configuration parameter:
<execution>
<id>ldRelease</id>
<goals>
<goal>build</goal>
<goal>package</goal>
<goal>deploy</goal>
</goals>
<configuration>
<configuration>Release</configuration>
...
</configuration>
</execution>
<execution>
<id>ldDebug</id>
<goals>
<goal>build</goal>
<goal>package</goal>
<goal>deploy</goal>
</goals>
<configuration>
<configuration>Debug</configuration>
...
</configuration>
</execution>
</executions>
Here's what i'm trying:
<plugin>
<groupId>de.letsdev.maven.plugins</groupId>
<artifactId>maven-ios-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>ldRelease</id>
<goals>
<goal>build</goal>
<goal>package</goal>
<goal>deploy</goal>
</goals>
<configuration>
<appName>SQLite</appName>
<buildXCArchiveEnabled>false</buildXCArchiveEnabled>
<configuration>Release</configuration>
<iOSFrameworkBuild>true</iOSFrameworkBuild>
<iphoneosArchitectures>arm64 armv7</iphoneosArchitectures>
<iphonesimulatorArchitectures>i386 x86_64</iphonesimulatorArchitectures>
</configuration>
</execution>
<execution>
<id>ldDebug</id>
<goals>
<goal>build</goal>
<goal>package</goal>
<goal>deploy</goal>
</goals>
<configuration>
<appName>SQLite</appName>
<buildXCArchiveEnabled>false</buildXCArchiveEnabled>
<configuration>Debug</configuration>
<iOSFrameworkBuild>true</iOSFrameworkBuild>
<iphoneosArchitectures>arm64 armv7</iphoneosArchitectures>
<iphonesimulatorArchitectures>i386 x86_64</iphonesimulatorArchitectures>
</configuration>
</execution>
</executions>
</plugin>
Getting an error as follows:
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.435 s [INFO] Finished at: 2016-06-10T11:22:19-04:00 [INFO] Final Memory: 9M/309M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal de.letsdev.maven.plugins:maven-ios-plugin:1.15.9:build (default-build) on project SQLite: The parameters 'appName' for goal de.letsdev.maven.plugins:maven-ios-plugin:1.15.9:build are missing or invalid -> [Help 1]
Is this supported?