blob: 7986c62c8aca63faae9ce377d03cdb778418d25e [file] [log] [blame]
Guillermo Zunino122461b2020-03-03 10:46:57 -03001<?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 Kurtakov6e3a21e2021-03-05 11:15:40 +020019 <version>4.20.0-SNAPSHOT</version>
Guillermo Zunino122461b2020-03-03 10:46:57 -030020 <relativePath>../binaries-parent/</relativePath>
21 </parent>
22 <groupId>org.eclipse.swt</groupId>
23 <artifactId>org.eclipse.swt.browser.chromium.gtk.linux.x86_64</artifactId>
Alexander Kurtakovc49bdd32021-03-09 09:40:07 +020024 <version>3.116.100-SNAPSHOT</version>
Guillermo Zunino122461b2020-03-03 10:46:57 -030025 <packaging>eclipse-plugin</packaging>
26
27 <properties>
28 <os>linux</os>
29 <ws>gtk</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.gtk.linux.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>gtk.linux.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>
Guillermo Zunino122461b2020-03-03 10:46:57 -030094 <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>
Guillermo Zunino122461b2020-03-03 10:46:57 -0300107 <property name="targets" value="chromium_install" />
108 <ant antfile="build.xml" target="build_libraries"/>
109 </target>
110 <skip>${skipJni}</skip>
111 </configuration>
112 <goals>
113 <goal>run</goal>
114 </goals>
115 </execution>
116 </executions>
117 </plugin>
118 </plugins>
119 </build>
120 </profile>
121 </profiles>
122</project>