File tree Expand file tree Collapse file tree
src/main/java/com/baeldung/immutable Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+
7+ <groupId >com.baeldung</groupId >
8+ <artifactId >immutables</artifactId >
9+ <version >1.0.0-SNAPSHOT</version >
10+
11+ <dependencies >
12+ <dependency >
13+ <groupId >org.immutables</groupId >
14+ <artifactId >value</artifactId >
15+ <version >2.2.10</version >
16+ </dependency >
17+ <dependency >
18+ <groupId >junit</groupId >
19+ <artifactId >junit</artifactId >
20+ <version >4.12</version >
21+ <scope >test</scope >
22+ </dependency >
23+ <dependency >
24+ <groupId >org.assertj</groupId >
25+ <artifactId >assertj-core</artifactId >
26+ <version >3.5.2</version >
27+ <scope >test</scope >
28+ </dependency >
29+ </dependencies >
30+
31+ <build >
32+ <plugins >
33+ <plugin >
34+ <groupId >org.apache.maven.plugins</groupId >
35+ <artifactId >maven-compiler-plugin</artifactId >
36+ <version >3.3</version >
37+ <configuration >
38+ <source >1.8</source >
39+ <target >1.8</target >
40+ </configuration >
41+ </plugin >
42+ </plugins >
43+ </build >
44+ </project >
Original file line number Diff line number Diff line change 1+ package com .baeldung .immutable ;
2+
3+ public class Address {
4+
5+ }
Original file line number Diff line number Diff line change 1+ package com .baeldung .immutable ;
2+
3+ import org .immutables .value .Value ;
4+
5+ @ Value .Immutable
6+ public class Person {
7+ private String name ;
8+ }
Original file line number Diff line number Diff line change 1+ package com .baeldung .immutable ;
2+
3+ public class ValueObject {
4+ public ValueObject () {
5+ }
6+ }
Original file line number Diff line number Diff line change 3131 <module >guava19</module >
3232 <module >handling-spring-static-resources</module >
3333 <module >httpclient</module >
34+ <module >immutables</module >
3435 <module >jackson</module >
3536 <module >javaxval</module >
3637 <module >jjwt</module >
You can’t perform that action at this time.
0 commit comments