Guillermo Zunino | 122461b | 2020-03-03 10:46:57 -0300 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright (c) 2020 Equo |
| 4 | |
| 5 | This program and the accompanying materials are made available under the |
| 6 | terms of the Eclipse Public License 2.0 which is available at |
| 7 | http://www.eclipse.org/legal/epl-2.0. |
| 8 | |
| 9 | SPDX-License-Identifier: EPL-2.0 |
| 10 | |
| 11 | Contributors: |
| 12 | Guillermo Zunino, Equo - initial implementation |
| 13 | --> |
| 14 | <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"> |
| 15 | <modelVersion>4.0.0</modelVersion> |
| 16 | <parent> |
| 17 | <artifactId>binaries-parent</artifactId> |
| 18 | <groupId>eclipse.platform.swt.binaries</groupId> |
Alexander Kurtakov | 6e3a21e | 2021-03-05 11:15:40 +0200 | [diff] [blame^] | 19 | <version>4.20.0-SNAPSHOT</version> |
Guillermo Zunino | 122461b | 2020-03-03 10:46:57 -0300 | [diff] [blame] | 20 | <relativePath>../binaries-parent/</relativePath> |
| 21 | </parent> |
| 22 | <groupId>org.eclipse.swt</groupId> |
| 23 | <artifactId>org.eclipse.swt.browser.chromium.win32.win32.x86_64</artifactId> |
Andrey Loskutov | 167f18a | 2021-01-01 11:35:57 +0100 | [diff] [blame] | 24 | <version>3.116.0-SNAPSHOT</version> |
Guillermo Zunino | 122461b | 2020-03-03 10:46:57 -0300 | [diff] [blame] | 25 | <packaging>eclipse-plugin</packaging> |
| 26 | |
| 27 | <properties> |
| 28 | <os>win32</os> |
| 29 | <ws>win32</ws> |
| 30 | <arch>x86_64</arch> |
| 31 | <buildid>${buildId}</buildid> |
| 32 | <skipRust>false</skipRust> |
| 33 | <skipJni>false</skipJni> |
| 34 | </properties> |
| 35 | |
| 36 | <build> |
| 37 | <plugins> |
| 38 | <plugin> |
| 39 | <artifactId>maven-antrun-plugin</artifactId> |
| 40 | <executions> |
| 41 | <execution> |
| 42 | <id>swtdownload</id> |
| 43 | <phase>package</phase> |
| 44 | <configuration> |
| 45 | <target> |
| 46 | <ant antfile="build.xml" target="swtdownload"/> |
| 47 | </target> |
| 48 | </configuration> |
| 49 | <goals> |
| 50 | <goal>run</goal> |
| 51 | </goals> |
| 52 | </execution> |
| 53 | </executions> |
| 54 | </plugin> |
| 55 | |
| 56 | <plugin> |
| 57 | <groupId>org.eclipse.tycho</groupId> |
| 58 | <artifactId>tycho-compiler-plugin</artifactId> |
| 59 | <version>${tycho.version}</version> |
| 60 | <configuration> |
| 61 | <extraClasspathElements> |
| 62 | <dependency> |
| 63 | <groupId>org.eclipse.swt</groupId> |
| 64 | <artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId> |
| 65 | <version>${project.version}</version> |
| 66 | </dependency> |
| 67 | </extraClasspathElements> |
| 68 | </configuration> |
| 69 | </plugin> |
| 70 | </plugins> |
| 71 | </build> |
| 72 | |
| 73 | <!-- This has to be here. Profiles are not inheritable. --> |
| 74 | <profiles> |
| 75 | <profile> |
| 76 | <id>build-natives</id> |
| 77 | <activation> |
| 78 | <property> |
| 79 | <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( --> |
| 80 | <name>native</name> |
| 81 | <value>win32.win32.x86_64</value> |
| 82 | </property> |
| 83 | </activation> |
| 84 | <build> |
| 85 | <plugins> |
| 86 | <plugin> |
| 87 | <artifactId>maven-antrun-plugin</artifactId> |
| 88 | <executions> |
| 89 | <execution> |
| 90 | <id>natives-rust</id> |
| 91 | <phase>process-resources</phase> |
| 92 | <configuration> |
| 93 | <target> |
| 94 | <ant antfile="build.xml" target="build_chromium"/> |
| 95 | </target> |
| 96 | <skip>${skipRust}</skip> |
| 97 | </configuration> |
| 98 | <goals> |
| 99 | <goal>run</goal> |
| 100 | </goals> |
| 101 | </execution> |
| 102 | <execution> |
| 103 | <id>natives-jni</id> |
| 104 | <phase>process-resources</phase> |
| 105 | <configuration> |
| 106 | <target> |
| 107 | <ant antfile="build.xml" target="build_libraries"/> |
| 108 | </target> |
| 109 | <skip>${skipJni}</skip> |
| 110 | </configuration> |
| 111 | <goals> |
| 112 | <goal>run</goal> |
| 113 | </goals> |
| 114 | </execution> |
| 115 | </executions> |
| 116 | </plugin> |
| 117 | </plugins> |
| 118 | </build> |
| 119 | </profile> |
| 120 | </profiles> |
| 121 | </project> |