simplify test
[reguloj.git] / pom.xml
blob15686dbe805abadd0e3a3bfc3e638b0764b4dd93
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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/maven-v4_0_0.xsd">
3   <modelVersion>4.0.0</modelVersion>
5   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
6   <!--                                  PARENT                                 -->
7   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
8   <parent>
9     <groupId>wtf.metio.maven.parents</groupId>
10     <artifactId>maven-parents-java-prototype</artifactId>
11     <version>2020.7.17-11732</version>
12   </parent>
14   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
15   <!--                               INFORMATIONS                              -->
16   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
17   <groupId>wtf.metio.reguloj</groupId>
18   <artifactId>reguloj</artifactId>
19   <version>9999.99.99-SNAPSHOT</version>
20   <packaging>jar</packaging>
22   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
23   <!--                               INFORMATIONS                              -->
24   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
25   <!-- https://maven.apache.org/pom.html#More_Project_Information -->
26   <inceptionYear>2010</inceptionYear>
27   <name>reguloj</name>
28   <description>Lightweight business rule engine</description>
29   <url>https://reguloj.projects.metio.wtf/</url>
31   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
32   <!--                                  SOURCE                                 -->
33   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
34   <scm>
35     <connection>scm:git:git@github.com:metio/reguloj.git</connection>
36     <developerConnection>scm:git:git@github.com:metio/reguloj.git</developerConnection>
37     <tag>HEAD</tag>
38     <url>https://github.com/metio/reguloj</url>
39   </scm>
41   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
42   <!--                                PROPERTIES                               -->
43   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
44   <properties>
45     <version.jdk>15</version.jdk>
46     <project.build.outputTimestamp>${project.inceptionYear}</project.build.outputTimestamp>
47   </properties>
49   <repositories>
50     <repository>
51       <id>maven-build-process</id>
52       <name>GitHub maven-build-process Apache Maven Packages</name>
53       <url>https://maven.pkg.github.com/metio/maven-build-process</url>
54       <releases>
55         <enabled>true</enabled>
56       </releases>
57       <snapshots>
58         <enabled>false</enabled>
59       </snapshots>
60     </repository>
61   </repositories>
63   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
64   <!--                          DISTRIBUTION MANAGEMENT                        -->
65   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
66   <!-- https://maven.apache.org/pom.html#Distribution_Management -->
67   <distributionManagement>
68     <site>
69       <id>metio</id>
70       <name>official website</name>
71       <url>https://reguloj.projects.metio.wtf</url>
72     </site>
73     <repository>
74       <id>github</id>
75       <name>GitHub reguloj Apache Maven Packages</name>
76       <url>https://maven.pkg.github.com/metio/reguloj</url>
77     </repository>
78   </distributionManagement>
80   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
81   <!--                               DEPENDENCIES                              -->
82   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
83   <dependencies>
84     <dependency>
85       <groupId>org.mockito</groupId>
86       <artifactId>mockito-core</artifactId>
87       <scope>test</scope>
88     </dependency>
89   </dependencies>
91   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
92   <!--                                   BUILD                                 -->
93   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
94   <build>
95     <plugins>
96       <plugin>
97         <groupId>org.apache.maven.plugins</groupId>
98         <artifactId>maven-compiler-plugin</artifactId>
99         <configuration>
100           <compilerArgs>--enable-preview</compilerArgs>
101         </configuration>
102       </plugin>
103       <plugin>
104         <artifactId>maven-surefire-plugin</artifactId>
105         <version>3.0.0-M5</version>
106         <configuration>
107           <argLine>
108             --enable-preview
109             --add-opens wtf.metio.reguloj/wtf.metio.reguloj=ALL-UNNAMED
110             --add-opens wtf.metio.reguloj/wtf.metio.reguloj.shoppingcart=ALL-UNNAMED
111           </argLine>
112         </configuration>
113       </plugin>
114     </plugins>
115   </build>
117 </project>