Skip to content

Commit 6286569

Browse files
author
eugenp
committed
maven work
1 parent bae8efe commit 6286569

File tree

8 files changed

+208
-1
lines changed

8 files changed

+208
-1
lines changed

spring-mvc-java/pom.xml

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<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">
23
<modelVersion>4.0.0</modelVersion>
34
<groupId>org.baeldung</groupId>
45
<artifactId>spring-mvc-java</artifactId>
@@ -80,6 +81,22 @@
8081

8182
<plugins>
8283

84+
<plugin>
85+
<groupId>org.apache.maven.plugins</groupId>
86+
<artifactId>maven-compiler-plugin</artifactId>
87+
<version>${maven-compiler-plugin.version}</version>
88+
<configuration>
89+
<source>1.7</source>
90+
<target>1.7</target>
91+
</configuration>
92+
</plugin>
93+
94+
<plugin>
95+
<groupId>org.apache.maven.plugins</groupId>
96+
<artifactId>maven-war-plugin</artifactId>
97+
<version>${maven-war-plugin.version}</version>
98+
</plugin>
99+
83100
<plugin>
84101
<groupId>org.apache.maven.plugins</groupId>
85102
<artifactId>maven-surefire-plugin</artifactId>

spring-mvc-no-xml/pom.xml

+25
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,31 @@
3939
<scope>runtime</scope>
4040
</dependency>
4141

42+
<!-- logging -->
43+
44+
<dependency>
45+
<groupId>org.slf4j</groupId>
46+
<artifactId>slf4j-api</artifactId>
47+
<version>${org.slf4j.version}</version>
48+
</dependency>
49+
<dependency>
50+
<groupId>ch.qos.logback</groupId>
51+
<artifactId>logback-classic</artifactId>
52+
<version>${logback.version}</version>
53+
<!-- <scope>runtime</scope> -->
54+
</dependency>
55+
<dependency>
56+
<groupId>org.slf4j</groupId>
57+
<artifactId>jcl-over-slf4j</artifactId>
58+
<version>${org.slf4j.version}</version>
59+
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
60+
</dependency>
61+
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
62+
<groupId>org.slf4j</groupId>
63+
<artifactId>log4j-over-slf4j</artifactId>
64+
<version>${org.slf4j.version}</version>
65+
</dependency>
66+
4267
<!-- test scoped -->
4368

4469
<dependency>

spring-mvc-xml/pom.xml

+40
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,31 @@
3939
<scope>runtime</scope>
4040
</dependency>
4141

42+
<!-- logging -->
43+
44+
<dependency>
45+
<groupId>org.slf4j</groupId>
46+
<artifactId>slf4j-api</artifactId>
47+
<version>${org.slf4j.version}</version>
48+
</dependency>
49+
<dependency>
50+
<groupId>ch.qos.logback</groupId>
51+
<artifactId>logback-classic</artifactId>
52+
<version>${logback.version}</version>
53+
<!-- <scope>runtime</scope> -->
54+
</dependency>
55+
<dependency>
56+
<groupId>org.slf4j</groupId>
57+
<artifactId>jcl-over-slf4j</artifactId>
58+
<version>${org.slf4j.version}</version>
59+
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
60+
</dependency>
61+
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
62+
<groupId>org.slf4j</groupId>
63+
<artifactId>log4j-over-slf4j</artifactId>
64+
<version>${org.slf4j.version}</version>
65+
</dependency>
66+
4267
<!-- test scoped -->
4368

4469
<dependency>
@@ -80,7 +105,22 @@
80105
</resources>
81106

82107
<plugins>
108+
<plugin>
109+
<groupId>org.apache.maven.plugins</groupId>
110+
<artifactId>maven-compiler-plugin</artifactId>
111+
<version>${maven-compiler-plugin.version}</version>
112+
<configuration>
113+
<source>1.7</source>
114+
<target>1.7</target>
115+
</configuration>
116+
</plugin>
83117

118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-war-plugin</artifactId>
121+
<version>${maven-war-plugin.version}</version>
122+
</plugin>
123+
84124
<plugin>
85125
<groupId>org.apache.maven.plugins</groupId>
86126
<artifactId>maven-surefire-plugin</artifactId>

spring-security-basic-auth/pom.xml

+25
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,31 @@
9696
<version>14.0.1</version>
9797
</dependency>
9898

99+
<!-- logging -->
100+
101+
<dependency>
102+
<groupId>org.slf4j</groupId>
103+
<artifactId>slf4j-api</artifactId>
104+
<version>${org.slf4j.version}</version>
105+
</dependency>
106+
<dependency>
107+
<groupId>ch.qos.logback</groupId>
108+
<artifactId>logback-classic</artifactId>
109+
<version>${logback.version}</version>
110+
<!-- <scope>runtime</scope> -->
111+
</dependency>
112+
<dependency>
113+
<groupId>org.slf4j</groupId>
114+
<artifactId>jcl-over-slf4j</artifactId>
115+
<version>${org.slf4j.version}</version>
116+
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
117+
</dependency>
118+
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
119+
<groupId>org.slf4j</groupId>
120+
<artifactId>log4j-over-slf4j</artifactId>
121+
<version>${org.slf4j.version}</version>
122+
</dependency>
123+
99124
<!-- test scoped -->
100125

