File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 22
22
23
23
<properties >
24
24
<hibernate-validator-parent .path>..</hibernate-validator-parent .path>
25
- <automatic .module.name>org.hibernate.validator.cdi</automatic .module.name>
26
25
</properties >
27
26
28
27
<dependencies >
155
154
<manifestEntries >
156
155
<Specification-Title >Bean Validation</Specification-Title >
157
156
<Specification-Version >2.0</Specification-Version >
158
- <Automatic-Module-Name >${automatic .module. name} </Automatic-Module-Name >
157
+ <Automatic-Module-Name >${hibernate-validator-cdi .module- name} </Automatic-Module-Name >
159
158
</manifestEntries >
160
159
</archive >
161
160
</configuration >
167
166
<artifactId >maven-bundle-plugin</artifactId >
168
167
<configuration >
169
168
<instructions >
170
- <Fragment-Host >org.hibernate.validator</Fragment-Host >
169
+ <Bundle-SymbolicName >${hibernate-validator-cdi.bundle-name} </Bundle-SymbolicName >
170
+ <Fragment-Host >${hibernate-validator.bundle-name} </Fragment-Host >
171
171
<Import-Package >
172
172
org.hibernate.validator.*;version="[${project.version} ,${project.version} ]",
173
173
javax.annotation.*;version="[1.2,2.0)",
Original file line number Diff line number Diff line change 22
22
23
23
<properties >
24
24
<hibernate-validator-parent .path>..</hibernate-validator-parent .path>
25
- <automatic .module.name>org.hibernate.validator</automatic .module.name>
26
25
</properties >
27
26
28
27
<distributionManagement >
200
199
<manifestEntries >
201
200
<Specification-Title >Bean Validation</Specification-Title >
202
201
<Specification-Version >2.0</Specification-Version >
203
- <Automatic-Module-Name >${automatic .module. name} </Automatic-Module-Name >
202
+ <Automatic-Module-Name >${hibernate-validator .module- name} </Automatic-Module-Name >
204
203
</manifestEntries >
205
204
</archive >
206
205
</configuration >
212
211
<artifactId >maven-bundle-plugin</artifactId >
213
212
<configuration >
214
213
<instructions >
214
+ <Bundle-SymbolicName >${hibernate-validator.bundle-name} </Bundle-SymbolicName >
215
215
<Import-Package >
216
216
javax.persistence.*;version="[2.0.0,3.0.0)";resolution:=optional,
217
217
javax.validation.*;version="[2.0.0,3.0.0)",
Original file line number Diff line number Diff line change 99
99
<maven .compiler.source>1.8</maven .compiler.source>
100
100
<maven .compiler.target>1.8</maven .compiler.target>
101
101
102
+ <!-- Module names used for Java 9 modules and OSGi bundles -->
103
+ <hibernate-validator .module-name>org.hibernate.validator</hibernate-validator .module-name>
104
+ <hibernate-validator-cdi .module-name>org.hibernate.validator.cdi</hibernate-validator-cdi .module-name>
105
+ <!-- TODO in 6.1: make the names consistent by removing the bundle properties, see HV-1484 -->
106
+ <hibernate-validator .bundle-name>org.hibernate.validator.hibernate-validator</hibernate-validator .bundle-name>
107
+ <hibernate-validator-cdi .bundle-name>org.hibernate.validator.hibernate-validator-cdi</hibernate-validator-cdi .bundle-name>
108
+
102
109
<!-- see http://maven.apache.org/general.html -->
103
110
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
104
111
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
You can’t perform that action at this time.
0 commit comments