From 5bd8436400157ea4fab886590fd9f5e39ec052a7 Mon Sep 17 00:00:00 2001 From: Narunesh Date: Fri, 19 Jul 2024 18:49:12 +0530 Subject: [PATCH 1/2] Hello i created a jar file for your app --- Project/TurkishAirlines/pom.xml | 63 ++++++++++++++++++ .../target/TurkishAirlines-1.0-SNAPSHOT.jar | Bin 0 -> 1727 bytes .../target/maven-archiver/pom.properties | 5 ++ 3 files changed, 68 insertions(+) create mode 100644 Project/TurkishAirlines/pom.xml create mode 100644 Project/TurkishAirlines/target/TurkishAirlines-1.0-SNAPSHOT.jar create mode 100644 Project/TurkishAirlines/target/maven-archiver/pom.properties diff --git a/Project/TurkishAirlines/pom.xml b/Project/TurkishAirlines/pom.xml new file mode 100644 index 0000000..26090c1 --- /dev/null +++ b/Project/TurkishAirlines/pom.xml @@ -0,0 +1,63 @@ + + 4.0.0 + + + MyBuild + TurkishAirlines + 1.0-SNAPSHOT + + + + + + + MyBuild + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + + + + + + MyBuild + maven-jar-plugin + 3.2.0 + + + + MyBuild.App + + + + + + + + MyBuild + maven-surefire-plugin + 2.22.2 + + + **/*Test.java + + + + + + + + + + + junit + junit + 4.12 + test + + + diff --git a/Project/TurkishAirlines/target/TurkishAirlines-1.0-SNAPSHOT.jar b/Project/TurkishAirlines/target/TurkishAirlines-1.0-SNAPSHOT.jar new file mode 100644 index 0000000000000000000000000000000000000000..dc4406b901ccc8269e43d535a7f0208ed8ec0049 GIT binary patch literal 1727 zcmWIWW@h1H0D)^$KSzKWP=XUk`?`iW>U#RQ=?6fSaWGs3DoZ=Dn7Ifj-3i1Z$jW>j z{XE@VgG2Ou-9G!CIql=Et9OytTUYDcne&^246YbIcv__6b?$_Yx2_Wh`;#SMQ^d3n zs8sBn(;X!29TZ$LS8J_^47bo^;~>!*;nP8%MS8xT`O;IlbB>pBvDbl3lAR}SzWk}l z>N>OXN{oqt;S@UqgC6mQ6y)dXRpjRE z4UNvfWgt=eJUqol=_ub8e$h`#8}lxiO%>&|dV95aPQtVs)84ZD_-=e|sb_}3iXcJ$ zXFqDT7f<3>nR+8IX^-=?qQ8}UOx?~Yo+)s&JRme#m(@wN;Om~2?+OeDE1q1H7dNuc zxYqLad-aC>#f+O3W*o9Vy?pE035oLya}CtD$gaB?v-`HXztfg&2;X)tb2EiVAj?uhYeQyeN7@%uS_}eswPe_PNOqn?OpfNyAPXdTU*<^P zy(#r*!<@c}iRY45-51#8p8Ut~Xw>z?&8<_u*=9d@$n~M9bFvJx@4c+2>^D{vyCyGt zksEjJz?r)H*=mnf&MH@VzU~t8Q!CiCaZf4{X%u@=J-`mdMo7rt5IH_&9-P^q4=hLG8`bBpHA9@w}FR^v;e^^G~0O#oo8&`)H z15*|#!w4*U`UZNe3i;rx<9+sVP?`3rkPljC0}Zx> z7;M>KWVqSLFzf>lU!Z}Jfzd-R{Zsn7AAB}`U0b4c_KfF4FCDFuKHffhj9jf##8T76 z(k;@&o~AroDpovoshDW`v*$OZUP-=S`)$d_QvIX7fDxFT8JR?wahFX%uKv|%r+K#D(`~y=nqMX5P z2*}kC0CIsYBZdoLhG3REFhjAIJTPOIG!_wWD6||x1R3@;hcNpJGtmwPnT<$+0p6@^ QAY<5pkRMoJ&SC-a04o_xj{pDw literal 0 HcmV?d00001 diff --git a/Project/TurkishAirlines/target/maven-archiver/pom.properties b/Project/TurkishAirlines/target/maven-archiver/pom.properties new file mode 100644 index 0000000..44ecf39 --- /dev/null +++ b/Project/TurkishAirlines/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Fri Jul 19 18:46:43 IST 2024 +groupId=MyBuild +artifactId=TurkishAirlines +version=1.0-SNAPSHOT From 8b995316086cabf1757636c5ea13e6675204a057 Mon Sep 17 00:00:00 2001 From: Narunesh Date: Fri, 19 Jul 2024 20:35:18 +0530 Subject: [PATCH 2/2] Adding docker file --- Project/TurkishAirlines/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Project/TurkishAirlines/Dockerfile diff --git a/Project/TurkishAirlines/Dockerfile b/Project/TurkishAirlines/Dockerfile new file mode 100644 index 0000000..bb6b859 --- /dev/null +++ b/Project/TurkishAirlines/Dockerfile @@ -0,0 +1,10 @@ +FROM openjdk:11-jre-slim + +WORKDIR /app + +COPY target/TurkishAirlines-1.0-SNAPSHOT.jar /app/TurkishAirlines.jar + + +EXPOSE 8080 + +ENTRYPOINT ["java", "-jar", "TurkishAirlines.jar"]