From 0d012ac872f2feff87aa4232a174ed8241f0597f Mon Sep 17 00:00:00 2001 From: Guillaume Date: Thu, 21 Apr 2022 18:45:27 +0200 Subject: [PATCH] first commit --- pom.xml | 80 ++++++++++++++++++ src/main/java/com/mycompany/app/App.java | 13 +++ src/test/java/com/mycompany/app/AppTest.java | 20 +++++ target/classes/com/mycompany/app/App.class | Bin 0 -> 549 bytes target/maven-archiver/pom.properties | 4 + .../compile/default-compile/createdFiles.lst | 1 + .../compile/default-compile/inputFiles.lst | 1 + .../default-testCompile/createdFiles.lst | 1 + .../default-testCompile/inputFiles.lst | 1 + target/my-app-1.0-SNAPSHOT.jar | Bin 0 -> 2758 bytes .../TEST-com.mycompany.app.AppTest.xml | 60 +++++++++++++ .../com.mycompany.app.AppTest.txt | 4 + .../com/mycompany/app/AppTest.class | Bin 0 -> 481 bytes 13 files changed, 185 insertions(+) create mode 100644 pom.xml create mode 100644 src/main/java/com/mycompany/app/App.java create mode 100644 src/test/java/com/mycompany/app/AppTest.java create mode 100644 target/classes/com/mycompany/app/App.class create mode 100644 target/maven-archiver/pom.properties create mode 100644 target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst create mode 100644 target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst create mode 100644 target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst create mode 100644 target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst create mode 100644 target/my-app-1.0-SNAPSHOT.jar create mode 100644 target/surefire-reports/TEST-com.mycompany.app.AppTest.xml create mode 100644 target/surefire-reports/com.mycompany.app.AppTest.txt create mode 100644 target/test-classes/com/mycompany/app/AppTest.class diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..286bfec --- /dev/null +++ b/pom.xml @@ -0,0 +1,80 @@ + + + + 4.0.0 + + com.mycompany.app + PokemonMaven + 1.0-SNAPSHOT + + PokemonMaven + + http://www.example.com + + + UTF-8 + 11 + 11 + + + + + junit + junit + 4.11 + test + + + mysql + mysql-connector-java + 8.0.28 + + + + + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + maven-site-plugin + 3.7.1 + + + maven-project-info-reports-plugin + 3.0.0 + + + + + diff --git a/src/main/java/com/mycompany/app/App.java b/src/main/java/com/mycompany/app/App.java new file mode 100644 index 0000000..77cf3e0 --- /dev/null +++ b/src/main/java/com/mycompany/app/App.java @@ -0,0 +1,13 @@ +package com.mycompany.app; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/src/test/java/com/mycompany/app/AppTest.java b/src/test/java/com/mycompany/app/AppTest.java new file mode 100644 index 0000000..81ac345 --- /dev/null +++ b/src/test/java/com/mycompany/app/AppTest.java @@ -0,0 +1,20 @@ +package com.mycompany.app; + +import static org.junit.Assert.assertTrue; + +import org.junit.Test; + +/** + * Unit test for simple App. + */ +public class AppTest +{ + /** + * Rigorous Test :-) + */ + @Test + public void shouldAnswerWithTrue() + { + assertTrue( true ); + } +} diff --git a/target/classes/com/mycompany/app/App.class b/target/classes/com/mycompany/app/App.class new file mode 100644 index 0000000000000000000000000000000000000000..42e0b8351e0d5559b05c6e3478a4b8d926f91346 GIT binary patch literal 549 zcmZvZO-sW-5Qg9Fhxstt+S=A{TTiVAbL^oah#($<3YB{Bv~8EVCCP>~75cOEpy0tD z;Exh#Q=tgi!@JBoGtbU4-#?#U0J=D_kwe}|aG{X-G+g@_h0SPL@Nv|_7P^Z*L1#Yk)jd-|lc@(*qQN&QV zQe(kT@?KS%9@1oJf0As znvrI(`)VGK#I@A#n>5~;{x4dn(H8W{f$2SvHYjrGW^@-%Kfqqo^bV;`0|s_Uon-;` ruuqYN100g0o4YBDyf+w?jdzq*0KIe20!?aPK`b2Mn0$sNX%4Mlw>Wd~ literal 0 HcmV?d00001 diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties new file mode 100644 index 0000000..fca4a0e --- /dev/null +++ b/target/maven-archiver/pom.properties @@ -0,0 +1,4 @@ +#Created by Apache Maven 3.8.5 +groupId=com.mycompany.app +artifactId=my-app +version=1.0-SNAPSHOT diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..583f832 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1 @@ +com\mycompany\app\App.class diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..b158de0 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1 @@ +C:\Users\guill\Seafile\Ma bibliothèque\Sopra Steria\Formation AJC\Maven\my-app\src\main\java\com\mycompany\app\App.java diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000..934d05a --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst @@ -0,0 +1 @@ +com\mycompany\app\AppTest.class diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000..81dcbd8 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -0,0 +1 @@ +C:\Users\guill\Seafile\Ma bibliothèque\Sopra Steria\Formation AJC\Maven\my-app\src\test\java\com\mycompany\app\AppTest.java diff --git a/target/my-app-1.0-SNAPSHOT.jar b/target/my-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7SwvNb+n^|X^BR6?o+?sb^nfF0>(ED4Stj0dtPmNmcE(v1HyIX2w z&RYMr*>9axrnr0e66Kpw2d&m|3tnAjZF&2_TNSw--U+iU?4xeqthu?c{_Y|9j!kD5 z_aB+{e6jjhMVH=XK089W?(X==q1IbqG&w72vhS@F|CjwuRqwwr+P*q|xVCzWynEtw z{)U2G_P*7Q7p5+4(!3#k$Uu(ov8?q!9-e8Z|9dpmH(J^+V3d!SXx#g0M~pnfgOYlN zyzsxfe;hKO(*1J}_bFG4hHw7*HYE=^w|_amWG|1`$}@@K2kWYDaNIJN`2Vf$>if9Q z$F|n%z4@sQ%1Oxi1(B0Lg>&ttLn{-2IVc5)%}C5i1x5JyB*H9$vw8-41Pqomf+%=}gH%~VOaK-iIBHUe zegTHJj?W<_Y*2V_F(S&&m97NP3^)wB=*vgiSjiCWX(vkg@9LI6lF53sgE z)eEWB5O!m$i4pp3fcoLV1gn>EYgUBW%>c4I6H_zLEg1DQZsR~TH3Wc+TS1I*@Om3$ zDkLFbtGQw3E@^xRG!-+1;Pp6iio#aIAPnkf#t14*-$I=St#6PG$Cl|3hTmi(&2U5( V4DeSbWy20~$=6X&vncmRn8rWgPK literal 0 HcmV?d00001 diff --git a/target/surefire-reports/TEST-com.mycompany.app.AppTest.xml b/target/surefire-reports/TEST-com.mycompany.app.AppTest.xml new file mode 100644 index 0000000..5a72101 --- /dev/null +++ b/target/surefire-reports/TEST-com.mycompany.app.AppTest.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/com.mycompany.app.AppTest.txt b/target/surefire-reports/com.mycompany.app.AppTest.txt new file mode 100644 index 0000000..ed73f0b --- /dev/null +++ b/target/surefire-reports/com.mycompany.app.AppTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: com.mycompany.app.AppTest +------------------------------------------------------------------------------- +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 s - in com.mycompany.app.AppTest diff --git a/target/test-classes/com/mycompany/app/AppTest.class b/target/test-classes/com/mycompany/app/AppTest.class new file mode 100644 index 0000000000000000000000000000000000000000..826e2fd0b08b3775047290a0d4f8174d9277cb9d GIT binary patch literal 481 zcmZ`$%SyvQ6g|_XMq{+KK8q`NtqW)2!i6FP!BtSu62aXx9oi|$Ovpp&XSq^b_yK;D zcqc7%A!czVcg};8o9~~`F8~+ld1#>N!tv3<8bfC$UIb5sp78t8OvWX{+Lh9(yk=#{{-6#!By8a57dlg8h5!Hn literal 0 HcmV?d00001