Skip to content

Commit 839131b

Browse files
author
Artem Eroshenko
committed
Merge pull request #8 from innokenty/master
add equals() and hashCode() to config beans
2 parents 14ac63f + 53ef462 commit 839131b

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

config/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,20 @@
1515
<plugin>
1616
<groupId>org.jvnet.jaxb2.maven2</groupId>
1717
<artifactId>maven-jaxb2-plugin</artifactId>
18+
<configuration>
19+
<args>
20+
<arg>-Xinheritance</arg>
21+
<arg>-Xvalue-constructor</arg>
22+
<arg>-Xequals</arg>
23+
<arg>-XhashCode</arg>
24+
</args>
25+
</configuration>
1826
</plugin>
1927
</plugins>
2028
</build>
2129

2230
<dependencies>
31+
<!-- Commons -->
2332
<dependency>
2433
<groupId>commons-io</groupId>
2534
<artifactId>commons-io</artifactId>
@@ -34,6 +43,13 @@
3443
<version>1.10</version>
3544
</dependency>
3645

46+
<!-- JAXB runtime -->
47+
<dependency>
48+
<groupId>org.jvnet.jaxb2_commons</groupId>
49+
<artifactId>jaxb2-basics-runtime</artifactId>
50+
<version>0.9.5</version>
51+
</dependency>
52+
3753
<!-- Tests -->
3854
<dependency>
3955
<groupId>junit</groupId>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
<plugin>
154154
<groupId>org.jvnet.jaxb2_commons</groupId>
155155
<artifactId>jaxb2-basics</artifactId>
156-
<version>0.9.4</version>
156+
<version>0.9.5</version>
157157
</plugin>
158158
<plugin>
159159
<groupId>org.jvnet.jaxb2_commons</groupId>

0 commit comments

Comments
 (0)