115 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			115 lines
		
	
	
		
			4.0 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> | ||
|  |   <groupId>com.organization</groupId> | ||
|  |   <artifactId>gatling-sample-framework</artifactId> | ||
|  |   <version>1.0-SNAPSHOT</version> | ||
|  | 
 | ||
|  |   <properties> | ||
|  |     <maven.compiler.source>1.8</maven.compiler.source> | ||
|  |     <maven.compiler.target>1.8</maven.compiler.target> | ||
|  |     <encoding>UTF-8</encoding> | ||
|  | 
 | ||
|  |     <!-- minimum SCALA version --> | ||
|  |     <scala.version>3.5.1</scala.version> | ||
|  |     <scala-maven-plugin.version>4.9.2</scala-maven-plugin.version> | ||
|  | 
 | ||
|  |     <!-- minimum GATLING version --> | ||
|  |     <gatling.version>3.6.1</gatling.version> | ||
|  |     <gatling-maven-plugin.version>4.10.0</gatling-maven-plugin.version> | ||
|  | 
 | ||
|  |     <!-- provides simulation classname on command line, for gatling --> | ||
|  |     <className></className> | ||
|  | 
 | ||
|  |   </properties> | ||
|  | 
 | ||
|  |   <dependencies> | ||
|  |     <!-- https://mvnrepository.com/artifact/org.scala-lang/scala3-library --> | ||
|  |     <dependency> | ||
|  |       <groupId>org.scala-lang</groupId> | ||
|  |       <artifactId>scala3-library_3</artifactId> | ||
|  |       <version>${scala.version}</version> | ||
|  |     </dependency> | ||
|  |     <!-- https://mvnrepository.com/artifact/org.scala-lang/scala3-compiler --> | ||
|  |     <dependency> | ||
|  |       <groupId>org.scala-lang</groupId> | ||
|  |       <artifactId>scala3-compiler_3</artifactId> | ||
|  |       <version>${scala.version}</version> | ||
|  |     </dependency> | ||
|  |     <!-- https://mvnrepository.com/artifact/org.scala-lang/scala3-sbt-bridge --> | ||
|  |     <dependency> | ||
|  |       <groupId>org.scala-lang</groupId> | ||
|  |       <artifactId>scala3-sbt-bridge</artifactId> | ||
|  |       <version>3.5.1</version> | ||
|  |     </dependency> | ||
|  |     <!-- https://mvnrepository.com/artifact/net.alchim31.maven/scala-maven-plugin --> | ||
|  |     <dependency> | ||
|  |       <groupId>net.alchim31.maven</groupId> | ||
|  |       <artifactId>scala-maven-plugin</artifactId> | ||
|  |       <version>${scala-maven-plugin.version}</version> | ||
|  |     </dependency> | ||
|  | 
 | ||
|  |     <dependency> | ||
|  |       <groupId>io.gatling.highcharts</groupId> | ||
|  |       <artifactId>gatling-charts-highcharts</artifactId> | ||
|  |       <version>${gatling.version}</version> | ||
|  |     </dependency> | ||
|  |     <dependency> | ||
|  |       <groupId>io.gatling</groupId> | ||
|  |       <artifactId>gatling-app</artifactId> | ||
|  |       <version>${gatling.version}</version> | ||
|  |     </dependency> | ||
|  |     <dependency> | ||
|  |       <groupId>io.gatling</groupId> | ||
|  |       <artifactId>gatling-recorder</artifactId> | ||
|  |       <version>${gatling.version}</version> | ||
|  |     </dependency> | ||
|  |   </dependencies> | ||
|  | 
 | ||
|  |   <build> | ||
|  |     <testSourceDirectory>src/test/scala</testSourceDirectory> | ||
|  |     <pluginManagement> | ||
|  |       <plugins> | ||
|  |         <plugin> | ||
|  |           <groupId>net.alchim31.maven</groupId> | ||
|  |           <artifactId>scala-maven-plugin</artifactId> | ||
|  |           <version>${scala-maven-plugin.version}</version> | ||
|  |         </plugin> | ||
|  |       </plugins> | ||
|  |     </pluginManagement> | ||
|  |     <plugins> | ||
|  |       <plugin> | ||
|  |         <!-- https://mvnrepository.com/artifact/net.alchim31.maven/scala-maven-plugin --> | ||
|  |           <groupId>net.alchim31.maven</groupId> | ||
|  |           <artifactId>scala-maven-plugin</artifactId> | ||
|  |           <version>${scala-maven-plugin.version}</version> | ||
|  |         <executions> | ||
|  |           <execution> | ||
|  |             <goals> | ||
|  |               <goal>testCompile</goal> | ||
|  |             </goals> | ||
|  |             <configuration> | ||
|  |               <args> | ||
|  |                 <arg>-deprecation</arg> | ||
|  |                 <arg>-feature</arg> | ||
|  |                 <arg>-unchecked</arg> | ||
|  |                 <arg>-language:implicitConversions</arg> | ||
|  |                 <arg>-language:postfixOps</arg> | ||
|  |               </args> | ||
|  |             </configuration> | ||
|  |           </execution> | ||
|  |         </executions> | ||
|  |       </plugin> | ||
|  |       <plugin> | ||
|  |         <groupId>io.gatling</groupId> | ||
|  |         <artifactId>gatling-maven-plugin</artifactId> | ||
|  |         <version>${gatling-maven-plugin.version}</version> | ||
|  |         <configuration> | ||
|  |           <simulationClass>${className}</simulationClass> | ||
|  |         </configuration> | ||
|  |       </plugin> | ||
|  |     </plugins> | ||
|  |   </build> | ||
|  | </project> |