Commit cf778956 by Zahid Hassan

Jar configuration added

parent 9ef2166b
......@@ -11,7 +11,7 @@
<groupId>bd.gov</groupId>
<artifactId>ekpayencryption</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<packaging>jar</packaging>
<name>ekpayencryption</name>
<description>Ekpay Encryption Decryption Service</description>
<properties>
......@@ -36,6 +36,12 @@
<build>
<finalName>ekpayencryption</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
package bd.gov.ekpayencryption;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
public class ServletInitializer extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(EkpayencryptionApplication.class);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment