File tree 3 files changed +36
-3
lines changed
3 files changed +36
-3
lines changed Original file line number Diff line number Diff line change 90
90
</excludes >
91
91
</configuration >
92
92
</plugin >
93
+ <plugin >
94
+ <groupId >biz.aQute.bnd</groupId >
95
+ <artifactId >bnd-maven-plugin</artifactId >
96
+ <version >6.4.0</version >
97
+ <executions >
98
+ <execution >
99
+ <id >generate-OSGi-manifest</id >
100
+ <phase >none</phase >
101
+ </execution >
102
+ <execution >
103
+ <id >generate-OSGi-manifest-annotations</id >
104
+ <goals >
105
+ <goal >bnd-process</goal >
106
+ </goals >
107
+ <configuration >
108
+ <!--
109
+ The OSGi bundle build is overridden here to allow for MRJAR classes in the
110
+ versioned class space underneath META-INF.
111
+
112
+ The `annotations` module also should not have an `Automatic-Module-Name`.
113
+ Otherwise, these flags should stay in-sync with the same block in the root
114
+ `pom.xml`.
115
+ -->
116
+ <bnd ><![CDATA[
117
+ Bundle-SymbolicName: com.google.errorprone.annotations
118
+ -exportcontents: com.google.errorprone*,!META-INF.*
119
+ -noextraheaders: true
120
+ -removeheaders: Private-Package
121
+ -fixupmessages: ^Classes found in the wrong directory: .*
122
+ ]]> </bnd >
123
+ </configuration >
124
+ </execution >
125
+ </executions >
126
+ </plugin >
93
127
</plugins >
94
128
</build >
95
129
</project >
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- open module com .google .errorprone .annotation {
17
+ open module com .google .errorprone .annotations {
18
18
requires java .compiler ;
19
19
20
20
exports com .google .errorprone .annotations ;
Original file line number Diff line number Diff line change 150
150
<bnd ><![CDATA[
151
151
Bundle-SymbolicName: com.google.$<replacestring;$<replacestring;${project.artifactId};^error_prone;errorprone>;_;.>
152
152
Automatic-Module-Name: $<Bundle-SymbolicName>
153
- -exportcontents: com.google.errorprone*,!META-INF.*
153
+ -exportcontents: com.google.errorprone*
154
154
-noextraheaders: true
155
155
-removeheaders: Private-Package
156
- -fixupmessages: ^Classes found in the wrong directory: .*
157
156
]]> </bnd >
158
157
</configuration >
159
158
</execution >
You can’t perform that action at this time.
0 commit comments