Skip to content

Commit c138515

Browse files
committed
removed jetty plugin from jaxrs resteasy petstore.
1 parent a17c6d5 commit c138515

File tree

1 file changed

+7
-56
lines changed
  • samples/server/petstore/jaxrs-resteasy/default

1 file changed

+7
-56
lines changed

samples/server/petstore/jaxrs-resteasy/default/pom.xml

Lines changed: 7 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</plugin>
2626
<plugin>
2727
<artifactId>maven-failsafe-plugin</artifactId>
28-
<version>2.18.1</version>
28+
<version>2.6</version>
2929
<executions>
3030
<execution>
3131
<goals>
@@ -35,40 +35,6 @@
3535
</execution>
3636
</executions>
3737
</plugin>
38-
<plugin>
39-
<groupId>org.eclipse.jetty</groupId>
40-
<artifactId>jetty-maven-plugin</artifactId>
41-
<version>${jetty-version}</version>
42-
<configuration>
43-
<webApp>
44-
<contextPath>/</contextPath>
45-
</webApp>
46-
<scanIntervalSeconds>10</scanIntervalSeconds>
47-
<stopKey>alpha</stopKey>
48-
<stopPort>9099</stopPort>
49-
<stopWait>2</stopWait>
50-
</configuration>
51-
<executions>
52-
<execution>
53-
<id>start-jetty</id>
54-
<phase>pre-integration-test</phase>
55-
<goals>
56-
<goal>start</goal>
57-
</goals>
58-
<configuration>
59-
<scanIntervalSeconds>0</scanIntervalSeconds>
60-
<daemon>true</daemon>
61-
</configuration>
62-
</execution>
63-
<execution>
64-
<id>stop-jetty</id>
65-
<phase>post-integration-test</phase>
66-
<goals>
67-
<goal>stop</goal>
68-
</goals>
69-
</execution>
70-
</executions>
71-
</plugin>
7238
<plugin>
7339
<groupId>org.codehaus.mojo</groupId>
7440
<artifactId>build-helper-maven-plugin</artifactId>
@@ -97,6 +63,7 @@
9763
<groupId>javax</groupId>
9864
<artifactId>javaee-api</artifactId>
9965
<version>7.0</version>
66+
<scope>provided</scope>
10067
</dependency>
10168
<dependency>
10269
<groupId>io.swagger.core.v3</groupId>
@@ -112,17 +79,14 @@
11279
<groupId>javax.servlet</groupId>
11380
<artifactId>servlet-api</artifactId>
11481
<version>${servlet-api-version}</version>
82+
<scope>provided</scope>
11583
</dependency>
11684

11785
<dependency>
11886
<groupId>org.jboss.resteasy</groupId>
11987
<artifactId>resteasy-jaxrs</artifactId>
12088
<version>${resteasy-version}</version>
121-
</dependency>
122-
<dependency>
123-
<groupId>org.jboss.resteasy</groupId>
124-
<artifactId>resteasy-servlet-initializer</artifactId>
125-
<version>${resteasy-version}</version>
89+
<scope>provided</scope>
12690
</dependency>
12791
<dependency>
12892
<groupId>org.jboss.resteasy</groupId>
@@ -133,11 +97,13 @@
13397
<groupId>org.jboss.resteasy</groupId>
13498
<artifactId>resteasy-validator-provider-11</artifactId>
13599
<version>${resteasy-version}</version>
100+
<scope>provided</scope>
136101
</dependency>
137102
<dependency>
138103
<groupId>org.jboss.resteasy</groupId>
139104
<artifactId>resteasy-multipart-provider</artifactId>
140105
<version>${resteasy-version}</version>
106+
<scope>provided</scope>
141107
</dependency>
142108
<dependency>
143109
<groupId>org.jboss.resteasy</groupId>
@@ -155,28 +121,13 @@
155121
<dependency>
156122
<groupId>com.fasterxml.jackson.datatype</groupId>
157123
<artifactId>jackson-datatype-joda</artifactId>
158-
<version>2.6.3</version>
124+
<version>2.4.1</version>
159125
</dependency>
160126
<dependency>
161127
<groupId>joda-time</groupId>
162128
<artifactId>joda-time</artifactId>
163129
<version>2.7</version>
164130
</dependency>
165-
<dependency>
166-
<groupId>com.fasterxml.jackson.core</groupId>
167-
<artifactId>jackson-databind</artifactId>
168-
<version>2.6.3</version>
169-
</dependency>
170-
<dependency>
171-
<groupId>com.fasterxml.jackson.core</groupId>
172-
<artifactId>jackson-core</artifactId>
173-
<version>2.6.3</version>
174-
</dependency>
175-
<dependency>
176-
<groupId>com.fasterxml.jackson.core</groupId>
177-
<artifactId>jackson-annotations</artifactId>
178-
<version>2.6.3</version>
179-
</dependency>
180131
<dependency>
181132
<groupId>io.swagger.core.v3</groupId>
182133
<artifactId>swagger-jaxrs2</artifactId>

0 commit comments

Comments
 (0)