From 28628d90ffc529eeeb5561bd119e61c2f8a2c70b Mon Sep 17 00:00:00 2001
From: corentinstd <corentinstd@gmail.com>
Date: Tue, 16 Jan 2024 16:23:34 +0100
Subject: [PATCH] init project

---
 pom.xml                                    |  75 +++++++++++++++++++++
 src/main/java/fr/miage/App.java            |  13 ++++
 src/test/java/fr/miage/AppTest.java        |  20 ++++++
 target/classes/fr/miage/App.class          | Bin 0 -> 531 bytes
 target/test-classes/fr/miage/AppTest.class | Bin 0 -> 463 bytes
 5 files changed, 108 insertions(+)
 create mode 100644 pom.xml
 create mode 100644 src/main/java/fr/miage/App.java
 create mode 100644 src/test/java/fr/miage/AppTest.java
 create mode 100644 target/classes/fr/miage/App.class
 create mode 100644 target/test-classes/fr/miage/AppTest.class

diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..6da0442
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>fr.miage</groupId>
+  <artifactId>blockchain-project</artifactId>
+  <version>1.0-SNAPSHOT</version>
+
+  <name>blockchain-project</name>
+  <!-- FIXME change it to the project's website -->
+  <url>http://www.example.com</url>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <maven.compiler.source>1.7</maven.compiler.source>
+    <maven.compiler.target>1.7</maven.compiler.target>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.11</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
+      <plugins>
+        <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
+        <plugin>
+          <artifactId>maven-clean-plugin</artifactId>
+          <version>3.1.0</version>
+        </plugin>
+        <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
+        <plugin>
+          <artifactId>maven-resources-plugin</artifactId>
+          <version>3.0.2</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>3.8.0</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>2.22.1</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>3.0.2</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-install-plugin</artifactId>
+          <version>2.5.2</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-deploy-plugin</artifactId>
+          <version>2.8.2</version>
+        </plugin>
+        <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
+        <plugin>
+          <artifactId>maven-site-plugin</artifactId>
+          <version>3.7.1</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-project-info-reports-plugin</artifactId>
+          <version>3.0.0</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+</project>
diff --git a/src/main/java/fr/miage/App.java b/src/main/java/fr/miage/App.java
new file mode 100644
index 0000000..71b6b24
--- /dev/null
+++ b/src/main/java/fr/miage/App.java
@@ -0,0 +1,13 @@
+package fr.miage;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}
diff --git a/src/test/java/fr/miage/AppTest.java b/src/test/java/fr/miage/AppTest.java
new file mode 100644
index 0000000..6ff586d
--- /dev/null
+++ b/src/test/java/fr/miage/AppTest.java
@@ -0,0 +1,20 @@
+package fr.miage;
+
+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/fr/miage/App.class b/target/classes/fr/miage/App.class
new file mode 100644
index 0000000000000000000000000000000000000000..590fae5a7d88a5a1ddb1719c1837385078f18b69
GIT binary patch
literal 531
zcmX^0Z`VEs1_omWC3XfTMh2d=BK_RV#Pn2s$ASWO1{OvJfvm)`ME#t^ymWp4q^#8B
z5=I6#o6Nk-5<5l)W)00SMg|t={FGEK24)6M9tKthHbw@1pUk{eztY^K)S{5Yq?}Yn
z1|gsP<iwn?#G*_PA1cUFl95@=$iU}=Y^OCN150jVW*#Ghm`1b@!tUUbqRhN>Yt1lD
z20;d4b_O97mjzcAm!#(MFo-aSGBPmdmzFRxh(a`H=IaL(W#*LxmlUNY=2~+wh%++q
zc%<g!<ST^d7v-cVaxq9UNV79YF)|2)Z9~<-!yv;T%gDf905T&dkC8!C17a>XK;VvI
zWMD}wN-t()5XRzWMh33n{L-T2RJTk}Sa3KN6zGAhVo+pYWMF0h0VW1UP|z_jGO#l+
zFz7QdGB7eQFtBQEXW-b#z`(%7z{SA8zy=m%XW(XFVBi6>Ss8d3co`TNI2rgD_@SE3
w89;_HFmP^S5D*gE#vp+(fQx~Nfq{XWfrEhu$q-HkIR<$K1_nk31+Z0$032g%O#lD@

literal 0
HcmV?d00001

diff --git a/target/test-classes/fr/miage/AppTest.class b/target/test-classes/fr/miage/AppTest.class
new file mode 100644
index 0000000000000000000000000000000000000000..5a788f38de47402150543192dd5945e810be5b7b
GIT binary patch
literal 463
zcmX^0Z`VEs1_omWNp=P%Mh1bjBK_RV#Pn2s$AW^8)Z!9$1{OvJfvm)`ME#t^ymWp4
zq^#8B5=I6#o6Nk-5<5l)W)00SMg|t={FGEK24)6M9tKthHbw@1pUk{eztY^K)S{5Y
zq?}Yn1|gsP<iwn?#G*_PA1cUFl95>ql0&!Gnvp@II3vF_C&e+ZxIDEeJhLPtq^LBN
zkwG%3G_NExH#ID?I5R0H)iEzGza+6FGe57GkwL&GzbIWlt28gOL?7gOYc2*M1`&1!
zVMYc4gp6ZxacWTs4}&O!7$XB$BA5p;n?)lE<QuNw{L-T2RJTl!yLq4?p$7^C21N!&
z24)5jU}9hdd6j{Yft`VYL7#z<fsuiMfmLfe1II=N1_mYuE(Qh$Hn1QU12+Q$0}q(Z
z%D}_G%fP_E$iT<I#=ykD4^<_=zyLPL7-kU54hBJlL0k+>3=9lH3@i-7SPc^gTPXnm
DPh(r}

literal 0
HcmV?d00001

-- 
GitLab