Skip to content

Commit 363c543

Browse files
authored
Merge pull request eugenp#519 from egimaben/master
fixed merge conflicts
2 parents 0428786 + e580d24 commit 363c543

12 files changed

Lines changed: 551 additions & 312 deletions

File tree

‎rest-assured-tutorial/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎rest-assured-tutorial/README.md‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +0,0 @@
1-
=========
2-
3-
## A Guide To REST-Assured
4-
5-
6-
### Relevant Articles:
7-

‎rest-assured-tutorial/pom.xml‎

Lines changed: 225 additions & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -1,143 +1,257 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.baeldung</groupId>
5-
<artifactId>rest-assured</artifactId>
6-
<version>0.1.0-SNAPSHOT</version>
7-
5+
<artifactId>rest-assured-tutorial</artifactId>
6+
<version>1.0</version>
87
<name>rest-assured</name>
8+
<build>
9+
<plugins>
10+
<plugin>
11+
<groupId>org.apache.maven.plugins</groupId>
12+
<artifactId>maven-compiler-plugin</artifactId>
13+
<version>3.3</version>
14+
<configuration>
15+
<source>7</source>
16+
<target>7</target>
17+
</configuration>
18+
</plugin>
19+
</plugins>
20+
</build>
21+
<dependencies>
22+
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
23+
<dependency>
24+
<groupId>javax.servlet</groupId>
25+
<artifactId>javax.servlet-api</artifactId>
26+
<version>3.1-b06</version>
27+
</dependency>
928

10-
<properties>
11-
<!-- maven plugins -->
12-
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
13-
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
29+
<!-- https://mvnrepository.com/artifact/javax.servlet/servlet-api -->
30+
<dependency>
31+
<groupId>javax.servlet</groupId>
32+
<artifactId>servlet-api</artifactId>
33+
<version>2.5</version>
34+
</dependency>
1435

15-
<mockito.version>1.10.19</mockito.version>
16-
<junit.version>4.12</junit.version>
17-
<wiremock.version>2.1.7</wiremock.version>
18-
<hamcrest-all.version>1.3</hamcrest-all.version>
19-
<json-schema-core.version>1.2.5</json-schema-core.version>
20-
<json-schema-validator.version>2.2.6</json-schema-validator.version>
21-
<rest-assured.version>3.0.0</rest-assured.version>
36+
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-security -->
37+
<dependency>
38+
<groupId>org.eclipse.jetty</groupId>
39+
<artifactId>jetty-security</artifactId>
40+
<version>9.2.0.M1</version>
41+
</dependency>
2242

23-
<!-- logging -->
24-
<org.slf4j.version>1.7.13</org.slf4j.version>
25-
<logback.version>1.1.3</logback.version>
26-
</properties>
43+
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-servlet -->
44+
<dependency>
45+
<groupId>org.eclipse.jetty</groupId>
46+
<artifactId>jetty-servlet</artifactId>
47+
<version>9.2.0.M1</version>
48+
</dependency>
2749

28-
<dependencies>
29-
<!-- logging -->
30-
31-
<dependency>
32-
<groupId>org.slf4j</groupId>
33-
<artifactId>slf4j-api</artifactId>
34-
<version>${org.slf4j.version}</version>
35-
</dependency>
36-
<dependency>
37-
<groupId>ch.qos.logback</groupId>
38-
<artifactId>logback-classic</artifactId>
39-
<version>${logback.version}</version>
40-
<!-- <scope>runtime</scope> -->
41-
</dependency>
42-
<dependency>
43-
<groupId>org.slf4j</groupId>
44-
<artifactId>jcl-over-slf4j</artifactId>
45-
<version>${org.slf4j.version}</version>
46-
<scope>runtime</scope>
47-
</dependency>
48-
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
49-
<groupId>org.slf4j</groupId>
50-
<artifactId>log4j-over-slf4j</artifactId>
51-
<version>${org.slf4j.version}</version>
52-
</dependency>
53-
<!-- utils -->
50+
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-servlets -->
51+
<dependency>
52+
<groupId>org.eclipse.jetty</groupId>
53+
<artifactId>jetty-servlets</artifactId>
54+
<version>9.2.0.M1</version>
55+
</dependency>
56+
57+
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-io -->
58+
<dependency>
59+
<groupId>org.eclipse.jetty</groupId>
60+
<artifactId>jetty-io</artifactId>
61+
<version>9.2.0.M1</version>
62+
</dependency>
63+
64+
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-http -->
65+
<dependency>
66+
<groupId>org.eclipse.jetty</groupId>
67+
<artifactId>jetty-http</artifactId>
68+
<version>9.2.0.M1</version>
69+
</dependency>
70+
71+
72+
73+
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-server -->
74+
<dependency>
75+
<groupId>org.eclipse.jetty</groupId>
76+
<artifactId>jetty-server</artifactId>
77+
<version>9.2.0.M1</version>
78+
</dependency>
79+
80+
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
81+
<dependency>
82+
<groupId>org.eclipse.jetty</groupId>
83+
<artifactId>jetty-util</artifactId>
84+
<version>9.2.0.M1</version>
85+
</dependency>
86+
87+
88+
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
89+
<dependency>
90+
<groupId>org.slf4j</groupId>
91+
<artifactId>slf4j-api</artifactId>
92+
<version>1.7.21</version>
93+
</dependency>
94+
95+
<!-- https://mvnrepository.com/artifact/log4j/log4j -->
96+
<dependency>
97+
<groupId>log4j</groupId>
98+
<artifactId>log4j</artifactId>
99+
<version>1.2.17</version>
100+
</dependency>
101+
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12 -->
102+
<dependency>
103+
<groupId>org.slf4j</groupId>
104+
<artifactId>slf4j-log4j12</artifactId>
105+
<version>1.7.21</version>
106+
</dependency>
107+
108+
<!-- https://mvnrepository.com/artifact/com.jayway.restassured/rest-assured-common -->
109+
<!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
110+
<dependency>
111+
<groupId>commons-logging</groupId>
112+
<artifactId>commons-logging</artifactId>
113+
<version>1.2</version>
114+
</dependency>
115+
116+
<dependency>
117+
<groupId>org.apache.httpcomponents</groupId>
118+
<artifactId>httpcore</artifactId>
119+
<version>4.4.5</version>
120+
</dependency>
121+
122+
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
123+
<dependency>
124+
<groupId>org.apache.commons</groupId>
125+
<artifactId>commons-lang3</artifactId>
126+
<version>3.4</version>
127+
</dependency>
128+
129+
<!-- https://mvnrepository.com/artifact/com.github.fge/uri-template -->
130+
131+
<dependency>
132+
<groupId>com.github.fge</groupId>
133+
<artifactId>uri-template</artifactId>
134+
<version>0.9</version>
135+
</dependency>
136+
137+
<!-- https://mvnrepository.com/artifact/com.googlecode.libphonenumber/libphonenumber -->
138+
<dependency>
139+
<groupId>com.googlecode.libphonenumber</groupId>
140+
<artifactId>libphonenumber</artifactId>
141+
<version>7.4.5</version>
142+
</dependency>
143+
144+
<dependency>
145+
<groupId>javax.mail</groupId>
146+
<artifactId>mail</artifactId>
147+
<version>1.4.7</version>
148+
</dependency>
149+
150+
<dependency>
151+
<groupId>joda-time</groupId>
152+
<artifactId>joda-time</artifactId>
153+
<version>2.9.4</version>
154+
</dependency>
155+
156+
<dependency>
157+
<groupId>com.fasterxml.jackson.core</groupId>
158+
<artifactId>jackson-annotations</artifactId>
159+
<version>2.8.0</version>
160+
</dependency>
161+
162+
<dependency>
163+
<groupId>com.fasterxml.jackson.core</groupId>
164+
<artifactId>jackson-databind</artifactId>
165+
<version>2.8.0</version>
166+
</dependency>
167+
168+
<dependency>
169+
<groupId>com.fasterxml.jackson.core</groupId>
170+
<artifactId>jackson-core</artifactId>
171+
<version>2.8.0</version>
172+
</dependency>
173+
174+
<dependency>
175+
<groupId>com.github.fge</groupId>
176+
<artifactId>msg-simple</artifactId>
177+
<version>1.1</version>
178+
</dependency>
179+
180+
<dependency>
181+
<groupId>com.github.fge</groupId>
182+
<artifactId>jackson-coreutils</artifactId>
183+
<version>1.8</version>
184+
</dependency>
185+
186+
187+
188+
<dependency>
189+
<groupId>com.google.guava</groupId>
190+
<artifactId>guava</artifactId>
191+
<version>18.0</version>
192+
</dependency>
193+
<dependency>
194+
<groupId>com.github.fge</groupId>
195+
<artifactId>btf</artifactId>
196+
<version>1.2</version>
197+
</dependency>
198+
199+
<dependency>
200+
<groupId>org.apache.httpcomponents</groupId>
201+
<artifactId>httpclient</artifactId>
202+
<version>4.5.2</version>
203+
</dependency>
204+
205+
<dependency>
206+
<groupId>org.codehaus.groovy</groupId>
207+
<artifactId>groovy-all</artifactId>
208+
<version>2.4.7</version>
209+
</dependency>
210+
211+
<dependency>
212+
<groupId>com.github.tomakehurst</groupId>
213+
<artifactId>wiremock</artifactId>
214+
<version>2.1.7</version>
215+
</dependency>
54216
<dependency>
55217
<groupId>io.rest-assured</groupId>
56218
<artifactId>rest-assured</artifactId>
57-
<version>${rest-assured.version}</version>
219+
<version>3.0.0</version>
58220
<scope>test</scope>
59221
</dependency>
60-
61222
<dependency>
62223
<groupId>io.rest-assured</groupId>
63224
<artifactId>json-schema-validator</artifactId>
64-
<version>${rest-assured.version}</version>
225+
<version>3.0.0</version>
65226
</dependency>
66-
67227
<dependency>
68228
<groupId>com.github.fge</groupId>
69229
<artifactId>json-schema-validator</artifactId>
70-
<version>${json-schema-validator.version}</version>
230+
<version>2.2.6</version>
71231
</dependency>
72-
73232
<dependency>
74233
<groupId>com.github.fge</groupId>
75234
<artifactId>json-schema-core</artifactId>
76-
<version>${json-schema-core.version}</version>
235+
<version>1.2.5</version>
236+
</dependency>
237+
<dependency>
238+
<groupId>junit</groupId>
239+
<artifactId>junit</artifactId>
240+
<version>4.3</version>
241+
<scope>test</scope>
77242
</dependency>
78-
79-
80-
<!-- test scoped -->
81-
<dependency>
82-
<groupId>junit</groupId>
83-
<artifactId>junit</artifactId>
84-
<version>${junit.version}</version>
85-
<scope>test</scope>
86-
</dependency>
87-
88-
<dependency>
89-
<groupId>com.github.tomakehurst</groupId>
90-
<artifactId>wiremock</artifactId>
91-
<version>${wiremock.version}</version>
92-
<scope>test</scope>
93-
</dependency>
94243

