File tree Expand file tree Collapse file tree 9 files changed +67
-4
lines changed
tensorflow-core-generator
tensorflow-core-platform-gpu
tensorflow-core-platform-mkl-gpu
tensorflow-core-platform-mkl Expand file tree Collapse file tree 9 files changed +67
-4
lines changed Original file line number Diff line number Diff line change 32
32
Utility library for N-dimensional data I/O operations.
33
33
</description >
34
34
35
+ <properties >
36
+ <java .module.name>org.tensorflow.ndarray</java .module.name>
37
+ </properties >
38
+
35
39
<dependencies >
36
40
<dependency >
37
41
<groupId >org.junit.jupiter</groupId >
57
61
58
62
<build >
59
63
<plugins >
64
+ <plugin >
65
+ <artifactId >maven-jar-plugin</artifactId >
66
+ <version >3.2.0</version >
67
+ <configuration >
68
+ <archive >
69
+ <manifestEntries >
70
+ <Automatic-Module-Name >${java.module.name} </Automatic-Module-Name >
71
+ </manifestEntries >
72
+ </archive >
73
+ </configuration >
74
+ </plugin >
60
75
<plugin >
61
76
<groupId >org.apache.maven.plugins</groupId >
62
77
<artifactId >maven-surefire-plugin</artifactId >
Original file line number Diff line number Diff line change 165
165
</repository >
166
166
</repositories >
167
167
</profile >
168
+
169
+ <profile >
170
+ <id >jdk11</id >
171
+ <properties >
172
+ <maven .compiler.source>11</maven .compiler.source>
173
+ <maven .compiler.target>11</maven .compiler.target>
174
+ <maven .compiler.release>11</maven .compiler.release>
175
+ </properties >
176
+ </profile >
168
177
</profiles >
169
178
170
179
<!-- http://central.sonatype.org/pages/requirements.html#developer-information -->
Original file line number Diff line number Diff line change 21
21
<javacpp .build.skip>${native.build.skip} </javacpp .build.skip>
22
22
<javacpp .parser.skip>${native.build.skip} </javacpp .parser.skip>
23
23
<javacpp .compiler.skip>${native.build.skip} </javacpp .compiler.skip>
24
+ <java .module.name>org.tensorflow.core.api</java .module.name>
24
25
</properties >
25
26
26
27
<dependencies >
330
331
<plugin >
331
332
<artifactId >maven-jar-plugin</artifactId >
332
333
<version >3.1.0</version >
334
+ <configuration >
335
+ <archive >
336
+ <manifestEntries >
337
+ <Automatic-Module-Name >${java.module.name} </Automatic-Module-Name >
338
+ </manifestEntries >
339
+ </archive >
340
+ </configuration >
333
341
<executions >
334
342
<execution >
335
343
<!--
Original file line number Diff line number Diff line change 13
13
<name >TensorFlow Core Annotation Processor</name >
14
14
<description >Annotation processor for TensorFlow Java client</description >
15
15
16
+ <properties >
17
+ <java .module.name>org.tensorflow.core.generator</java .module.name>
18
+ </properties >
19
+
16
20
<dependencies >
17
21
<dependency >
18
22
<groupId >com.google.guava</groupId >
33
37
34
38
<build >
35
39
<plugins >
40
+ <plugin >
41
+ <artifactId >maven-jar-plugin</artifactId >
42
+ <version >3.2.0</version >
43
+ <configuration >
44
+ <archive >
45
+ <manifestEntries >
46
+ <Automatic-Module-Name >${java.module.name} </Automatic-Module-Name >
47
+ </manifestEntries >
48
+ </archive >
49
+ </configuration >
50
+ </plugin >
36
51
<plugin >
37
52
<groupId >org.apache.maven.plugins</groupId >
38
53
<artifactId >maven-compiler-plugin</artifactId >
39
54
<version >3.8.0</version >
40
- <configuration >
41
- <source >1.8</source >
42
- <target >1.8</target >
43
- </configuration >
44
55
</plugin >
45
56
</plugins >
46
57
</build >
Original file line number Diff line number Diff line change 30
30
<properties >
31
31
<javacpp .moduleId>tensorflow-core-api</javacpp .moduleId>
32
32
<javacpp .platform.extension>-gpu</javacpp .platform.extension>
33
+ <java .module.name>org.tensorflow.core.platform.gpu</java .module.name>
33
34
</properties >
34
35
35
36
<dependencies >
80
81
<archive >
81
82
<manifestEntries >
82
83
<Class-Path >${javacpp.moduleId} .jar ${javacpp.moduleId} -linux-x86_64-gpu.jar ${javacpp.moduleId} -windows-x86_64-gpu.jar</Class-Path >
84
+ <Automatic-Module-Name >${java.module.name} </Automatic-Module-Name >
83
85
</manifestEntries >
84
86
</archive >
85
87
</configuration >
Original file line number Diff line number Diff line change 30
30
<properties >
31
31
<javacpp .moduleId>tensorflow-core-api</javacpp .moduleId>
32
32
<javacpp .platform.extension>-mkl-gpu</javacpp .platform.extension>
33
+ <java .module.name>org.tensorflow.core.platform.mkl</java .module.name>
33
34
</properties >
34
35
35
36
<dependencies >
97
98
<archive >
98
99
<manifestEntries >
99
100
<Class-Path >${javacpp.moduleId} .jar ${javacpp.moduleId} -linux-x86_64-mkl-gpu.jar ${javacpp.moduleId} -windows-x86_64-mkl-gpu.jar</Class-Path >
101
+ <Automatic-Module-Name >${java.module.name} </Automatic-Module-Name >
100
102
</manifestEntries >
101
103
</archive >
102
104
</configuration >
Original file line number Diff line number Diff line change 30
30
<properties >
31
31
<javacpp .moduleId>tensorflow-core-api</javacpp .moduleId>
32
32
<javacpp .platform.extension>-mkl</javacpp .platform.extension>
33
+ <java .module.name>org.tensorflow.core.platform.mkl</java .module.name>
33
34
</properties >
34
35
35
36
<dependencies >
115
116
<archive >
116
117
<manifestEntries >
117
118
<Class-Path >${javacpp.moduleId} .jar ${javacpp.moduleId} -linux-x86_64-mkl.jar ${javacpp.moduleId} -macosx-x86_64-mkl.jar ${javacpp.moduleId} -windows-x86_64-mkl.jar</Class-Path >
119
+ <Automatic-Module-Name >${java.module.name} </Automatic-Module-Name >
118
120
</manifestEntries >
119
121
</archive >
120
122
</configuration >
Original file line number Diff line number Diff line change 29
29
30
30
<properties >
31
31
<javacpp .moduleId>tensorflow-core-api</javacpp .moduleId>
32
+ <java .module.name>org.tensorflow.core.platform</java .module.name>
32
33
</properties >
33
34
34
35
<dependencies >
91
92
<archive >
92
93
<manifestEntries >
93
94
<Class-Path >${javacpp.moduleId} .jar ${javacpp.moduleId} -linux-x86_64.jar ${javacpp.moduleId} -macosx-x86_64.jar ${javacpp.moduleId} -windows-x86_64.jar</Class-Path >
95
+ <Automatic-Module-Name >${java.module.name} </Automatic-Module-Name >
94
96
</manifestEntries >
95
97
</archive >
96
98
</configuration >
Original file line number Diff line number Diff line change 35
35
36
36
<properties >
37
37
<javacpp .platform.extension></javacpp .platform.extension>
38
+ <java .module.name>org.tensorflow.framework</java .module.name>
38
39
</properties >
39
40
40
41
<dependencies >
74
75
75
76
<build >
76
77
<plugins >
78
+ <plugin >
79
+ <artifactId >maven-jar-plugin</artifactId >
80
+ <version >3.2.0</version >
81
+ <configuration >
82
+ <archive >
83
+ <manifestEntries >
84
+ <Automatic-Module-Name >${java.module.name} </Automatic-Module-Name >
85
+ </manifestEntries >
86
+ </archive >
87
+ </configuration >
88
+ </plugin >
77
89
<plugin >
78
90
<groupId >org.apache.maven.plugins</groupId >
79
91
<artifactId >maven-surefire-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments