/ chariki-parent / pom.xml
pom.xml
  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <project xmlns="http://maven.apache.org/POM/4.0.0"
  3           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    <parent>
  8      <groupId>dev.mohterbaord</groupId>
  9      <artifactId>chariki-bom</artifactId>
 10      <version>0.1.0-SNAPSHOT</version>
 11    </parent>
 12  
 13    <artifactId>chariki-parent</artifactId>
 14    <packaging>pom</packaging>
 15  
 16    <modules>
 17      <module>chariki</module>
 18      <module>chariki-core</module>
 19    </modules>
 20  
 21    <properties>
 22      <version.commons-lang3>3.17.0</version.commons-lang3>
 23    </properties>
 24  
 25    <dependencyManagement>
 26      <dependencies>
 27  
 28        <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
 29        <dependency>
 30          <groupId>org.apache.commons</groupId>
 31          <artifactId>commons-lang3</artifactId>
 32          <version>${version.commons-lang3}</version>
 33        </dependency>
 34  
 35      </dependencies>
 36    </dependencyManagement>
 37  
 38    <dependencies>
 39  
 40      <dependency>
 41        <groupId>org.projectlombok</groupId>
 42        <artifactId>lombok</artifactId>
 43        <scope>provided</scope>
 44      </dependency>
 45  
 46      <dependency>
 47        <groupId>org.junit.jupiter</groupId>
 48        <artifactId>junit-jupiter-engine</artifactId>
 49        <scope>test</scope>
 50      </dependency>
 51  
 52    </dependencies>
 53  
 54    <build>
 55      <plugins>
 56  
 57        <plugin>
 58          <groupId>org.apache.maven.plugins</groupId>
 59          <artifactId>maven-compiler-plugin</artifactId>
 60          <configuration>
 61            <annotationProcessorPaths>
 62              <path>
 63                <groupId>org.projectlombok</groupId>
 64                <artifactId>lombok</artifactId>
 65                <version>${version.lombok}</version>
 66              </path>
 67            </annotationProcessorPaths>
 68          </configuration>
 69        </plugin>
 70  
 71        <plugin>
 72          <groupId>org.jacoco</groupId>
 73          <artifactId>jacoco-maven-plugin</artifactId>
 74          <executions>
 75            <execution>
 76              <id>jacoco-prepare-agent</id>
 77              <goals>
 78                <goal>prepare-agent</goal>
 79              </goals>
 80            </execution>
 81            <execution>
 82              <id>jacoco-report</id>
 83              <phase>prepare-package</phase>
 84              <goals>
 85                <goal>report</goal>
 86              </goals>
 87            </execution>
 88            <execution>
 89              <id>jacoco-check</id>
 90              <goals>
 91                <goal>check</goal>
 92              </goals>
 93              <configuration>
 94                <rules>
 95                  <rule>
 96                    <element>BUNDLE</element>
 97                    <limits>
 98                      <limit>
 99                        <counter>LINE</counter>
100                        <value>COVEREDRATIO</value>
101                        <minimum>100%</minimum>
102                      </limit>
103                    </limits>
104                  </rule>
105                </rules>
106              </configuration>
107            </execution>
108          </executions>
109        </plugin>
110  
111      </plugins>
112    </build>
113  
114  </project>