1
1
<?xml version =" 1.0" ?>
2
- <project xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
2
+ <project
3
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4
+ xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
3
5
<modelVersion >4.0.0</modelVersion >
4
6
<groupId >com.baeldung.ethereumj</groupId >
5
7
<artifactId >ethereumj</artifactId >
11
13
<artifactId >parent-boot-5</artifactId >
12
14
<groupId >com.baeldung</groupId >
13
15
<version >0.0.1-SNAPSHOT</version >
14
- <relativePath >../parent-boot-5</relativePath >
16
+ <relativePath >../../ parent-boot-5</relativePath >
15
17
</parent >
16
18
19
+ <properties >
20
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
21
+ <java .version>1.8</java .version>
22
+ <tomcat .version>8.5.4</tomcat .version>
23
+ <ethereumj-core .version>1.5.0-RELEASE</ethereumj-core .version>
24
+ <web3j .core.version>3.3.1</web3j .core.version>
25
+ <jackson-databind .version>2.5.0</jackson-databind .version>
26
+ </properties >
27
+
17
28
<repositories >
18
29
<repository >
19
30
<id >Ethereum</id >
23
34
</repositories >
24
35
25
36
<dependencies >
26
-
27
37
<!-- Spring Boot Dependencies -->
28
38
<dependency >
29
39
<groupId >org.springframework.boot</groupId >
33
43
<groupId >org.springframework.boot</groupId >
34
44
<artifactId >spring-boot-starter-tomcat</artifactId >
35
45
</dependency >
36
-
37
46
<!-- Unit Testing -->
38
47
<dependency >
39
48
<groupId >org.springframework.boot</groupId >
40
49
<artifactId >spring-boot-starter-test</artifactId >
41
50
<scope >test</scope >
42
51
</dependency >
43
-
44
52
<!-- Ethereum -->
45
53
<dependency >
46
54
<groupId >org.ethereum</groupId >
47
55
<artifactId >ethereumj-core</artifactId >
48
- <version >1.5.0-RELEASE </version >
56
+ <version >${ethereumj-core.version} </version >
49
57
</dependency >
50
-
51
58
<!-- Web3j -->
52
59
<dependency >
53
60
<groupId >org.web3j</groupId >
54
61
<artifactId >core</artifactId >
55
- <version >3.3.1 </version >
62
+ <version >${web3j.core.version} </version >
56
63
</dependency >
57
-
58
64
<!-- JSTL/JSP -->
59
65
<dependency >
60
66
<groupId >javax.servlet</groupId >
63
69
<dependency >
64
70
<groupId >com.fasterxml.jackson.core</groupId >
65
71
<artifactId >jackson-databind</artifactId >
66
- <version >2.5.0 </version >
72
+ <version >${jackson-databind.version} </version >
67
73
</dependency >
68
74
</dependencies >
69
75
70
76
<build >
71
77
<plugins >
78
+ <plugin >
79
+ <artifactId >maven-compiler-plugin</artifactId >
80
+ <version >3.1</version >
81
+ <configuration >
82
+ <source >1.8</source >
83
+ <target >1.8</target >
84
+ </configuration >
85
+ </plugin >
72
86
<plugin >
73
87
<groupId >org.springframework.boot</groupId >
74
88
<artifactId >spring-boot-maven-plugin</artifactId >
77
91
<finalName >ethereumj</finalName >
78
92
</build >
79
93
80
- <profiles >
81
- <profile >
82
- <id >integration</id >
83
- <build >
84
- <plugins >
85
- <plugin >
86
- <groupId >org.apache.maven.plugins</groupId >
87
- <artifactId >maven-surefire-plugin</artifactId >
88
- <executions >
89
- <execution >
90
- <phase >integration-test</phase >
91
- <goals >
92
- <goal >test</goal >
93
- </goals >
94
- <configuration >
95
- <excludes >
96
- <exclude >none</exclude >
97
- </excludes >
98
- <includes >
99
- <include >*/EthControllerTestOne.java</include >
100
- </includes >
101
- </configuration >
102
- </execution >
103
- </executions >
104
- </plugin >
105
- </plugins >
106
- </build >
107
- </profile >
108
- </profiles >
109
-
110
- <properties >
111
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
112
- <java .version>1.8</java .version>
113
- <tomcat .version>8.5.4</tomcat .version>
114
- </properties >
115
-
116
94
</project >
0 commit comments