Skip to content

Commit 3b2fbac

Browse files
committed
HV-1484 Unify JPMS module names and OSGi bundle names
1 parent 4dc1d2f commit 3b2fbac

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

cdi/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@
166166
<artifactId>maven-bundle-plugin</artifactId>
167167
<configuration>
168168
<instructions>
169-
<Bundle-SymbolicName>${hibernate-validator-cdi.bundle-name}</Bundle-SymbolicName>
170-
<Fragment-Host>${hibernate-validator.bundle-name}</Fragment-Host>
169+
<Bundle-SymbolicName>${hibernate-validator-cdi.module-name}</Bundle-SymbolicName>
170+
<Fragment-Host>${hibernate-validator.module-name}</Fragment-Host>
171171
<Import-Package>
172172
javax.validation.*;version="[2.0,3.0)",
173173
javax.annotation.*;version="[1.2,2.0)",

engine/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
<artifactId>maven-bundle-plugin</artifactId>
207207
<configuration>
208208
<instructions>
209-
<Bundle-SymbolicName>${hibernate-validator.bundle-name}</Bundle-SymbolicName>
209+
<Bundle-SymbolicName>${hibernate-validator.module-name}</Bundle-SymbolicName>
210210
<Import-Package>
211211
javax.persistence.*;version="[2.0.0,3.0.0)";resolution:=optional,
212212
javax.validation.*;version="[2.0.0,3.0.0)",

pom.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@
101101
<!-- Module names used for Java 9 modules and OSGi bundles -->
102102
<hibernate-validator.module-name>org.hibernate.validator</hibernate-validator.module-name>
103103
<hibernate-validator-cdi.module-name>org.hibernate.validator.cdi</hibernate-validator-cdi.module-name>
104-
<!-- TODO in 6.1: make the names consistent by removing the bundle properties, see HV-1484 -->
105-
<hibernate-validator.bundle-name>org.hibernate.validator.hibernate-validator</hibernate-validator.bundle-name>
106-
<hibernate-validator-cdi.bundle-name>org.hibernate.validator.hibernate-validator-cdi</hibernate-validator-cdi.bundle-name>
107104

108105
<!-- see http://maven.apache.org/general.html -->
109106
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

0 commit comments

Comments
 (0)