blob: 824b7afa860b36a5f0195e58cb393759ab8a1160 [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>
Silenio Quarti38c5cce2013-06-26 12:26:02 -040019 <version>4.4.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>
Silenio Quarti3eae8042013-03-11 16:25:37 -040024 <version>3.102.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>
38 <version>1.7</version>
39 <executions>
40 <execution>
41 <id>swtdownload</id>
42 <phase>package</phase>
43 <configuration>
44 <target>
Silenio Quarti291e6d22013-03-27 12:25:35 -040045 <ant antfile="build.xml" target="swtdownload"/>
Thanh Ha262b84f2012-11-22 16:56:14 -050046 </target>
47 </configuration>
48 <goals>
49 <goal>run</goal>
50 </goals>
51 </execution>
Silenio Quartif43267a2013-02-13 11:38:52 -050052 <execution>
53 <id>copy-swtzip-to-target</id>
54 <phase>package</phase>
55 <goals>
56 <goal>run</goal>
57 </goals>
58 <configuration>
59 <target>
Silenio Quarti291e6d22013-03-27 12:25:35 -040060 <move file="swt-${buildId}-${ws}-${os}-${arch}.zip" todir="target"/>
Silenio Quartif43267a2013-02-13 11:38:52 -050061 </target>
62 </configuration>
63 </execution>
Thanh Ha262b84f2012-11-22 16:56:14 -050064 </executions>
65 <dependencies>
66 <dependency>
67 <groupId>com.sun</groupId>
68 <artifactId>tools</artifactId>
69 <version>0.0.0</version>
70 <scope>system</scope>
Silenio Quartice653cc2013-01-25 12:44:42 -050071 <systemPath>${toolsjar}</systemPath>
Thanh Ha262b84f2012-11-22 16:56:14 -050072 </dependency>
73 <dependency>
74 <groupId>bsf</groupId>
75 <artifactId>bsf</artifactId>
76 <version>2.4.0</version>
77 </dependency>
78 <dependency>
79 <groupId>rhino</groupId>
80 <artifactId>js</artifactId>
81 <version>1.7R2</version>
82 </dependency>
83 <dependency>
84 <groupId>org.apache.ant</groupId>
85 <artifactId>ant-apache-bsf</artifactId>
86 <version>1.8.3</version>
87 </dependency>
Thanh Ha262b84f2012-11-22 16:56:14 -050088 </dependencies>
89 </plugin>
Thanh Ha262b84f2012-11-22 16:56:14 -050090 </plugins>
91 </build>
92
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -050093 <!-- This has to be here. Profiles are not inheritable. -->
94 <profiles>
95 <profile>
96 <id>build-natives</id>
97 <activation>
98 <property>
99 <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
100 <name>native</name>
101 <value>gtk.linux.ppc64</value>
102 </property>
103 </activation>
104 <build>
105 <plugins>
106 <plugin>
107 <artifactId>maven-antrun-plugin</artifactId>
108 <version>1.7</version>
109 <executions>
110 <execution>
111 <id>natives</id>
112 <phase>process-resources</phase>
113 <configuration>
114 <target>
Silenio Quarti291e6d22013-03-27 12:25:35 -0400115 <ant antfile="build.xml" target="build_libraries"/>
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -0500116 </target>
117 </configuration>
118 <goals>
119 <goal>run</goal>
120 </goals>
121 </execution>
122 </executions>
123 <dependencies>
124 <dependency>
125 <groupId>bsf</groupId>
126 <artifactId>bsf</artifactId>
127 <version>2.4.0</version>
128 </dependency>
129 <dependency>
130 <groupId>rhino</groupId>
131 <artifactId>js</artifactId>
132 <version>1.7R2</version>
133 </dependency>
134 <dependency>
135 <groupId>org.apache.ant</groupId>
136 <artifactId>ant-apache-bsf</artifactId>
137 <version>1.8.3</version>
138 </dependency>
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -0500139 </dependencies>
140 </plugin>
141 </plugins>
142 </build>
143 </profile>
144 </profiles>
145</project>