File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 166
166
<configuration >
167
167
<packageName >org.hibernate.validator.internal.xml</packageName >
168
168
<extension >true</extension >
169
- <schemaFiles >validation-configuration-1.1.xsd,validation-mapping-1.1.xsd</schemaFiles >
169
+ <!-- Generate correct getters for Boolean properties -->
170
+ <enableIntrospection >true</enableIntrospection >
171
+ <!-- Makes sure the generated code is compatible with JAXB 2.1 which is what comes with Java 1.6 -->
172
+ <target >2.1</target >
173
+ <sources >
174
+ <source >src/main/xsd/validation-configuration-1.1.xsd</source >
175
+ <source >src/main/xsd/validation-mapping-1.1.xsd</source >
176
+ </sources >
170
177
</configuration >
171
- <dependencies >
172
- <dependency >
173
- <groupId >javax.xml.bind</groupId >
174
- <artifactId >jaxb-api</artifactId >
175
- <version >2.2.5</version >
176
- </dependency >
177
- <dependency >
178
- <groupId >com.sun.xml.bind</groupId >
179
- <artifactId >jaxb-impl</artifactId >
180
- <version >2.1.13</version >
181
- </dependency >
182
- </dependencies >
183
178
</plugin >
184
179
<plugin >
185
180
<groupId >org.apache.maven.plugins</groupId >
Original file line number Diff line number Diff line change 502
502
<plugin >
503
503
<groupId >org.codehaus.mojo</groupId >
504
504
<artifactId >jaxb2-maven-plugin</artifactId >
505
- <version >1.3.1 </version >
505
+ <version >2.2 </version >
506
506
</plugin >
507
507
<plugin >
508
508
<groupId >org.jboss.maven.plugins</groupId >
You can’t perform that action at this time.
0 commit comments