blob: 9ce7da0c0065f96f30abbfb514c689abc7a8e32e [file] [log] [blame]
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3###############################################################################
Silenio Quarti16c85ca2013-02-25 12:32:30 -05004# Copyright (c) 2012, 2013 Red Hat, Inc and others.
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -05005# All rights reserved. This program and the accompanying materials
6# are made available under the terms of the Eclipse Public License v1.0
7# which accompanies this distribution, and is available at
8# http://www.eclipse.org/legal/epl-v10.html
9#
10# Contributors:
11# Krzysztof Daniel, Red Hat, Inc and others. - initial API and implementation
12###############################################################################
13-->
Silenio Quarti291e6d22013-03-27 12:25:35 -040014<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -050015 <modelVersion>4.0.0</modelVersion>
16 <parent>
17 <artifactId>binaries-parent</artifactId>
18 <groupId>eclipse.platform.swt.binaries</groupId>
Alexander Kurtakova1a826a2017-06-22 10:25:18 +030019 <version>4.8.0-SNAPSHOT</version>
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -050020 <relativePath>../binaries-parent/</relativePath>
21 </parent>
Silenio Quarti16c85ca2013-02-25 12:32:30 -050022 <groupId>org.eclipse.swt</groupId>
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -050023 <artifactId>org.eclipse.swt.gtk.linux.ppc64</artifactId>
Alexander Kurtakov9c656b62017-08-09 16:04:47 +030024 <version>3.107.0-SNAPSHOT</version>
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -050025 <packaging>eclipse-plugin</packaging>
26
27 <properties>
28 <os>linux</os>
29 <ws>gtk</ws>
30 <arch>ppc64</arch>
Thanh Ha262b84f2012-11-22 16:56:14 -050031 <buildid>${buildId}</buildid>
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -050032 </properties>
33
Thanh Ha262b84f2012-11-22 16:56:14 -050034 <build>
35 <plugins>
36 <plugin>
37 <artifactId>maven-antrun-plugin</artifactId>
Thanh Ha262b84f2012-11-22 16:56:14 -050038 <executions>
39 <execution>
40 <id>swtdownload</id>
41 <phase>package</phase>
42 <configuration>
43 <target>
Silenio Quarti291e6d22013-03-27 12:25:35 -040044 <ant antfile="build.xml" target="swtdownload"/>
Thanh Ha262b84f2012-11-22 16:56:14 -050045 </target>
46 </configuration>
47 <goals>
48 <goal>run</goal>
49 </goals>
50 </execution>
51 </executions>
Thanh Ha262b84f2012-11-22 16:56:14 -050052 </plugin>
Thanh Ha262b84f2012-11-22 16:56:14 -050053 </plugins>
54 </build>
55
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -050056 <!-- This has to be here. Profiles are not inheritable. -->
57 <profiles>
58 <profile>
59 <id>build-natives</id>
60 <activation>
61 <property>
62 <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
63 <name>native</name>
64 <value>gtk.linux.ppc64</value>
65 </property>
66 </activation>
67 <build>
68 <plugins>
69 <plugin>
70 <artifactId>maven-antrun-plugin</artifactId>
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -050071 <executions>
72 <execution>
73 <id>natives</id>
74 <phase>process-resources</phase>
75 <configuration>
76 <target>
Paul Webstere69174b2014-06-19 10:19:29 -040077 <property name="machine_gtk3" value="1"/>
Alexander Kurtakov853b7892014-08-21 14:26:46 +030078 <property name="targets" value="install" />
Silenio Quarti291e6d22013-03-27 12:25:35 -040079 <ant antfile="build.xml" target="build_libraries"/>
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -050080 </target>
81 </configuration>
82 <goals>
83 <goal>run</goal>
84 </goals>
85 </execution>
86 </executions>
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -050087 </plugin>
88 </plugins>
89 </build>
90 </profile>
91 </profiles>
92</project>