blob: c35c16e9a6dbba405f0da9319ba0ac604d3e2d01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
<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">
<modelVersion>4.0.0</modelVersion>
<name>javafx.graphics</name>
<packaging>jar</packaging>
<artifactId>javafx.graphics</artifactId>
<groupId>org.openjfx</groupId>
<version>@RELEASE_VERSION@</version>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>buildSrc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>javafx.base</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>swt</artifactId>
</dependency>
</dependencies>
<build>
<sourceDirectory>${project.basedir}/../src/main/java</sourceDirectory>
<resources>
<resource>
<directory>${project.basedir}/../src/main/java</directory>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<compilerArgs>
<arg>-bootclasspath</arg>
<arg>/usr/lib/jvm/java-1.8.0-openjdk/jre/lib/rt.jar</arg>
<arg>-XDignore.symbol.file</arg>
<arg>-XDuseUnsharedTable=true</arg>
<arg>-proc:none</arg>
<arg>-g:source,lines,vars</arg>
<arg>-h</arg>
<arg>../build/gensrc/headers/</arg>
</compilerArgs>
<excludes>
<exclude>**/d3d/*.java</exclude>
<exclude>**/mac/*.java</exclude>
<exclude>**/ios/*.java</exclude>
<exclude>**/android/*.java</exclude>
<exclude>**/win/*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<exportAntProperties>true</exportAntProperties>
<target>
<property name="runtime_classpath" refid="maven.compile.classpath"/>
<exec executable="/usr/lib/jvm/java-1.8.0-openjdk/jre/../bin/javah">
<arg value="-cp"/>
<arg value="${runtime_classpath}"/>
<arg value="-d"/>
<arg value="${project.build.directory}/../../build/gensrc/headers/"/>
<arg value="com.sun.glass.ui.Application"/>
<arg value="com.sun.glass.ui.Cursor"/>
<arg value="com.sun.glass.ui.Window"/>
<arg value="com.sun.glass.ui.View"/>
<arg value="com.sun.glass.events.WindowEvent"/>
<arg value="com.sun.glass.events.MouseEvent"/>
<arg value="com.sun.glass.events.ViewEvent"/>
<arg value="com.sun.glass.events.KeyEvent"/>
<arg value="com.sun.glass.events.DndEvent"/>
<arg value="com.sun.prism.es2.GLDrawable"/>
<arg value="com.sun.prism.es2.GLPixelFormat"/>
<arg value="com.sun.pisces.RendererBase"/>
</exec>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<finalName>javafx.graphics</finalName>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
|