From fc292fb360ce8946f83b242c1a57941424d58a8f Mon Sep 17 00:00:00 2001 From: "Gangadhar.S" <37691270+Gangadhar-s-web@users.noreply.github.com> Date: Tue, 5 Jan 2021 15:10:54 +0530 Subject: [PATCH 1/3] dockerfile a text document that contains all the commands a user could call on the command line to assemble an image --- dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 dockerfile diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..70c73fe --- /dev/null +++ b/dockerfile @@ -0,0 +1,6 @@ +# Pull base image +From tomcat:8-jre8 + +# Maintainer +MAINTAINER "valaxytech@gmail.com" +COPY ./webapp.war /usr/local/tomcat/webapps From 9489e94643999c865f1be26c3e572582a525067d Mon Sep 17 00:00:00 2001 From: "Gangadhar.S" <37691270+Gangadhar-s-web@users.noreply.github.com> Date: Tue, 5 Jan 2021 15:12:09 +0530 Subject: [PATCH 2/3] pom.xml project object model --- pom.xml | 220 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 220 insertions(+) create mode 100644 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..eccd206 --- /dev/null +++ b/pom.xml @@ -0,0 +1,220 @@ + + + 4.0.0 + + com.example.maven-project + maven-project + pom + 1.0-SNAPSHOT + Maven Project + Sample Maven project with a working, deployable site. + http://www.example.com + + + utf-8 + utf-8 + + + + server + webapp + + + + + site-server + Test Project Site + file:///tmp/maven-project-site + + + + + + + maven-compiler-plugin + + 1.6 + 1.6 + + + + + maven-release-plugin + + true + + + + + maven-site-plugin + + + + maven-checkstyle-plugin + + + + maven-jxr-plugin + + + + maven-javadoc-plugin + + + + maven-pmd-plugin + + + + maven-surefire-report-plugin + + + + org.codehaus.mojo + findbugs-maven-plugin + + + + org.codehaus.mojo + taglist-maven-plugin + + + + + + + + + + maven-checkstyle-plugin + 2.8 + + + + maven-compiler-plugin + 2.3.2 + + + + maven-javadoc-plugin + 2.8 + + + + maven-jxr-plugin + 2.3 + + + + maven-pmd-plugin + 2.6 + + + + maven-project-info-reports-plugin + 2.4 + + + + maven-release-plugin + 2.2.1 + + + + maven-resources-plugin + 2.5 + + + + maven-site-plugin + 3.0 + + + + maven-surefire-report-plugin + 2.11 + + + + maven-surefire-plugin + 2.11 + + + + org.codehaus.mojo + findbugs-maven-plugin + 2.3.3 + + + + org.codehaus.mojo + taglist-maven-plugin + 2.4 + + + + org.mortbay.jetty + jetty-maven-plugin + 8.0.0.M1 + + + + + + + + + javax.servlet + servlet-api + 2.5 + + + + javax.servlet.jsp + jsp-api + 2.2 + + + + junit + junit-dep + 4.10 + test + + + + org.hamcrest + hamcrest-core + 1.2.1 + test + + + + org.hamcrest + hamcrest-library + 1.2.1 + test + + + + org.mockito + mockito-core + 1.8.5 + test + + + + + + scm:git:git@github.com:jleetutorial/maven-project.git + scm:git:git@github.com:jleetutorial/maven-project.git + HEAD + http://github.com/jleetutorial/maven-project + + + + 3.0.3 + + + From 764793be208bff5ccb60bd703e8f39292eac3ccd Mon Sep 17 00:00:00 2001 From: "Gangadhar.S" <37691270+Gangadhar-s-web@users.noreply.github.com> Date: Tue, 5 Jan 2021 15:14:23 +0530 Subject: [PATCH 3/3] Create index.jsp --- index.jsp | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 index.jsp diff --git a/index.jsp b/index.jsp new file mode 100644 index 0000000..1995b7e --- /dev/null +++ b/index.jsp @@ -0,0 +1,3 @@ +

Hello, Welcome to akarmaxs Technologies!!!

+

Deploying on Kubernetes

+

One last test