1 Star 0 Fork 12

DXwangg/openjfx8_patch

forked from src-openEuler/openjfx8 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom-graphics_compileJava.xml 3.32 KB
一键复制 编辑 原始数据 按行查看 历史
Noah 提交于 2020-06-01 17:37 . initial packaging
<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>org.eclipse.swt.gtk.linux.x86_64</artifactId>
<version>4.3</version>
</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>${java.home}/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>modules/graphics/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="${java.home}/../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>
<version>3.0.0</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<finalName>javafx.graphics</finalName>
</configuration>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/DXwangg/openjfx8_patch.git
git@gitee.com:DXwangg/openjfx8_patch.git
DXwangg
openjfx8_patch
openjfx8_patch
master

搜索帮助