Skip to content

Commit 36ea08e

Browse files
committed
🎉 First commit
1 parent 92d28a9 commit 36ea08e

3 files changed

Lines changed: 285 additions & 0 deletions

File tree

pom.xml

Lines changed: 252 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,252 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.github.devlab-umontp</groupId>
8+
<artifactId>logement-crous</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
<packaging>jar</packaging>
11+
12+
<name>Logement CROUS</name>
13+
<description>Package Java permettant de récupérer les logements CROUS disponible en France.</description>
14+
<!-- <url>https://github.com/DevLab-umontp/</url> -->
15+
16+
<properties>
17+
<!-- base -->
18+
<project.java.version>14</project.java.version>
19+
<junit.jupiter.version>5.4.0-M1</junit.jupiter.version>
20+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
22+
23+
</properties>
24+
25+
<dependencies>
26+
<dependency>
27+
<groupId>org.junit.jupiter</groupId>
28+
<artifactId>junit-jupiter-api</artifactId>
29+
<version>${junit.jupiter.version}</version>
30+
<scope>test</scope>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.junit.jupiter</groupId>
34+
<artifactId>junit-jupiter-engine</artifactId>
35+
<version>${junit.jupiter.version}</version>
36+
<scope>test</scope>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.junit.jupiter</groupId>
40+
<artifactId>junit-jupiter-params</artifactId>
41+
<version>${junit.jupiter.version}</version>
42+
<scope>test</scope>
43+
</dependency>
44+
<dependency>
45+
<groupId>org.mnode.ical4j</groupId>
46+
<artifactId>ical4j</artifactId>
47+
<version>1.0.2</version>
48+
</dependency>
49+
</dependencies>
50+
51+
<licenses>
52+
<license>
53+
<name>Apache Software License, Version 2.0</name>
54+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
55+
</license>
56+
</licenses>
57+
58+
<developers>
59+
<developer>
60+
<name>Mathieu SOYSAL</name>
61+
<email>Mathieu.Soysal@outlook.fr</email>
62+
<url>https://MathieuSoysal.me/</url>
63+
<organization>com.github.devlab-umontp</organization>
64+
<organizationUrl>https://github.com/DevLab-umontp</organizationUrl>
65+
</developer>
66+
</developers>
67+
68+
<issueManagement>
69+
<system>github</system>
70+
<url>https://github.com/DevLab-umontp/Librarie-Java-Logement-CROUS/issues</url>
71+
</issueManagement>
72+
73+
<scm>
74+
<connection>scm:git:git://github.com/DevLab-umontp/Librairie-Java-Logement-CROUS.git</connection>
75+
<developerConnection>scm:git:ssh://github.com:DevLab-umontp/Librairie-Java-Logement-CROUS.git</developerConnection>
76+
<url>http://github.com/DevLab-umontp/Librairie-Java-Logement-CROUS</url>
77+
</scm>
78+
79+
80+
<profiles>
81+
82+
<!-- Porfil : Maven Centrale -->
83+
<profile>
84+
<id>ossrhDeploy</id>
85+
86+
<distributionManagement>
87+
<snapshotRepository>
88+
<id>ossrh</id>
89+
<name>Central Repository OSSRH</name>
90+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
91+
</snapshotRepository>
92+
<repository>
93+
<id>ossrh</id>
94+
<name>Central Repository OSSRH</name>
95+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
96+
</repository>
97+
</distributionManagement>
98+
99+
<build>
100+
<plugins>
101+
102+
<plugin>
103+
<groupId>org.sonatype.plugins</groupId>
104+
<artifactId>nexus-staging-maven-plugin</artifactId>
105+
<version>1.6.8</version>
106+
<extensions>true</extensions>
107+
<configuration>
108+
<serverId>ossrh</serverId>
109+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
110+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
111+
</configuration>
112+
</plugin>
113+
114+
<plugin>
115+
<groupId>org.apache.maven.plugins</groupId>
116+
<artifactId>maven-source-plugin</artifactId>
117+
<version>3.2.1</version>
118+
<executions>
119+
<execution>
120+
<id>attach-sources</id>
121+
<goals>
122+
<goal>jar-no-fork</goal>
123+
</goals>
124+
</execution>
125+
</executions>
126+
</plugin>
127+
128+
<plugin>
129+
<groupId>org.apache.maven.plugins</groupId>
130+
<artifactId>maven-javadoc-plugin</artifactId>
131+
<version>3.0.1</version>
132+
<executions>
133+
<execution>
134+
<id>attach-javadocs</id>
135+
<goals>
136+
<goal>jar</goal>
137+
</goals>
138+
</execution>
139+
</executions>
140+
</plugin>
141+
142+
<plugin>
143+
<groupId>org.apache.maven.plugins</groupId>
144+
<artifactId>maven-gpg-plugin</artifactId>
145+
<version>1.6</version>
146+
<executions>
147+
<execution>
148+
<id>sign-artifacts</id>
149+
<phase>verify</phase>
150+
<goals>
151+
<goal>sign</goal>
152+
</goals>
153+
<configuration>
154+
<gpgArguments>
155+
<arg>--pinentry-mode</arg>
156+
<arg>loopback</arg>
157+
</gpgArguments>
158+
</configuration>
159+
</execution>
160+
</executions>
161+
</plugin>
162+
163+
</plugins>
164+
</build>
165+
</profile>
166+
167+
<!-- Profil : Github Apache Maven Packages -->
168+
<profile>
169+
<id>githubDeploy</id>
170+
<distributionManagement>
171+
<repository>
172+
<id>github</id>
173+
<name>GitHub DevLab-umontp Apache Maven Packages</name>
174+
<url>https://maven.pkg.github.com/DevLab-umontp/Librarie-Java-EDT</url>
175+
</repository>
176+
</distributionManagement>
177+
</profile>
178+
</profiles>
179+
180+
<build>
181+
<plugins>
182+
183+
<plugin>
184+
<groupId>org.apache.maven.plugins</groupId>
185+
<artifactId>maven-surefire-plugin</artifactId>
186+
<version>3.0.0-M5</version>
187+
</plugin>
188+
189+
<plugin>
190+
<groupId>org.apache.maven.plugins</groupId>
191+
<artifactId>maven-failsafe-plugin</artifactId>
192+
<version>3.0.0-M5</version>
193+
</plugin>
194+
195+
<plugin>
196+
<groupId>org.apache.maven.plugins</groupId>
197+
<artifactId>maven-compiler-plugin</artifactId>
198+
<version>3.8.1</version>
199+
<configuration>
200+
<source>${project.java.version}</source>
201+
<target>${project.java.version}</target>
202+
<encoding>${project.build.sourceEncoding}</encoding>
203+
</configuration>
204+
</plugin>
205+
206+
<plugin>
207+
<groupId>org.jacoco</groupId>
208+
<artifactId>jacoco-maven-plugin</artifactId>
209+
<version>0.8.6</version>
210+
<executions>
211+
<execution>
212+
<id>prepare-agent</id>
213+
<goals>
214+
<goal>prepare-agent</goal>
215+
</goals>
216+
</execution>
217+
<execution>
218+
<id>report</id>
219+
<phase>test</phase>
220+
<goals>
221+
<goal>report</goal>
222+
</goals>
223+
</execution>
224+
</executions>
225+
</plugin>
226+
227+
<plugin>
228+
<groupId>org.pitest</groupId>
229+
<artifactId>pitest-maven</artifactId>
230+
<version>1.6.2</version>
231+
<dependencies>
232+
<dependency>
233+
<groupId>org.pitest</groupId>
234+
<artifactId>pitest-junit5-plugin</artifactId>
235+
<version>0.12</version>
236+
</dependency>
237+
<dependency>
238+
<groupId>io.github.wmaarts</groupId>
239+
<artifactId>pitest-mutation-testing-elements-plugin</artifactId>
240+
<version>0.3.1</version>
241+
</dependency>
242+
</dependencies>
243+
<configuration>
244+
<outputFormats>
245+
<format>HTML2</format>
246+
</outputFormats>
247+
</configuration>
248+
</plugin>
249+
250+
</plugins>
251+
</build>
252+
</project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package fr.crous.logement;
2+
3+
/**
4+
* Hello world!
5+
*
6+
*/
7+
public class App
8+
{
9+
public static void main( String[] args )
10+
{
11+
System.out.println( "Hello World!" );
12+
}
13+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package fr.crous.logement;
2+
3+
import static org.junit.jupiter.api.Assertions.assertTrue;
4+
5+
import org.junit.jupiter.api.Test;
6+
7+
/**
8+
* Unit test for simple App.
9+
*/
10+
class AppTest
11+
{
12+
/**
13+
* Rigorous Test :-)
14+
*/
15+
@Test
16+
void shouldAnswerWithTrue()
17+
{
18+
assertTrue( true );
19+
}
20+
}

0 commit comments

Comments
 (0)