File tree Expand file tree Collapse file tree 11 files changed +43
-53
lines changed
Expand file tree Collapse file tree 11 files changed +43
-53
lines changed Original file line number Diff line number Diff line change 11language : java
22
33jdk :
4- - oraclejdk9
4+ - oraclejdk11
5+ - openjdk11
56
67install : true
78
Original file line number Diff line number Diff line change 1313 </parent >
1414
1515 <artifactId >net.adoptopenjdk.api</artifactId >
16- <packaging >bundle </packaging >
16+ <packaging >jar </packaging >
1717
1818 <name >net.adoptopenjdk.api</name >
1919 <description >Adopt OpenJDK API (API)</description >
2525 <artifactId >net.adoptopenjdk.spi</artifactId >
2626 <version >${project.version} </version >
2727 </dependency >
28+
29+ <dependency >
30+ <groupId >org.osgi</groupId >
31+ <artifactId >org.osgi.annotation.bundle</artifactId >
32+ <scope >provided</scope >
33+ </dependency >
2834 </dependencies >
2935
3036 <build >
3440 <groupId >org.apache.maven.plugins</groupId >
3541 <artifactId >maven-checkstyle-plugin</artifactId >
3642 </plugin >
37-
38- <!-- Produce OSGi bundle -->
39- <plugin >
40- <groupId >org.apache.felix</groupId >
41- <artifactId >maven-bundle-plugin</artifactId >
42- <extensions >true</extensions >
43- <configuration >
44- <instructions >
45- <Export-Package >
46- net.adoptopenjdk.api
47- </Export-Package >
48- </instructions >
49- </configuration >
50- </plugin >
5143 </plugins >
5244 </build >
5345
Original file line number Diff line number Diff line change 2222module net .adoptopenjdk .api
2323{
2424 requires transitive net .adoptopenjdk .spi ;
25+ requires static org .osgi .annotation .bundle ;
2526
2627 exports net .adoptopenjdk .api ;
2728
Original file line number Diff line number Diff line change 1616 * AdoptOpenJDK API.
1717 */
1818
19+ @ org .osgi .annotation .bundle .Export
1920package net .adoptopenjdk .api ;
2021
Original file line number Diff line number Diff line change 1313 </parent >
1414
1515 <artifactId >net.adoptopenjdk.spi</artifactId >
16- <packaging >bundle </packaging >
16+ <packaging >jar </packaging >
1717
1818 <name >net.adoptopenjdk.spi</name >
1919 <description >Adopt OpenJDK API (Service provider interface)</description >
2525 <artifactId >value</artifactId >
2626 <scope >provided</scope >
2727 </dependency >
28+ <dependency >
29+ <groupId >org.osgi</groupId >
30+ <artifactId >org.osgi.annotation.bundle</artifactId >
31+ <scope >provided</scope >
32+ </dependency >
2833 </dependencies >
2934
3035 <build >
4954 </annotationProcessorPaths >
5055 </configuration >
5156 </plugin >
52-
53- <!-- Produce OSGi bundle -->
54- <plugin >
55- <groupId >org.apache.felix</groupId >
56- <artifactId >maven-bundle-plugin</artifactId >
57- <extensions >true</extensions >
58- <configuration >
59- <instructions >
60- <Export-Package >
61- net.adoptopenjdk.spi
62- </Export-Package >
63- </instructions >
64- </configuration >
65- </plugin >
6657 </plugins >
6758 </build >
6859
Original file line number Diff line number Diff line change 1919module net .adoptopenjdk .spi
2020{
2121 requires static org .immutables .value ;
22+ requires static org .osgi .annotation .bundle ;
2223
2324 exports net .adoptopenjdk .spi ;
2425}
Original file line number Diff line number Diff line change 1616 * Core types and functions.
1717 */
1818
19+ @ org .osgi .annotation .bundle .Export
1920package net .adoptopenjdk .spi ;
2021
Original file line number Diff line number Diff line change 1313 </parent >
1414
1515 <artifactId >net.adoptopenjdk.v1</artifactId >
16- <packaging >bundle </packaging >
16+ <packaging >jar </packaging >
1717
1818 <name >net.adoptopenjdk.v1</name >
1919 <description >Adopt OpenJDK API (API 1.* provider)</description >
3131 <artifactId >value</artifactId >
3232 <scope >provided</scope >
3333 </dependency >
34+ <dependency >
35+ <groupId >org.osgi</groupId >
36+ <artifactId >org.osgi.annotation.bundle</artifactId >
37+ <scope >provided</scope >
38+ </dependency >
39+
3440 <dependency >
3541 <groupId >com.io7m.jaffirm</groupId >
3642 <artifactId >com.io7m.jaffirm.core</artifactId >
6773 </annotationProcessorPaths >
6874 </configuration >
6975 </plugin >
70-
71- <!-- Produce OSGi bundle -->
72- <plugin >
73- <groupId >org.apache.felix</groupId >
74- <artifactId >maven-bundle-plugin</artifactId >
75- <extensions >true</extensions >
76- <configuration >
77- <instructions >
78- <Export-Package >
79- net.adoptopenjdk.v1
80- </Export-Package >
81- </instructions >
82- </configuration >
83- </plugin >
8476 </plugins >
8577 </build >
8678
Original file line number Diff line number Diff line change 2222module net .adoptopenjdk .v1
2323{
2424 requires static org .immutables .value ;
25+ requires static org .osgi .annotation .bundle ;
2526
2627 requires com .io7m .jaffirm .core ;
2728 requires net .adoptopenjdk .spi ;
Original file line number Diff line number Diff line change 1616 * Version 1.* API provider.
1717 */
1818
19+ @ org .osgi .annotation .bundle .Export
1920package net .adoptopenjdk .v1 ;
You can’t perform that action at this time.
0 commit comments