Skip to content

Commit 2672388

Browse files
committed
Adding form-based security sample and also cleaning up dependencies
1 parent 9e28663 commit 2672388

File tree

2 files changed

+21
-34
lines changed

2 files changed

+21
-34
lines changed

pom.xml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@
119119
<version>1.3.5</version>
120120
<scope>test</scope>
121121
</dependency>
122+
<dependency>
123+
<groupId>org.apache.httpcomponents</groupId>
124+
<artifactId>httpclient</artifactId>
125+
<version>4.2.1</version>
126+
<scope>test</scope>
127+
</dependency>
122128
</dependencies>
123129
<pluginRepositories>
124130
<pluginRepository>
@@ -214,10 +220,10 @@
214220
<scope>test</scope>
215221
</dependency>
216222
<dependency>
217-
<groupId>org.glassfish</groupId>
218-
<artifactId>javax.json</artifactId>
219-
<version>1.0.4</version>
220-
<scope>test</scope>
223+
<groupId>org.glassfish</groupId>
224+
<artifactId>javax.json</artifactId>
225+
<version>1.0.4</version>
226+
<scope>test</scope>
221227
</dependency>
222228
<dependency>
223229
<groupId>org.glassfish.tyrus</groupId>
@@ -256,8 +262,8 @@
256262
<artifactId>javax.json</artifactId>
257263
<version>1.0.4</version>
258264
<scope>test</scope>
259-
</dependency>
260-
<dependency>
265+
</dependency>
266+
<dependency>
261267
<groupId>org.glassfish.tyrus</groupId>
262268
<artifactId>tyrus-client</artifactId>
263269
<version>1.3</version>
@@ -288,8 +294,8 @@
288294
<scope>test</scope>
289295
</dependency>
290296
<dependency>
291-
<groupId>org.jboss.arquillian.container</groupId>
292-
<artifactId>arquillian-glassfish-remote-3.1</artifactId>
297+
<groupId>org.jboss.arquillian.container</groupId>
298+
<artifactId>arquillian-glassfish-remote-3.1</artifactId>
293299
<version>1.0.0.CR4</version>
294300
<scope>test</scope>
295301
</dependency>
@@ -371,13 +377,13 @@
371377
</executions>
372378
</plugin>
373379
<plugin>
374-
<artifactId>maven-surefire-plugin</artifactId>
375-
<configuration>
376-
<environmentVariables>
377-
<JBOSS_HOME>${project.build.directory}/wildfly-${org.wildfly}</JBOSS_HOME>
378-
</environmentVariables>
379-
</configuration>
380-
<version>2.16</version>
380+
<artifactId>maven-surefire-plugin</artifactId>
381+
<configuration>
382+
<environmentVariables>
383+
<JBOSS_HOME>${project.build.directory}/wildfly-${org.wildfly}</JBOSS_HOME>
384+
</environmentVariables>
385+
</configuration>
386+
<version>2.16</version>
381387
</plugin>
382388
</plugins>
383389
</build>

servlet/pom.xml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
<groupId>org.javaee7.servlet</groupId>
1313
<artifactId>servlet-samples</artifactId>
14-
<version>1.0-SNAPSHOT</version>
1514
<packaging>pom</packaging>
1615
<name>Java EE 7 Servlet Samples</name>
1716

@@ -20,9 +19,7 @@
2019
<module>async-servlet</module>
2120
<module>error-mapping</module>
2221
<module>event-listeners</module>
23-
<!--
2422
<module>form-based-security</module>
25-
-->
2623
<module>metadata-complete</module>
2724
<module>nonblocking</module>
2825
<module>protocol-handler</module>
@@ -32,20 +29,4 @@
3229
<module>file-upload</module>
3330
<module>web-fragment</module>
3431
</modules>
35-
36-
<dependencies>
37-
<dependency>
38-
<groupId>org.apache.httpcomponents</groupId>
39-
<artifactId>httpclient</artifactId>
40-
<version>4.2.1</version>
41-
<scope>test</scope>
42-
</dependency>
43-
<dependency>
44-
<groupId>org.apache.httpcomponents</groupId>
45-
<artifactId>httpmime</artifactId>
46-
<version>4.2.1</version>
47-
<scope>test</scope>
48-
</dependency>
49-
</dependencies>
50-
5132
</project>

0 commit comments

Comments
 (0)