95244
<dependency>
96245
<groupId>org.hamcrest</groupId>
97246
<artifactId>hamcrest-all</artifactId>
98-
<version>${hamcrest-all.version}</version>
99-
<scope>test</scope>
247+
<version>1.3</version>
100248
</dependency>
101-
102-
<dependency>
103-
<groupId>org.mockito</groupId>
104-
<artifactId>mockito-core</artifactId>
105-
<version>${mockito.version}</version>
106-
<scope>test</scope>
107-
</dependency>
249+
<!-- https://mvnrepository.com/artifact/commons-collections/commons-collections -->
250+
<dependency>
251+
<groupId>commons-collections</groupId>
252+
<artifactId>commons-collections</artifactId>
253+
<version>3.2.2</version>
254+
</dependency>
108255

109256
</dependencies>
110-
111-
<build>
112-
<finalName>rest-assured</finalName>
113-
<resources>
114-
<resource>
115-
<directory>src/main/resources</directory>
116-
<filtering>true</filtering>
117-
</resource>
118-
</resources>
119-
120-
<plugins>
121-
122-
<plugin>
123-
<groupId>org.apache.maven.plugins</groupId>
124-
<artifactId>maven-compiler-plugin</artifactId>
125-
<version>${maven-compiler-plugin.version}</version>
126-
<configuration>
127-
<source>1.8</source>
128-
<target>1.8</target>
129-
</configuration>
130-
</plugin>
131-
132-
<plugin>
133-
<groupId>org.apache.maven.plugins</groupId>
134-
<artifactId>maven-surefire-plugin</artifactId>
135-
<version>${maven-surefire-plugin.version}</version>
136-
</plugin>
137-
138-
</plugins>
139-
140-
</build>
141-
142-
143-
</project>
257+
</project>

0 commit comments

Comments
 (0)