Skip to content

Commit 8d699c1

Browse files
tschimanslavisa-baeldung
authored andcommitted
BAEL-89 modifying the module names and changing the dependencies to be in line with what we would get from start.spring.io
1 parent f821eca commit 8d699c1

11 files changed

Lines changed: 12 additions & 12 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
<groupId>org.springframework.boot</groupId>
2121
<artifactId>spring-boot-starter-jetty</artifactId>
2222
</dependency>
23+
2324
<dependency>
2425
<groupId>org.springframework.boot</groupId>
25-
<artifactId>spring-boot-starter-web</artifactId>
26+
<artifactId>spring-boot-starter-data-redis</artifactId>
2627
</dependency>
2728
<dependency>
2829
<groupId>org.springframework.boot</groupId>
@@ -31,11 +32,10 @@
3132
<dependency>
3233
<groupId>org.springframework.session</groupId>
3334
<artifactId>spring-session</artifactId>
34-
<version>1.2.1.RELEASE</version>
3535
</dependency>
3636
<dependency>
3737
<groupId>org.springframework.boot</groupId>
38-
<artifactId>spring-boot-starter-data-redis</artifactId>
38+
<artifactId>spring-boot-starter-web</artifactId>
3939
</dependency>
4040
</dependencies>
4141

spring-session/jetty-ex/src/main/java/com/baeldung/spring/session/tomcatex/JettyWebApplication.java renamed to spring-session/jetty-session-demo/src/main/java/com/baeldung/spring/session/tomcatex/JettyWebApplication.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,9 @@ public static void main(String[] args) {
1616
public String helloJetty() {
1717
return "hello Jetty";
1818
}
19+
20+
@RequestMapping("/test")
21+
public String lksjdf() {
22+
return "";
23+
}
1924
}

spring-session/jetty-ex/src/main/java/com/baeldung/spring/session/tomcatex/SecurityConfig.java renamed to spring-session/jetty-session-demo/src/main/java/com/baeldung/spring/session/tomcatex/SecurityConfig.java

File renamed without changes.

spring-session/jetty-ex/src/main/java/com/baeldung/spring/session/tomcatex/SessionConfig.java renamed to spring-session/jetty-session-demo/src/main/java/com/baeldung/spring/session/tomcatex/SessionConfig.java

File renamed without changes.

spring-session/jetty-ex/src/main/resources/application.properties renamed to spring-session/jetty-session-demo/src/main/resources/application.properties

File renamed without changes.

‎spring-session/pom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<version>1.0.0-SNAPSHOT</version>
1515

1616
<modules>
17-
<module>jetty-ex</module>
18-
<module>tomcat-ex</module>
17+
<module>jetty-session-demo</module>
18+
<module>tomcat-session-demo</module>
1919
</modules>
2020
</project>

spring-session/tomcat-ex/pom.xml renamed to spring-session/tomcat-session-demo/pom.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,19 @@
1818
<dependencies>
1919
<dependency>
2020
<groupId>org.springframework.boot</groupId>
21-
<artifactId>spring-boot-starter-web</artifactId>
21+
<artifactId>spring-boot-starter-data-redis</artifactId>
2222
</dependency>
2323
<dependency>
2424
<groupId>org.springframework.boot</groupId>
2525
<artifactId>spring-boot-starter-security</artifactId>
2626
</dependency>
27-
<dependency>
28-
<groupId>org.springframework.cloud</groupId>
29-
<artifactId>spring-cloud-starter-zuul</artifactId>
30-
</dependency>
3127
<dependency>
3228
<groupId>org.springframework.session</groupId>
3329
<artifactId>spring-session</artifactId>
34-
<version>1.2.1.RELEASE</version>
3530
</dependency>
3631
<dependency>
3732
<groupId>org.springframework.boot</groupId>
38-
<artifactId>spring-boot-starter-data-redis</artifactId>
33+
<artifactId>spring-boot-starter-web</artifactId>
3934
</dependency>
4035
</dependencies>
4136

spring-session/tomcat-ex/src/main/java/com/baeldung/spring/session/tomcatex/SecurityConfig.java renamed to spring-session/tomcat-session-demo/src/main/java/com/baeldung/spring/session/tomcatex/SecurityConfig.java

File renamed without changes.

spring-session/tomcat-ex/src/main/java/com/baeldung/spring/session/tomcatex/SessionConfig.java renamed to spring-session/tomcat-session-demo/src/main/java/com/baeldung/spring/session/tomcatex/SessionConfig.java

File renamed without changes.

spring-session/tomcat-ex/src/main/java/com/baeldung/spring/session/tomcatex/TomcatWebApplication.java renamed to spring-session/tomcat-session-demo/src/main/java/com/baeldung/spring/session/tomcatex/TomcatWebApplication.java

File renamed without changes.

0 commit comments

Comments
 (0)