Skip to content
Permalink
Browse files

Generamos war para contenedores Servlet 3.0

  • Loading branch information
dmunozfer committed Jul 3, 2016
1 parent ac1e926 commit 16779945d6971553107e3f4b0dad0848a3dbede8
Showing with 13 additions and 2 deletions.
  1. +2 −2 pom.xml
  2. +11 −0 src/main/java/es/dmunozfer/jenkins/DemoServletInitializer.java
@@ -5,8 +5,8 @@

<groupId>es.dmunozfer</groupId>
<artifactId>tutorial-jenkins-2</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
<version>1.0.1</version>
<packaging>war</packaging>

<name>Tutorial Jenkins 2</name>
<description>Aplicación de ejemplo para el tutorial de Jenkins 2</description>
@@ -0,0 +1,11 @@
package es.dmunozfer.jenkins;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.web.SpringBootServletInitializer;

public class DemoServletInitializer extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
return builder.sources(DemoApplication.class);
}
}

0 comments on commit 1677994

Please sign in to comment.
You can’t perform that action at this time.