Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame^] | 1 | <?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> |
| 33 | </properties> |
| 34 | |
| 35 | <!--dependencies> |
| 36 | <dependency> |
| 37 | <groupId>eclipse.platform.swt.binaries</groupId> |
| 38 | <artifactId>binaries-parent</artifactId> |
| 39 | <version>1.0</version> |
| 40 | <type>pom</type> |
| 41 | </dependency> |
| 42 | </dependencies--> |
| 43 | |
| 44 | <!-- This has to be here. Profiles are not inheritable. --> |
| 45 | <profiles> |
| 46 | <profile> |
| 47 | <id>build-natives</id> |
| 48 | <activation> |
| 49 | <property> |
| 50 | <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( --> |
| 51 | <name>native</name> |
| 52 | <value>gtk.linux.ppc64</value> |
| 53 | </property> |
| 54 | </activation> |
| 55 | <build> |
| 56 | <plugins> |
| 57 | <plugin> |
| 58 | <artifactId>maven-antrun-plugin</artifactId> |
| 59 | <version>1.7</version> |
| 60 | <executions> |
| 61 | <execution> |
| 62 | <id>natives</id> |
| 63 | <phase>process-resources</phase> |
| 64 | <configuration> |
| 65 | <target> |
| 66 | <ant antfile="build.xml" target="build_libraries" /> |
| 67 | </target> |
| 68 | </configuration> |
| 69 | <goals> |
| 70 | <goal>run</goal> |
| 71 | </goals> |
| 72 | </execution> |
| 73 | </executions> |
| 74 | <dependencies> |
| 75 | <dependency> |
| 76 | <groupId>bsf</groupId> |
| 77 | <artifactId>bsf</artifactId> |
| 78 | <version>2.4.0</version> |
| 79 | </dependency> |
| 80 | <dependency> |
| 81 | <groupId>rhino</groupId> |
| 82 | <artifactId>js</artifactId> |
| 83 | <version>1.7R2</version> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.apache.ant</groupId> |
| 87 | <artifactId>ant-apache-bsf</artifactId> |
| 88 | <version>1.8.3</version> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>org.apache.ant</groupId> |
| 92 | <artifactId>ant-nodeps</artifactId> |
| 93 | <version>1.8.1</version> |
| 94 | </dependency> |
| 95 | </dependencies> |
| 96 | </plugin> |
| 97 | </plugins> |
| 98 | </build> |
| 99 | </profile> |
| 100 | </profiles> |
| 101 | </project> |