File tree 7 files changed +18
-74
lines changed
java9/custom-jlink-plugin
7 files changed +18
-74
lines changed Original file line number Diff line number Diff line change 16
16
<packaging >jar</packaging >
17
17
18
18
<build >
19
- <pluginManagement >
20
- <plugins >
21
- <plugin >
22
- <groupId >org.apache.maven.plugins</groupId >
23
- <artifactId >maven-compiler-plugin</artifactId >
24
- <configuration >
25
- <source >1.8</source >
26
- <target >1.8</target >
27
- </configuration >
28
- </plugin >
29
- </plugins >
30
- </pluginManagement >
31
- <plugins >
32
- <!-- Adding module descriptor via ModiTect so that the classes themselves
33
- can be compiled to Java 8 byte code format, as Jandex 2.0.4 ignores
34
- all files with Java 9 format -->
35
- <plugin >
36
- <groupId >org.moditect</groupId >
37
- <artifactId >moditect-maven-plugin</artifactId >
38
- <executions >
39
- <execution >
40
- <id >add-module-info</id >
41
- <phase >package</phase >
42
- <goals >
43
- <goal >add-module-info</goal >
44
- </goals >
45
- <configuration >
46
- <module >
47
- <moduleInfoSource >
48
- module com.example.a {
49
- exports com.example.a;
50
- }
51
- </moduleInfoSource >>
52
- </module >
53
- </configuration >
54
- </execution >
55
- </executions >
56
- </plugin >
57
- </plugins >
58
19
</build >
59
20
</project >
Original file line number Diff line number Diff line change
1
+ /*
2
+ * License: Apache License, Version 2.0
3
+ * See the LICENSE file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
4
+ */
5
+ module com .example .a {
6
+ exports com .example .a ;
7
+ }
Original file line number Diff line number Diff line change 3
3
* See the LICENSE file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
4
4
*/
5
5
module com .example .b {
6
+ exports com .example .b ;
6
7
requires com .example .a ;
7
- requires jandex ;
8
+ requires org . jboss . jandex ;
8
9
}
Original file line number Diff line number Diff line change 95
95
<version >${org.jboss.jandex.version} </version >
96
96
</artifact >
97
97
<moduleInfo >
98
- <name >jandex</name >
98
+ <name >org.jboss. jandex</name >
99
99
<exports >
100
100
org.jboss.jandex;
101
101
</exports >
Original file line number Diff line number Diff line change 33
33
</compilerArgs >
34
34
</configuration >
35
35
</plugin >
36
- <plugin >
37
- <groupId >org.moditect</groupId >
38
- <artifactId >moditect-maven-plugin</artifactId >
39
- <executions >
40
- <execution >
41
- <id >add-module-info</id >
42
- <phase >package</phase >
43
- <goals >
44
- <goal >add-module-info</goal >
45
- </goals >
46
- <configuration >
47
- <module >
48
- <moduleInfoSource >
49
- module org.hibernate.demos.jlink {
50
- exports org.hibernate.demos.jlink.plugins;
51
- requires jdk.jlink;
52
- requires jandex;
53
- }
54
- </moduleInfoSource >>
55
- <mainClass >org.hibernate.demos.jlink.JLinkWrapper</mainClass >
56
- </module >
57
- </configuration >
58
- </execution >
59
- </executions >
60
- </plugin >
61
36
</plugins >
62
37
</build >
63
38
</project >
Original file line number Diff line number Diff line change 5
5
module org .hibernate .demos .jlink {
6
6
exports org .hibernate .demos .jlink .plugins ;
7
7
requires jdk .jlink ;
8
- requires jandex ;
8
+ requires org . jboss . jandex ;
9
9
}
Original file line number Diff line number Diff line change 16
16
17
17
<properties >
18
18
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
19
- <org .jboss.jandex.version>2.0.4 .Final</org .jboss.jandex.version>
19
+ <org .jboss.jandex.version>2.2.2 .Final</org .jboss.jandex.version>
20
20
</properties >
21
21
22
22
<build >
26
26
<groupId >org.apache.maven.plugins</groupId >
27
27
<artifactId >maven-compiler-plugin</artifactId >
28
28
<configuration >
29
- <source >9 </source >
30
- <target >9 </target >
31
- <!-- <release>9 </release> -->
29
+ <source >11 </source >
30
+ <target >11 </target >
31
+ <!-- <release>11 </release>-->
32
32
</configuration >
33
- <version >3.6.2 </version >
33
+ <version >3.8.1 </version >
34
34
</plugin >
35
35
<plugin >
36
36
<groupId >org.apache.maven.plugins</groupId >
40
40
<plugin >
41
41
<groupId >org.apache.maven.plugins</groupId >
42
42
<artifactId >maven-failsafe-plugin</artifactId >
43
- <version >2.20.1 </version >
43
+ <version >3.0.0-M5 </version >
44
44
</plugin >
45
45
<plugin >
46
46
<groupId >org.apache.maven.plugins</groupId >
50
50
<plugin >
51
51
<groupId >org.moditect</groupId >
52
52
<artifactId >moditect-maven-plugin</artifactId >
53
- <version >1.0.0.Alpha2 </version >
53
+ <version >1.0.0.RC1 </version >
54
54
</plugin >
55
55
</plugins >
56
56
</pluginManagement >
You can’t perform that action at this time.
0 commit comments