1 <?xml version="1.0"?> 2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 4 <modelVersion>4.0.0</modelVersion> 5 <parent> 6 <groupId>org.netbeans.ios</groupId> 7 <artifactId>Maven</artifactId> 8 <version>0.6-SNAPSHOT</version> 9 </parent> 10 <groupId>org.netbeans.ios</groupId> 11 <artifactId>test-simple-ipa</artifactId> 12 <version>0.6-SNAPSHOT</version> 13 <name>test-simple-ipa</name> 14 <url>http://maven.apache.org</url> 15 <properties> 16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 17 </properties> 18 <dependencies> 19 <dependency> 20 <groupId>org.testng</groupId> 21 <artifactId>testng</artifactId> 22 </dependency> 23 </dependencies> 24 <profiles> 25 <profile> 26 <id>build-ipa-on-mac</id> 27 <activation> 28 <os> 29 <family>mac</family> 30 </os> 31 </activation> 32 <build> 33 <plugins> 34 <plugin> 35 <groupId>org.netbeans.ios</groupId> 36 <artifactId>ios-maven-plugin</artifactId> 37 <version>${ios.maven.version}</version> 38 <executions> 39 <execution> 40 <id>before-test</id> 41 <phase>generate-test-resources</phase> 42 <goals> 43 <goal>build-IPA</goal> 44 </goals> 45 </execution> 46 </executions> 47 <configuration> 48 <jarfile>${project.build.directory}/${project.build.finalName}.jar</jarfile> 49 <title>${project.name}</title> 50 <mainclass>org.netbeans.ios.test.simple.ipa.Main</mainclass> 51 </configuration> 52 </plugin> 53 </plugins> 54 </build> 55 </profile> 56 </profiles> 57 </project>