File tree Expand file tree Collapse file tree 3 files changed +32
-10
lines changed
spring-security-login-and-registration Expand file tree Collapse file tree 3 files changed +32
-10
lines changed Original file line number Diff line number Diff line change 2323 <attribute name =" org.eclipse.jst.component.dependency" value =" /WEB-INF/lib" />
2424 </attributes >
2525 </classpathentry >
26- <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6 " >
26+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7 " >
2727 <attributes >
2828 <attribute name =" maven.pomderived" value =" true" />
2929 </attributes >
Original file line number Diff line number Diff line change 3030 <artifactId >spring-security-config</artifactId >
3131 <scope >runtime</scope >
3232 </dependency >
33-
33+
3434 <!-- @Inject -->
3535 <!-- <dependency> -->
3636 <!-- <groupId>javax.inject</groupId> -->
128128 </dependency >
129129
130130 </dependencies >
131+
131132 <build >
132133 <finalName >spring-security-login-and-registration</finalName >
133134 <resources >
136137 <filtering >true</filtering >
137138 </resource >
138139 </resources >
140+
141+ <plugins >
142+
143+ <plugin >
144+ <groupId >org.apache.maven.plugins</groupId >
145+ <artifactId >maven-compiler-plugin</artifactId >
146+ <configuration >
147+ <source >${java-version} </source >
148+ <target >${java-version} </target >
149+ </configuration >
150+ </plugin >
151+
152+ <plugin >
153+ <groupId >org.apache.maven.plugins</groupId >
154+ <artifactId >maven-war-plugin</artifactId >
155+ </plugin >
156+
157+ </plugins >
139158 </build >
159+
140160 <properties >
141161 <java-version >1.7</java-version >
142162 <org .springframework-version>3.1.4.RELEASE</org .springframework-version>
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<web-app xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xmlns=" http://java.sun.com/xml/ns/javaee"
4- xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
5- version=" 2.5" >
6-
3+ xmlns=" http://java.sun.com/xml/ns/javaee" xmlns : web =" http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
4+ xsi:schemaLocation="
5+ http://java.sun.com/xml/ns/javaee
6+ http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
7+ id=" WebApp_ID" version =" 3.0" >
8+
79 <context-param >
810 <param-name >contextClass</param-name >
911 <param-value >
1416 <param-name >contextConfigLocation</param-name >
1517 <param-value >org.baeldung.spring</param-value >
1618 </context-param >
17-
19+
1820 <listener >
1921 <listener-class >org.springframework.web.context.ContextLoaderListener</listener-class >
2022 </listener >
21-
23+
2224 <servlet >
2325 <servlet-name >mvc</servlet-name >
2426 <servlet-class >org.springframework.web.servlet.DispatcherServlet</servlet-class >
2830 <servlet-name >mvc</servlet-name >
2931 <url-pattern >/</url-pattern >
3032 </servlet-mapping >
31-
33+
3234 <filter >
3335 <filter-name >springSecurityFilterChain</filter-name >
3436 <filter-class >org.springframework.web.filter.DelegatingFilterProxy</filter-class >
4547 <filter-name >localizationFilter</filter-name >
4648 <url-pattern >/*</url-pattern >
4749 </filter-mapping >
48-
50+
4951</web-app >
You can’t perform that action at this time.
0 commit comments