1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!--Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
5 This code is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License version 2 only, as
7 published by the Free Software Foundation. Oracle designates this
8 particular file as subject to the "Classpath" exception as provided
9 by Oracle in the LICENSE file that accompanied this code.
10
11 This code is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 version 2 for more details (a copy is included in the LICENSE file that
15 accompanied this code).
16
17 You should have received a copy of the GNU General Public License version
18 2 along with this work; if not, write to the Free Software Foundation,
19 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20
21 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 or visit www.oracle.com if you need additional information or have any
23 questions.
24 --><project 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" xmlns="http://maven.apache.org/POM/4.0.0">
25 <!--Auto generated by mkpoms-->
26 <modelVersion>4.0.0</modelVersion>
27 <!--<packaging>pom</packaging>-->
28 <groupId>oracle.code</groupId>
29 <artifactId>hat-wrap-opengl</artifactId>
30 <version>1.0</version>
31 <parent>
32 <groupId>oracle.code</groupId>
33 <artifactId>hat-wraps</artifactId>
34 <version>1.0</version>
35 </parent>
36 <dependencies>
37 <dependency>
38 <groupId>oracle.code</groupId>
39 <artifactId>hat-wrap-shared</artifactId>
40 <version>1.0</version>
41 </dependency>
42
43 <dependency>
44 <groupId>oracle.code</groupId>
45 <artifactId>hat-core</artifactId>
46 <version>1.0</version>
47 </dependency>
48 <dependency>
49 <groupId>oracle.code</groupId>
50 <artifactId>hat-extraction-opengl</artifactId>
51 <version>1.0</version>
52 </dependency>
53 </dependencies>
54 <build>
55 <plugins>
56 <plugin>
57 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-compiler-plugin</artifactId>
59 <configuration>
60 <excludes>
61 <!--
62 Annoyingly there seems to be two ways to handle callbacks in gl so we have two wrappers
63 gl on mac needs us to exclude
64 wrap/glwrap/GLCallbackEventHandler.java
65 gl on ubuntu/jetson needs us to exclude
66 wrap/glwrap/GLCallbackEventHandler.java
67 -->
68 <!-- uncomment for mac --> <exclude>wrap/opengl/GLCallbackEventHandler.java</exclude>
69 <!-- uncomment for ubuntu --><!-- <exclude>wrap/opengl/GLFuncEventHandler.java</exclude> -->
70 </excludes>
71 </configuration>
72 </plugin>
73
74 <plugin>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-antrun-plugin</artifactId>
77 <version>1.8</version>
78 <executions>
79 <execution>
80 <id>1</id>
81 <phase>install</phase>
82 <goals>
83 <goal>run</goal>
84 </goals>
85 <configuration>
86 <target>
87 <copy file="target/${project.artifactId}-${project.version}.jar" toDir="${hat.build}"/>
88 </target>
89 </configuration>
90 </execution>
91 </executions>
92 </plugin>
93 </plugins>
94 </build>
95 </project>