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>jar</packaging> 28 <groupId>oracle.code</groupId> 29 <artifactId>hat-jextracted-opencl</artifactId> 30 <version>1.0</version> 31 <parent> 32 <groupId>oracle.code</groupId> 33 <artifactId>hat-extractions</artifactId> 34 <version>1.0</version> 35 </parent> 36 <build> 37 <plugins> 38 <plugin> 39 <groupId>org.codehaus.mojo</groupId> 40 <artifactId>exec-maven-plugin</artifactId> 41 <version>3.1.0</version> 42 <executions> 43 <execution> 44 <id>cmake-B</id> 45 <phase>generate-sources</phase> 46 <goals> 47 <goal>exec</goal> 48 </goals> 49 <configuration> 50 <executable>cmake</executable> 51 <arguments> 52 <argument>-DHAT_TARGET=${hat.build}</argument> 53 <argument>-B</argument> 54 <argument>${hat.build}/extract-opencl-cmake-build-debug</argument> 55 </arguments> 56 </configuration> 57 </execution> 58 <execution> 59 <id>cmake--build</id> 60 <phase>generate-sources</phase> 61 <goals> 62 <goal>exec</goal> 63 </goals> 64 <configuration> 65 <executable>cmake</executable> 66 <arguments> 67 <argument>--build</argument> 68 <argument>${hat.build}/extract-opencl-cmake-build-debug</argument> 69 <argument>--target</argument> 70 <argument>extract_opencl</argument> 71 </arguments> 72 </configuration> 73 </execution> 74 </executions> 75 </plugin> 76 <plugin> 77 <groupId>org.apache.maven.plugins</groupId> 78 <artifactId>maven-antrun-plugin</artifactId> 79 <version>1.8</version> 80 <executions> 81 <execution> 82 <id>1</id> 83 <phase>package</phase> 84 <goals> 85 <goal>run</goal> 86 </goals> 87 <configuration> 88 <target> 89 <copy file="target/${project.artifactId}-${project.version}.jar" toDir="${hat.build}"/> 90 </target> 91 </configuration> 92 </execution> 93 </executions> 94 </plugin> 95 </plugins> 96 </build> 97 </project>