1 <?xml version="1.0" encoding="UTF-8"?>
 2 <!--
 3 Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
 4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 5 
 6 This code is free software; you can redistribute it and/or modify it
 7 under the terms of the GNU General Public License version 2 only, as
 8 published by the Free Software Foundation.  Oracle designates this
 9 particular file as subject to the "Classpath" exception as provided
10 by Oracle in the LICENSE file that accompanied this code.
11 
12 This code is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 version 2 for more details (a copy is included in the LICENSE file that
16 accompanied this code).
17 
18 You should have received a copy of the GNU General Public License version
19 2 along with this work; if not, write to the Free Software Foundation,
20 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21 
22 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
23 or visit www.oracle.com if you need additional information or have any
24 questions.
25 -->
26 <project xmlns="http://maven.apache.org/POM/4.0.0"
27          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
29     <modelVersion>4.0.0</modelVersion>
30 
31     <groupId>oracle.code</groupId>
32     <artifactId>triton</artifactId>
33     <version>1.0-SNAPSHOT</version>
34 
35     <properties>
36         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37         <maven.compiler.source>23</maven.compiler.source>
38         <maven.compiler.target>23</maven.compiler.target>
39     </properties>
40 
41     <dependencies>
42         <dependency>
43             <groupId>org.junit.jupiter</groupId>
44             <artifactId>junit-jupiter-engine</artifactId>
45             <version>5.10.0</version>
46             <scope>test</scope>
47         </dependency>
48     </dependencies>
49 
50     <build>
51         <pluginManagement>
52             <plugins>
53                 <plugin>
54                     <groupId>org.apache.maven.plugins</groupId>
55                     <artifactId>maven-surefire-plugin</artifactId>
56                     <version>3.1.2</version>
57                     <configuration>
58                         <argLine>--enable-preview
59                         </argLine>
60                     </configuration>
61                 </plugin>
62             </plugins>
63         </pluginManagement>
64         <plugins>
65             <plugin>
66                 <groupId>org.apache.maven.plugins</groupId>
67                 <artifactId>maven-compiler-plugin</artifactId>
68                 <version>3.11.0</version>
69                 <configuration>
70                     <compilerArgs>
71                         <arg>--enable-preview</arg>
72                     </compilerArgs>
73                     <source>${maven.compiler.source}</source>
74                     <target>${maven.compiler.target}</target>
75                     <showDeprecation>true</showDeprecation>
76                     <failOnError>true</failOnError>
77                     <showWarnings>true</showWarnings>
78                     <showDeprecation>true</showDeprecation>
79                 </configuration>
80             </plugin>
81         </plugins>
82     </build>
83 </project>