maven work
This commit is contained in:
parent
4f6e4f3c3c
commit
fd416a00a2
@ -81,6 +81,15 @@
|
||||
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>${maven-war-plugin.version}</version>
|
||||
<configuration>
|
||||
<failonmissingwebxml>false</failonmissingwebxml>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
@ -118,9 +127,10 @@
|
||||
<rest-assured.version>1.8.1</rest-assured.version>
|
||||
<groovy.version>1.8.9</groovy.version>
|
||||
|
||||
<!-- Maven plugins -->
|
||||
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
|
||||
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
|
||||
<!-- Maven plugins -->
|
||||
<cargo-maven2-plugin.version>1.4.3</cargo-maven2-plugin.version>
|
||||
<maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
|
||||
<maven-war-plugin.version>2.4</maven-war-plugin.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
@ -1,5 +1,7 @@
|
||||
package org.baeldung.servlet;
|
||||
|
||||
import javax.servlet.ServletRegistration.Dynamic;
|
||||
|
||||
import org.baeldung.spring.ClientWebConfig;
|
||||
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
|
||||
|
||||
@ -32,4 +34,9 @@ public class WebAppNew extends AbstractAnnotationConfigDispatcherServletInitiali
|
||||
return new String[] { "/" };
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void customizeRegistration(final Dynamic registration) {
|
||||
super.customizeRegistration(registration);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -37,6 +37,10 @@
|
||||
|
||||
<!-- additional config -->
|
||||
|
||||
<session-config>
|
||||
<session-timeout>10</session-timeout>
|
||||
</session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
Loading…
x
Reference in New Issue
Block a user