@@ -31,12 +31,13 @@ questions.
31
31
<artifactId >hat-backend-spirv</artifactId >
32
32
<version >1.0</version >
33
33
<packaging >jar</packaging >
34
+ <!-- this required to inherit parent properties -->
35
+ <parent >
36
+ <groupId >oracle.code</groupId >
37
+ <version >1.0</version >
38
+ <artifactId >hat.backends</artifactId >
39
+ </parent >
34
40
35
- <properties >
36
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
37
- <maven .compiler.source>23</maven .compiler.source>
38
- <maven .compiler.target>23</maven .compiler.target>
39
- </properties >
40
41
41
42
<dependencies >
42
43
<dependency >
@@ -47,6 +48,16 @@ questions.
47
48
</dependencies >
48
49
<build >
49
50
<plugins >
51
+ <plugin >
52
+ <groupId >org.codehaus.mojo</groupId >
53
+ <artifactId >exec-maven-plugin</artifactId >
54
+ <configuration >
55
+ <skip >true</skip >
56
+ <!-- we want to inherit properties from parent but not the
57
+ plugin that calls cmake -->
58
+ </configuration >
59
+ </plugin >
60
+
50
61
<plugin >
51
62
<groupId >org.apache.maven.plugins</groupId >
52
63
<artifactId >maven-antrun-plugin</artifactId >
@@ -56,7 +67,7 @@ questions.
56
67
<phase >install</phase >
57
68
<configuration >
58
69
<target >
59
- <copy file =" target/hat-backend-spirv-1.0.jar" todir =" ../../maven-build " />
70
+ <copy file =" target/hat-backend-spirv-1.0.jar" todir =" ${hat.target} " />
60
71
</target >
61
72
</configuration >
62
73
<goals >
@@ -79,8 +90,8 @@ questions.
79
90
</goals >
80
91
<configuration >
81
92
<sources >
82
- <source > ../../.. /cr-examples/spirv/src/main/java </source >
83
- <source >../../../../ beehive- spirv- toolkit/lib/src/main/java</source >
93
+ <source >${babylon.dir} /cr-examples/spirv/src/main/java </source >
94
+ <source >${ beehive. spirv. toolkit.dir} /lib/src/main/java</source >
84
95
</sources >
85
96
</configuration >
86
97
</execution >
0 commit comments