Skip to content
Snippets Groups Projects
Commit ec0d2184 authored by Colin DAMON's avatar Colin DAMON
Browse files

Init string calculator

parent e8c000ea
No related branches found
No related tags found
1 merge request!10Resolve "Init String calculator project"
...@@ -5,3 +5,4 @@ include: ...@@ -5,3 +5,4 @@ include:
- local: "/.gitlab-common-ci.yml" - local: "/.gitlab-common-ci.yml"
- local: "/wordWrap/.gitlab-ci.yml" - local: "/wordWrap/.gitlab-ci.yml"
- local: "/romanNumerals/.gitlab-ci.yml" - local: "/romanNumerals/.gitlab-ci.yml"
- local: "/stringCalculator/.gitlab-ci.yml"
stages:
- build
package-string-calculator:
extends: .java
stage: build
tags:
- docker
script:
- cd stringCalculator
- mvn $MAVEN_CLI_OPTS clean package
- cat target/site/jacoco/index.html
artifacts:
reports:
junit: stringCalculator/target/surefire-reports/TEST-*.xml
expire_in: 1 day
only:
refs:
- master
- merge_requests
changes:
- ".gitlab-ci.yml"
- ".gitlab-common-ci.yml"
- "stringCalculator/**/*"
<p align="center">
<a href="https://fr.ippon.tech/" target="_blank">
<img alt="Ippon Technologies Logo" width="100" src="https://fr.ippon.tech/assets/images/common/Logo.svg">
</a>
</p>
# Ippon Kata : String Calculator
<?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>
<version>1.0.0-SNAPSHOT</version>
<groupId>fr.ippon.kata</groupId>
<artifactId>string-calculator</artifactId>
<name>StringCalculator</name>
<properties>
<java.version>14</java.version>
<junit.version>5.7.0-M1</junit.version>
<assertj.version>3.16.1</assertj.version>
<mockito.version>3.1.0</mockito.version>
<surefire-plugin.version>3.0.0-M4</surefire-plugin.version>
<compiler-plugin.version>3.8.1</compiler-plugin.version>
<jacoco.version>0.8.5</jacoco.version>
</properties>
<developers>
<developer>
<email>cdamon@ippon.fr</email>
<name>Colin DAMON</name>
</developer>
<developer>
<email>mfillatre@ippon.fr</email>
<name>Marina FILLATRE</name>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment