blob: 2728219ea50b6a77289aed84a80cc330232ace17 [file] [log] [blame]
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3###############################################################################
4# Copyright (c) 2012 Red Hat, Inc and others.
5# 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-->
14<project
15 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
16 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
17 <modelVersion>4.0.0</modelVersion>
18 <parent>
19 <artifactId>binaries-parent</artifactId>
20 <groupId>eclipse.platform.swt.binaries</groupId>
21 <version>4.2.0-SNAPSHOT</version>
22 <relativePath>../binaries-parent/</relativePath>
23 </parent>
24 <groupId>eclipse.platform.swt.binaries</groupId>
25 <artifactId>org.eclipse.swt.gtk.linux.ppc64</artifactId>
26 <version>3.101.0-SNAPSHOT</version>
27 <packaging>eclipse-plugin</packaging>
28
29 <properties>
30 <os>linux</os>
31 <ws>gtk</ws>
32 <arch>ppc64</arch>
Thanh Ha262b84f2012-11-22 16:56:14 -050033 <buildid>${buildId}</buildid>
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -050034 </properties>
35
36 <!--dependencies>
37 <dependency>
38 <groupId>eclipse.platform.swt.binaries</groupId>
39 <artifactId>binaries-parent</artifactId>
40 <version>1.0</version>
41 <type>pom</type>
42 </dependency>
43 </dependencies-->
44
Thanh Ha262b84f2012-11-22 16:56:14 -050045 <build>
46 <plugins>
47 <plugin>
48 <artifactId>maven-antrun-plugin</artifactId>
49 <version>1.7</version>
50 <executions>
51 <execution>
52 <id>swtdownload</id>
53 <phase>package</phase>
54 <configuration>
55 <target>
56 <ant antfile="build.xml" target="swtdownload" />
57 </target>
58 </configuration>
59 <goals>
60 <goal>run</goal>
61 </goals>
62 </execution>
63 </executions>
64 <dependencies>
65 <dependency>
66 <groupId>com.sun</groupId>
67 <artifactId>tools</artifactId>
68 <version>0.0.0</version>
69 <scope>system</scope>
Silenio Quartice653cc2013-01-25 12:44:42 -050070 <systemPath>${toolsjar}</systemPath>
Thanh Ha262b84f2012-11-22 16:56:14 -050071 </dependency>
72 <dependency>
73 <groupId>bsf</groupId>
74 <artifactId>bsf</artifactId>
75 <version>2.4.0</version>
76 </dependency>
77 <dependency>
78 <groupId>rhino</groupId>
79 <artifactId>js</artifactId>
80 <version>1.7R2</version>
81 </dependency>
82 <dependency>
83 <groupId>org.apache.ant</groupId>
84 <artifactId>ant-apache-bsf</artifactId>
85 <version>1.8.3</version>
86 </dependency>
87 <dependency>
88 <groupId>org.apache.ant</groupId>
89 <artifactId>ant-nodeps</artifactId>
90 <version>1.8.1</version>
91 </dependency>
92 </dependencies>
93 </plugin>
94 <plugin>
95 <artifactId>maven-antrun-plugin</artifactId>
96 <version>1.7</version>
97 <executions>
98 <execution>
99 <id>copy-swtzip-to-target</id>
100 <phase>package</phase>
101 <goals>
102 <goal>run</goal>
103 </goals>
104 <configuration>
105 <target>
106 <move file="swt-${buildId}-${ws}-${os}-${arch}.zip" todir="target" />
107 </target>
108 </configuration>
109 </execution>
110 </executions>
111 </plugin>
112 </plugins>
113 </build>
114
Bogdan Gheorghe56f15f02013-01-08 16:37:53 -0500115 <!-- This has to be here. Profiles are not inheritable. -->
116 <profiles>
117 <profile>
118 <id>build-natives</id>
119 <activation>
120 <property>
121 <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
122 <name>native</name>
123 <value>gtk.linux.ppc64</value>
124 </property>
125 </activation>
126 <build>
127 <plugins>
128 <plugin>
129 <artifactId>maven-antrun-plugin</artifactId>
130 <version>1.7</version>
131 <executions>
132 <execution>
133 <id>natives</id>
134 <phase>process-resources</phase>
135 <configuration>
136 <target>
137 <ant antfile="build.xml" target="build_libraries" />
138 </target>
139 </configuration>
140 <goals>
141 <goal>run</goal>
142 </goals>
143 </execution>
144 </executions>
145 <dependencies>
146 <dependency>
147 <groupId>bsf</groupId>
148 <artifactId>bsf</artifactId>
149 <version>2.4.0</version>
150 </dependency>
151 <dependency>
152 <groupId>rhino</groupId>
153 <artifactId>js</artifactId>
154 <version>1.7R2</version>
155 </dependency>
156 <dependency>
157 <groupId>org.apache.ant</groupId>
158 <artifactId>ant-apache-bsf</artifactId>
159 <version>1.8.3</version>
160 </dependency>
161 <dependency>
162 <groupId>org.apache.ant</groupId>
163 <artifactId>ant-nodeps</artifactId>
164 <version>1.8.1</version>
165 </dependency>
166 </dependencies>
167 </plugin>
168 </plugins>
169 </build>
170 </profile>
171 </profiles>
172</project>