diff --git a/java-parent/pom.xml b/java-parent/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..1d7bbf3058486fbdd355ff8c7b790fb8f46afa2c --- /dev/null +++ b/java-parent/pom.xml @@ -0,0 +1,85 @@ +<?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</version> + <groupId>fr.ippon.kata</groupId> + <artifactId>java-parent</artifactId> + <packaging>pom</packaging> + + <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> + + <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> diff --git a/romanNumerals/pom.xml b/romanNumerals/pom.xml index d3766ae1feb69932ddd0ad91f6d9a0ce58d53b72..cc2e2680debdadbe4c7118d981e2fe267b221758 100644 --- a/romanNumerals/pom.xml +++ b/romanNumerals/pom.xml @@ -4,95 +4,15 @@ 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> + <parent> + <version>1.0.0</version> + <groupId>fr.ippon.kata</groupId> + <artifactId>java-parent</artifactId> + <relativePath>../java-parent</relativePath> + </parent> + <version>1.0.0-SNAPSHOT</version> - <groupId>fr.ippon.kata</groupId> <artifactId>roman-numerals</artifactId> <name>RomanNumerals</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>jconte@ippon.fr</email> - <name>Julie CONTE</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> diff --git a/stringCalculator/pom.xml b/stringCalculator/pom.xml index 4c1471bf84fc019f14d53e535500834f13c8959b..a8d8a66a01aa2e93d27f689f4b74267ba028a6a5 100644 --- a/stringCalculator/pom.xml +++ b/stringCalculator/pom.xml @@ -4,95 +4,15 @@ 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> + <parent> + <version>1.0.0</version> + <groupId>fr.ippon.kata</groupId> + <artifactId>java-parent</artifactId> + <relativePath>../java-parent</relativePath> + </parent> + <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> diff --git a/wordWrap/pom.xml b/wordWrap/pom.xml index d3034cd89e00db3bbd077eafb0d12cc446696f75..c246573888466574873e82077fa9de4b8a9f3106 100644 --- a/wordWrap/pom.xml +++ b/wordWrap/pom.xml @@ -4,90 +4,15 @@ 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> + <parent> + <version>1.0.0</version> + <groupId>fr.ippon.kata</groupId> + <artifactId>java-parent</artifactId> + <relativePath>../java-parent</relativePath> + </parent> + <version>1.0.0-SNAPSHOT</version> - <groupId>fr.ippon.kata</groupId> <artifactId>word-wrap</artifactId> <name>WordWrap</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> - </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> \ No newline at end of file