-
Notifications
You must be signed in to change notification settings - Fork 750
/
Copy pathpom.xml
245 lines (240 loc) · 11.4 KB
/
pom.xml
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp-presets</artifactId>
<version>1.5.8</version>
</parent>
<groupId>org.bytedeco</groupId>
<artifactId>gym</artifactId>
<version>0.26.2-${project.parent.version}</version>
<name>JavaCPP Presets for Gym</name>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>opencv</artifactId>
<version>4.6.0-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>scipy</artifactId>
<version>1.9.3-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<!-- Since there are no native binaries, copy to main artifact -->
<id>copy-python</id>
<phase>process-classes</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes/org/bytedeco/gym/python/</outputDirectory>
<resources>
<resource>
<directory>cppbuild/${javacpp.platform}/python/</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
<version>0.3.21-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>cpython</artifactId>
<version>3.10.8-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>opencv</artifactId>
<version>4.6.0-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>numpy</artifactId>
<version>1.23.4-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>scipy</artifactId>
<version>1.9.3-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
<version>0.3.21-${project.parent.version}</version>
<classifier>${javacpp.platform}</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>cpython</artifactId>
<version>3.10.8-${project.parent.version}</version>
<classifier>${javacpp.platform}</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>numpy</artifactId>
<version>1.23.4-${project.parent.version}</version>
<classifier>${javacpp.platform}</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>opencv</artifactId>
<version>4.6.0-${project.parent.version}</version>
<classifier>${javacpp.platform}</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>scipy</artifactId>
<version>1.9.3-${project.parent.version}</version>
<classifier>${javacpp.platform}</classifier>
</dependency>
</dependencies>
<configuration>
<encoding>ISO-8859-1</encoding>
<classPaths>
<classPath>${basedir}/../openblas/target/classes/</classPath>
<classPath>${basedir}/../cpython/target/classes/</classPath>
<classPath>${basedir}/../numpy/target/classes/</classPath>
<classPath>${basedir}/../opencv/target/classes/</classPath>
<classPath>${basedir}/../scipy/target/classes/</classPath>
<classPath>${project.build.outputDirectory}</classPath>
</classPaths>
<includePaths>
<includePath>${basedir}/../openblas/src/main/resources/org/bytedeco/openblas/include/</includePath>
<includePath>${basedir}/../openblas/target/classes/org/bytedeco/openblas/include/</includePath>
<includePath>${basedir}/../openblas/cppbuild/${javacpp.platform}/include/</includePath>
<includePath>${basedir}/../cpython/src/main/resources/org/bytedeco/cpython/include/</includePath>
<includePath>${basedir}/../cpython/target/classes/org/bytedeco/cpython/include/</includePath>
<includePath>${basedir}/../cpython/cppbuild/${javacpp.platform}/include/</includePath>
<includePath>${basedir}/../cpython/cppbuild/${javacpp.platform}/include/python3.10/</includePath>
<includePath>${basedir}/../numpy/src/main/resources/org/bytedeco/numpy/include/</includePath>
<includePath>${basedir}/../numpy/target/classes/org/bytedeco/numpy/include/</includePath>
<includePath>${basedir}/../numpy/cppbuild/${javacpp.platform}/python/numpy/core/include/</includePath>
<includePath>${basedir}/../numpy/cppbuild/${javacpp.platform}/python/numpy/core/include/numpy/</includePath>
<includePath>${basedir}/../opencv/src/main/resources/org/bytedeco/opencv/include/</includePath>
<includePath>${basedir}/../opencv/cppbuild/${javacpp.platform}/include/opencv/</includePath>
<includePath>${basedir}/../opencv/cppbuild/${javacpp.platform}/include/</includePath>
</includePaths>
<linkPaths>
<linkPath>${basedir}/../openblas/cppbuild/${javacpp.platform}/lib/</linkPath>
<linkPath>${basedir}/../cpython/cppbuild/${javacpp.platform}/lib/</linkPath>
<linkPath>${basedir}/../cpython/cppbuild/${javacpp.platform}/libs/</linkPath>
<linkPath>${basedir}/../numpy/cppbuild/${javacpp.platform}/python/numpy/core/lib/</linkPath>
<linkPath>${basedir}/../opencv/cppbuild/${javacpp.platform}/lib/</linkPath>
</linkPaths>
<preloadPaths>
<preloadPath>${basedir}/../openblas/cppbuild/${javacpp.platform}/bin/</preloadPath>
<preloadPath>${basedir}/../cpython/cppbuild/${javacpp.platform}/bin/</preloadPath>
<preloadPath>${basedir}/../numpy/cppbuild/${javacpp.platform}/bin/</preloadPath>
<preloadPath>${basedir}/../opencv/cppbuild/${javacpp.platform}/bin/</preloadPath>
<preloadPath>${basedir}/cppbuild/${javacpp.platform}/bin/</preloadPath>
</preloadPaths>
<buildResources>
<buildResource>/${javacpp.platform.library.path}/</buildResource>
<buildResource>/org/bytedeco/openblas/${javacpp.platform}/</buildResource>
<buildResource>/org/bytedeco/cpython/${javacpp.platform}/</buildResource>
<buildResource>/org/bytedeco/numpy/${javacpp.platform}/</buildResource>
<buildResource>/org/bytedeco/scipy/${javacpp.platform}/</buildResource>
<buildResource>/org/bytedeco/opencv/${javacpp.platform}/</buildResource>
</buildResources>
<includeResources>
<includeResource>/${javacpp.platform.library.path}/include/</includeResource>
<includeResource>/org/bytedeco/openblas/include/</includeResource>
<includeResource>/org/bytedeco/openblas/${javacpp.platform}/include/</includeResource>
<includeResource>/org/bytedeco/cpython/include/</includeResource>
<includeResource>/org/bytedeco/cpython/${javacpp.platform}/include/</includeResource>
<includeResource>/org/bytedeco/cpython/${javacpp.platform}/include/python3.10/</includeResource>
<includeResource>/org/bytedeco/numpy/include/</includeResource>
<includeResource>/org/bytedeco/numpy/${javacpp.platform}/python/numpy/core/include/</includeResource>
<includeResource>/org/bytedeco/numpy/${javacpp.platform}/python/numpy/core/include/numpy/</includeResource>
<includeResource>/org/bytedeco/opencv/include/</includeResource>
<includeResource>/org/bytedeco/opencv/${javacpp.platform}/include/</includeResource>
</includeResources>
<linkResources>
<linkResource>/${javacpp.platform.library.path}/</linkResource>
<linkResource>/${javacpp.platform.library.path}/lib/</linkResource>
<linkResource>/org/bytedeco/openblas/${javacpp.platform}/</linkResource>
<linkResource>/org/bytedeco/openblas/${javacpp.platform}/lib/</linkResource>
<linkResource>/org/bytedeco/cpython/${javacpp.platform}/</linkResource>
<linkResource>/org/bytedeco/cpython/${javacpp.platform}/lib/</linkResource>
<linkResource>/org/bytedeco/cpython/${javacpp.platform}/libs/</linkResource>
<linkResource>/org/bytedeco/numpy/${javacpp.platform}/</linkResource>
<linkResource>/org/bytedeco/numpy/${javacpp.platform}/python/numpy/core/lib/</linkResource>
<linkResource>/org/bytedeco/opencv/${javacpp.platform}/</linkResource>
<linkResource>/org/bytedeco/opencv/${javacpp.platform}/lib/</linkResource>
</linkResources>
</configuration>
<executions>
<execution>
<id>javacpp-parser</id>
<configuration>
<skip>true</skip>
<classOrPackageName>org.bytedeco.gym.presets.gym</classOrPackageName>
</configuration>
</execution>
<execution>
<id>javacpp-compiler</id>
<configuration>
<skip>true</skip>
<classOrPackageName>org.bytedeco.gym.**</classOrPackageName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
<executions>
<execution>
<id>add-module-infos</id>
<configuration>
<modules>
<module>
<file>${project.build.directory}/${project.artifactId}.jar</file>
<moduleInfoFile>${project.basedir}/src/main/java9/module-info.java</moduleInfoFile>
</module>
</modules>
<!-- Skip empty native artifact -->
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>