/*
 * Copyright 2013-2016 abuabdul.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 */
package com.abuabdul.mytravelpal.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author abuabdul
 *
 */
@SpringBootApplication
@ComponentScan("com.abuabdul.mytravelpal")
public class MyTravelPalApplication {

	public static void main(String[] args) {
		SpringApplication.run(MyTravelPalApplication.class, args);
	}

}

@@ -747,32 +747,172 @@
 ootApplication;%0A
+import org.springframework.boot.builder.SpringApplicationBuilder;%0Aimport org.springframework.boot.context.web.SpringBootServletInitializer;%0A
 import org.sprin
@@ -1090,16 +1090,53 @@
 ication 
+extends SpringBootServletInitializer 
 %7B%0A%0A%09publ
@@ -1237,10 +1237,171 @@
 s);%0A%09%7D%0A%0A
+%09@Override%0A%09protected SpringApplicationBuilder configure(SpringApplicationBuilder application) %7B%0A%09%09return application.sources(MyTravelPalApplication.class);%0A%09%7D%0A%0A
 %7D%0A

MytravelPal converting to deployable war