|
159 | 159 | </plugin>
|
160 | 160 | <plugin>
|
161 | 161 | <artifactId>maven-resources-plugin</artifactId>
|
162 |
| - <version>3.1.0</version> |
| 162 | + <version>3.3.1</version> |
163 | 163 | <executions>
|
164 | 164 | <!--
|
165 | 165 | Important: Use a phase before "generate-sources" like "initialize" or Maven may move
|
|
177 | 177 |
|
178 | 178 | <plugin>
|
179 | 179 | <artifactId>maven-compiler-plugin</artifactId>
|
180 |
| - <version>3.8.0</version> |
| 180 | + <version>3.11.0</version> |
181 | 181 | <executions>
|
182 | 182 | <!--
|
183 | 183 | Generate Ops classes
|
|
248 | 248 | <classPath>${project.build.outputDirectory}</classPath>
|
249 | 249 | <includePaths>
|
250 | 250 | <includePath>${project.basedir}/</includePath>
|
251 |
| -<!-- <includePath>${project.basedir}/bazel-${project.artifactId}/external/org_tensorflow/</includePath>--> |
252 |
| -<!-- <includePath>${project.basedir}/bazel-bin/external/org_tensorflow/</includePath>--> |
253 |
| -<!-- <includePath>${project.basedir}/bazel-${project.artifactId}/external/com_google_absl/</includePath>--> |
254 |
| -<!-- <includePath>${project.basedir}/bazel-${project.artifactId}/external/eigen_archive/</includePath>--> |
255 |
| -<!-- <includePath>${project.basedir}/bazel-${project.artifactId}/external/com_google_protobuf/src/</includePath>--> |
256 | 251 | <includePath>${project.basedir}/downloads/tensorflow/include/</includePath>
|
257 | 252 | <includePath>${project.basedir}/target/classes/org/tensorflow/internal/c_api/include/</includePath>
|
258 | 253 | </includePaths>
|
|
261 | 256 | </linkPaths>
|
262 | 257 | <resourcePaths>
|
263 | 258 | <resourcePath>${project.basedir}/../../</resourcePath>
|
264 |
| - <resourcePath>${project.basedir}/bazel-bin/external/org_tensorflow/tensorflow/tools/lib_package/</resourcePath> |
265 | 259 | </resourcePaths>
|
266 |
| - <preloadPaths> |
267 |
| - <preloadPath>${project.basedir}/bazel-${project.artifactId}/external/mkl_linux/lib/</preloadPath> |
268 |
| - <preloadPath>${project.basedir}/bazel-${project.artifactId}/external/mkl_darwin/lib/</preloadPath> |
269 |
| - <preloadPath>${project.basedir}/bazel-${project.artifactId}/external/mkl_windows/lib/</preloadPath> |
270 |
| - </preloadPaths> |
271 | 260 | </configuration>
|
272 | 261 | <executions>
|
273 | 262 | <execution>
|
|
299 | 288 | <buildCommand>
|
300 | 289 | <program>bash</program>
|
301 | 290 | <argument>prepare_build.sh</argument>
|
302 |
| - <!--argument>${project.basedir}/build.sh</argument--> |
303 | 291 | <argument>${native.wheel.url}</argument>
|
304 | 292 | <argument>${native.build.folder}</argument>
|
| 293 | + <argument>${os.name}</argument> |
305 | 294 | </buildCommand>
|
306 | 295 | <environmentVariables>
|
307 | 296 | <PLATFORM>${javacpp.platform}</PLATFORM>
|
|
311 | 300 | <workingDirectory>${project.basedir}</workingDirectory>
|
312 | 301 | </configuration>
|
313 | 302 | </execution>
|
314 |
| - <execution> |
315 |
| - <!-- |
| 303 | + <!-- Commented out while we remove bazel |
| 304 | + <execution> |
316 | 305 | Clean TensorFlow native libraries
|
317 |
| - When this gets executed, all libraries build and cached by Bazel will be deleted and |
318 |
| - will be rebuild on the next execution. |
319 |
| - --> |
| 306 | + When this gets executed, all libraries build and cached by Bazel will be deleted and |
| 307 | + will be rebuild on the next execution. |
320 | 308 | <id>javacpp-clean</id>
|
321 | 309 | <phase>clean</phase>
|
322 | 310 | <goals>
|
|
331 | 319 | <workingDirectory>${project.basedir}</workingDirectory>
|
332 | 320 | </configuration>
|
333 | 321 | </execution>
|
| 322 | + --> |
334 | 323 | <execution>
|
335 | 324 | <!--
|
336 | 325 | Generate TensorFlow C API binding sources
|
|
384 | 373 | -->
|
385 | 374 | <groupId>org.codehaus.mojo</groupId>
|
386 | 375 | <artifactId>exec-maven-plugin</artifactId>
|
387 |
| - <version>3.0.0</version> |
| 376 | + <version>3.1.0</version> |
388 | 377 | <executions>
|
389 | 378 | <execution>
|
390 | 379 | <id>generate-ops</id>
|
|
413 | 402 | </plugin>
|
414 | 403 | <plugin>
|
415 | 404 | <artifactId>maven-jar-plugin</artifactId>
|
416 |
| - <version>3.1.0</version> |
| 405 | + <version>3.3.0</version> |
417 | 406 | <configuration>
|
418 | 407 | <archive>
|
419 | 408 | <manifestEntries>
|
420 |
| - <Automatic-Module-Name>${java.module.name}</Automatic-Module-Name> |
| 409 | + <Automatic-Module-Name>org.tensorflow.core</Automatic-Module-Name> |
421 | 410 | </manifestEntries>
|
422 | 411 | </archive>
|
423 | 412 | </configuration>
|
|
484 | 473 | </plugin>
|
485 | 474 | <plugin>
|
486 | 475 | <artifactId>maven-source-plugin</artifactId>
|
487 |
| - <version>3.2.1</version> |
| 476 | + <version>3.3.0</version> |
488 | 477 | <executions>
|
489 | 478 | <execution>
|
490 | 479 | <id>attach-sources</id>
|
|
500 | 489 | </plugin>
|
501 | 490 | <plugin>
|
502 | 491 | <artifactId>maven-javadoc-plugin</artifactId>
|
503 |
| - <version>3.2.0</version> |
| 492 | + <version>3.5.0</version> |
504 | 493 | <executions>
|
505 | 494 | <execution>
|
506 | 495 | <id>attach-javadocs</id>
|
|
0 commit comments