101126
<dependency>

spring-security-mvc-custom/pom.xml

+25
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,31 @@
101101
<!-- <version>3.0.1</version> -->
102102
<!-- </dependency> -->
103103

104+
<!-- logging -->
105+
106+
<dependency>
107+
<groupId>org.slf4j</groupId>
108+
<artifactId>slf4j-api</artifactId>
109+
<version>${org.slf4j.version}</version>
110+
</dependency>
111+
<dependency>
112+
<groupId>ch.qos.logback</groupId>
113+
<artifactId>logback-classic</artifactId>
114+
<version>${logback.version}</version>
115+
<!-- <scope>runtime</scope> -->
116+
</dependency>
117+
<dependency>
118+
<groupId>org.slf4j</groupId>
119+
<artifactId>jcl-over-slf4j</artifactId>
120+
<version>${org.slf4j.version}</version>
121+
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
122+
</dependency>
123+
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
124+
<groupId>org.slf4j</groupId>
125+
<artifactId>log4j-over-slf4j</artifactId>
126+
<version>${org.slf4j.version}</version>
127+
</dependency>
128+
104129
<!-- test scoped -->
105130

106131
<dependency>

spring-security-mvc-digest-auth/pom.xml

+25
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,31 @@
9696
<version>${guava.version}</version>
9797
</dependency>
9898

99+
<!-- logging -->
100+
101+
<dependency>
102+
<groupId>org.slf4j</groupId>
103+
<artifactId>slf4j-api</artifactId>
104+
<version>${org.slf4j.version}</version>
105+
</dependency>
106+
<dependency>
107+
<groupId>ch.qos.logback</groupId>
108+
<artifactId>logback-classic</artifactId>
109+
<version>${logback.version}</version>
110+
<!-- <scope>runtime</scope> -->
111+
</dependency>
112+
<dependency>
113+
<groupId>org.slf4j</groupId>
114+
<artifactId>jcl-over-slf4j</artifactId>
115+
<version>${org.slf4j.version}</version>
116+
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
117+
</dependency>
118+
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
119+
<groupId>org.slf4j</groupId>
120+
<artifactId>log4j-over-slf4j</artifactId>
121+
<version>${org.slf4j.version}</version>
122+
</dependency>
123+
99124
<!-- test scoped -->
100125

101126
<dependency>

spring-security-mvc-login/pom.xml

+25
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,31 @@
9393
<scope>runtime</scope>
9494
</dependency>
9595

96+
<!-- logging -->
97+
98+
<dependency>
99+
<groupId>org.slf4j</groupId>
100+
<artifactId>slf4j-api</artifactId>
101+
<version>${org.slf4j.version}</version>
102+
</dependency>
103+
<dependency>
104+
<groupId>ch.qos.logback</groupId>
105+
<artifactId>logback-classic</artifactId>
106+
<version>${logback.version}</version>
107+
<!-- <scope>runtime</scope> -->
108+
</dependency>
109+
<dependency>
110+
<groupId>org.slf4j</groupId>
111+
<artifactId>jcl-over-slf4j</artifactId>
112+
<version>${org.slf4j.version}</version>
113+
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
114+
</dependency>
115+
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
116+
<groupId>org.slf4j</groupId>
117+
<artifactId>log4j-over-slf4j</artifactId>
118+
<version>${org.slf4j.version}</version>
119+
</dependency>
120+
96121
<!-- test scoped -->
97122

98123
<dependency>

spring-security-mvc-session/pom.xml

+25
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,31 @@
101101
<version>3.0.1</version>
102102
</dependency>
103103

104+
<!-- logging -->
105+
106+
<dependency>
107+
<groupId>org.slf4j</groupId>
108+
<artifactId>slf4j-api</artifactId>
109+
<version>${org.slf4j.version}</version>
110+
</dependency>
111+
<dependency>
112+
<groupId>ch.qos.logback</groupId>
113+
<artifactId>logback-classic</artifactId>
114+
<version>${logback.version}</version>
115+
<!-- <scope>runtime</scope> -->
116+
</dependency>
117+
<dependency>
118+
<groupId>org.slf4j</groupId>
119+
<artifactId>jcl-over-slf4j</artifactId>
120+
<version>${org.slf4j.version}</version>
121+
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
122+
</dependency>
123+
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
124+
<groupId>org.slf4j</groupId>
125+
<artifactId>log4j-over-slf4j</artifactId>
126+
<version>${org.slf4j.version}</version>
127+
</dependency>
128+
104129
<!-- test scoped -->
105130

106131
<dependency>

0 commit comments

Comments
 (0)