Merge pull request #11201 from freelansam/JAVA-6439

JAVA-6439: Check PR for spring-security-web-sockets module
This commit is contained in:
kwoyke 2021-09-13 12:00:15 +02:00 committed by GitHub
commit 8fc8af79bf
2 changed files with 10 additions and 6 deletions

View File

@ -10,8 +10,8 @@ This module contains articles about WebSockets with Spring Security
### Running This Project:
To build the project, run the command: mvn clean install. This will build a war file in the target folder that you can deploye on a server like Tomcat.
To build the project, run the command: `mvn clean install`. This will build a war file in the target folder that you can deploy on a server like Tomcat.
Alternatively, run the project from an IDE.
Alternatively, run the project from an IDE, with the maven goal `org.codehaus.cargo:cargo-maven2-plugin:run`
To login, use credentials from the data.sql file in src/main/resource, eg: user/password.

View File

@ -155,11 +155,14 @@
<finalName>spring-security-web-sockets</finalName>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>${cargo-maven2-plugin.version}</version>
<configuration>
<path>/spring-security-mvc-socket</path>
<container>
<containerId>tomcat9x</containerId>
<type>embedded</type>
</container>
</configuration>
</plugin>
<plugin>
@ -179,6 +182,7 @@
<spring-data-jpa.version>1.11.3.RELEASE</spring-data-jpa.version>
<logback-classic.version>1.2.3</logback-classic.version>
<spring-boot-starter-test.version>1.5.10.RELEASE</spring-boot-starter-test.version>
<cargo-maven2-plugin.version>1.7.6</cargo-maven2-plugin.version>
</properties>
</project>