first commit
commit
0d012ac872
@ -0,0 +1,80 @@
|
|||||||
|
<?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>com.mycompany.app</groupId>
|
||||||
|
<artifactId>PokemonMaven</artifactId>
|
||||||
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
|
||||||
|
<name>PokemonMaven</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>11</maven.compiler.source>
|
||||||
|
<maven.compiler.target>11</maven.compiler.target>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>4.11</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>mysql</groupId>
|
||||||
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
|
<version>8.0.28</version>
|
||||||
|
</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>
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.mycompany.app;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Hello world!
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class App
|
||||||
|
{
|
||||||
|
public static void main( String[] args )
|
||||||
|
{
|
||||||
|
System.out.println( "Hello World!" );
|
||||||
|
}
|
||||||
|
}
|
@ -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 );
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,4 @@
|
|||||||
|
#Created by Apache Maven 3.8.5
|
||||||
|
groupId=com.mycompany.app
|
||||||
|
artifactId=my-app
|
||||||
|
version=1.0-SNAPSHOT
|
@ -0,0 +1 @@
|
|||||||
|
com\mycompany\app\App.class
|
@ -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
|
@ -0,0 +1 @@
|
|||||||
|
com\mycompany\app\AppTest.class
|
@ -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
|
Binary file not shown.
@ -0,0 +1,60 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="com.mycompany.app.AppTest" time="0.049" tests="1" errors="0" skipped="0" failures="0">
|
||||||
|
<properties>
|
||||||
|
<property name="java.specification.version" value="17"/>
|
||||||
|
<property name="sun.cpu.isalist" value="amd64"/>
|
||||||
|
<property name="sun.jnu.encoding" value="Cp1252"/>
|
||||||
|
<property name="java.class.path" value="C:\Users\guill\Seafile\Ma bibliothèque\Sopra Steria\Formation AJC\Maven\my-app\target\test-classes;C:\Users\guill\Seafile\Ma bibliothèque\Sopra Steria\Formation AJC\Maven\my-app\target\classes;C:\Users\guill\.m2\repository\junit\junit\4.11\junit-4.11.jar;C:\Users\guill\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;"/>
|
||||||
|
<property name="java.vm.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="sun.arch.data.model" value="64"/>
|
||||||
|
<property name="user.variant" value=""/>
|
||||||
|
<property name="java.vendor.url" value="https://java.oracle.com/"/>
|
||||||
|
<property name="user.timezone" value="Europe/Paris"/>
|
||||||
|
<property name="os.name" value="Windows 11"/>
|
||||||
|
<property name="java.vm.specification.version" value="17"/>
|
||||||
|
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
||||||
|
<property name="user.country" value="FR"/>
|
||||||
|
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk-17.0.2\bin"/>
|
||||||
|
<property name="sun.java.command" value="C:\Users\guill\AppData\Local\Temp\surefire12079323292915906365\surefirebooter12364901591172597368.jar C:\Users\guill\AppData\Local\Temp\surefire12079323292915906365 2022-04-19T11-58-10_419-jvmRun1 surefire13329098609247568490tmp surefire_012220773581705683670tmp"/>
|
||||||
|
<property name="jdk.debug" value="release"/>
|
||||||
|
<property name="surefire.test.class.path" value="C:\Users\guill\Seafile\Ma bibliothèque\Sopra Steria\Formation AJC\Maven\my-app\target\test-classes;C:\Users\guill\Seafile\Ma bibliothèque\Sopra Steria\Formation AJC\Maven\my-app\target\classes;C:\Users\guill\.m2\repository\junit\junit\4.11\junit-4.11.jar;C:\Users\guill\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;"/>
|
||||||
|
<property name="sun.cpu.endian" value="little"/>
|
||||||
|
<property name="user.home" value="C:\Users\guill"/>
|
||||||
|
<property name="user.language" value="fr"/>
|
||||||
|
<property name="java.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.version.date" value="2022-01-18"/>
|
||||||
|
<property name="java.home" value="C:\Program Files\Java\jdk-17.0.2"/>
|
||||||
|
<property name="file.separator" value="\"/>
|
||||||
|
<property name="basedir" value="C:\Users\guill\Seafile\Ma bibliothèque\Sopra Steria\Formation AJC\Maven\my-app"/>
|
||||||
|
<property name="java.vm.compressedOopsMode" value="Zero based"/>
|
||||||
|
<property name="line.separator" value=" "/>
|
||||||
|
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.specification.name" value="Java Platform API Specification"/>
|
||||||
|
<property name="surefire.real.class.path" value="C:\Users\guill\AppData\Local\Temp\surefire12079323292915906365\surefirebooter12364901591172597368.jar"/>
|
||||||
|
<property name="user.script" value=""/>
|
||||||
|
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
||||||
|
<property name="java.runtime.version" value="17.0.2+8-LTS-86"/>
|
||||||
|
<property name="user.name" value="guill"/>
|
||||||
|
<property name="path.separator" value=";"/>
|
||||||
|
<property name="os.version" value="10.0"/>
|
||||||
|
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
|
||||||
|
<property name="file.encoding" value="Cp1252"/>
|
||||||
|
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
|
||||||
|
<property name="localRepository" value="C:\Users\guill\.m2\repository"/>
|
||||||
|
<property name="java.vendor.url.bug" value="https://bugreport.java.com/bugreport/"/>
|
||||||
|
<property name="java.io.tmpdir" value="C:\Users\guill\AppData\Local\Temp\"/>
|
||||||
|
<property name="java.version" value="17.0.2"/>
|
||||||
|
<property name="user.dir" value="C:\Users\guill\Seafile\Ma bibliothèque\Sopra Steria\Formation AJC\Maven\my-app"/>
|
||||||
|
<property name="os.arch" value="amd64"/>
|
||||||
|
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
|
||||||
|
<property name="sun.os.patch.level" value=""/>
|
||||||
|
<property name="native.encoding" value="Cp1252"/>
|
||||||
|
<property name="java.library.path" value="C:\Program Files\Java\jdk-17.0.2\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\guill\AppData\Local\Microsoft\WindowsApps;C:\Users\guill\AppData\Local\atom\bin;C:\Users\guill\Seafile\Ma bibliothèque\Sopra Steria\Formation AJC\Maven\apache-maven-3.8.5\bin;;."/>
|
||||||
|
<property name="java.vm.info" value="mixed mode, sharing"/>
|
||||||
|
<property name="java.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.vm.version" value="17.0.2+8-LTS-86"/>
|
||||||
|
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
||||||
|
<property name="java.class.version" value="61.0"/>
|
||||||
|
</properties>
|
||||||
|
<testcase name="shouldAnswerWithTrue" classname="com.mycompany.app.AppTest" time="0.002"/>
|
||||||
|
</testsuite>
|
@ -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
|
Binary file not shown.
Loading…
Reference in New Issue