54 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			54 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
|  | <?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> | ||
|  |     <artifactId>core-java-18</artifactId> | ||
|  |     <name>core-java-18</name> | ||
|  |     <packaging>jar</packaging> | ||
|  | 
 | ||
|  |     <parent> | ||
|  |         <groupId>com.baeldung</groupId> | ||
|  |         <artifactId>parent-modules</artifactId> | ||
|  |         <version>1.0.0-SNAPSHOT</version> | ||
|  |         <relativePath>../../</relativePath> | ||
|  |     </parent> | ||
|  | 
 | ||
|  |     <build> | ||
|  |         <plugins> | ||
|  |             <plugin> | ||
|  |                 <groupId>org.apache.maven.plugins</groupId> | ||
|  |                 <artifactId>maven-compiler-plugin</artifactId> | ||
|  |                 <configuration> | ||
|  |                     <release>${maven.compiler.release}</release> | ||
|  |                     <compilerArgs>--enable-preview</compilerArgs> | ||
|  |                     <source>${maven.compiler.source.version}</source> | ||
|  |                     <target>${maven.compiler.target.version}</target> | ||
|  |                 </configuration> | ||
|  |             </plugin> | ||
|  |             <plugin> | ||
|  |                 <groupId>org.apache.maven.plugins</groupId> | ||
|  |                 <artifactId>maven-surefire-plugin</artifactId> | ||
|  |                 <version>${surefire.plugin.version}</version> | ||
|  |                 <configuration> | ||
|  |                     <forkCount>1</forkCount> | ||
|  |                 </configuration> | ||
|  |                 <dependencies> | ||
|  |                     <dependency> | ||
|  |                         <groupId>org.apache.maven.surefire</groupId> | ||
|  |                         <artifactId>surefire-api</artifactId> | ||
|  |                         <version>${surefire.plugin.version}</version> | ||
|  |                     </dependency> | ||
|  |                 </dependencies> | ||
|  |             </plugin> | ||
|  |         </plugins> | ||
|  |     </build> | ||
|  | 
 | ||
|  |     <properties> | ||
|  |         <maven.compiler.source.version>18</maven.compiler.source.version> | ||
|  |         <maven.compiler.target.version>18</maven.compiler.target.version> | ||
|  |         <maven.compiler.release>18</maven.compiler.release> | ||
|  |         <surefire.plugin.version>3.0.0-M5</surefire.plugin.version> | ||
|  |     </properties> | ||
|  | 
 | ||
|  | </project> |