|
| 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 | + <parent> |
| 7 | + <groupId>com.introproventures</groupId> |
| 8 | + <artifactId>graphql-jpa-query-tests</artifactId> |
| 9 | + <version>1.1.2-SNAPSHOT</version> |
| 10 | + <relativePath>../pom.xml</relativePath> |
| 11 | + </parent> |
| 12 | + |
| 13 | + <artifactId>graphql-jpa-query-tests-gatling</artifactId> |
| 14 | + |
| 15 | + <properties> |
| 16 | + <activiti-cloud.version>8.0.0</activiti-cloud.version> |
| 17 | + <gatling.version>3.9.5</gatling.version> |
| 18 | + <gatling-maven-plugin.version>4.6.0</gatling-maven-plugin.version> |
| 19 | + </properties> |
| 20 | + |
| 21 | + <dependencies> |
| 22 | + <dependency> |
| 23 | + <groupId>com.introproventures</groupId> |
| 24 | + <artifactId>graphql-jpa-query-boot-starter</artifactId> |
| 25 | + </dependency> |
| 26 | +<!-- <dependency>--> |
| 27 | +<!-- <groupId>com.introproventures</groupId>--> |
| 28 | +<!-- <artifactId>graphql-jpa-query-web</artifactId>--> |
| 29 | +<!-- </dependency>--> |
| 30 | + <dependency> |
| 31 | + <groupId>org.springframework.boot</groupId> |
| 32 | + <artifactId>spring-boot-starter-graphql</artifactId> |
| 33 | + </dependency> |
| 34 | + <dependency> |
| 35 | + <groupId>org.springframework.boot</groupId> |
| 36 | + <artifactId>spring-boot-starter-web</artifactId> |
| 37 | + </dependency> |
| 38 | + <dependency> |
| 39 | + <groupId>org.springframework.boot</groupId> |
| 40 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 41 | + </dependency> |
| 42 | + <dependency> |
| 43 | + <groupId>org.activiti.cloud</groupId> |
| 44 | + <artifactId>activiti-cloud-services-query-liquibase</artifactId> |
| 45 | + <version>${activiti-cloud.version}</version> |
| 46 | + </dependency> |
| 47 | + <dependency> |
| 48 | + <groupId>org.activiti.cloud</groupId> |
| 49 | + <artifactId>activiti-cloud-services-query-model</artifactId> |
| 50 | + <version>${activiti-cloud.version}</version> |
| 51 | + </dependency> |
| 52 | + <dependency> |
| 53 | + <groupId>org.postgresql</groupId> |
| 54 | + <artifactId>postgresql</artifactId> |
| 55 | + <scope>runtime</scope> |
| 56 | + </dependency> |
| 57 | + <dependency> |
| 58 | + <groupId>org.projectlombok</groupId> |
| 59 | + <artifactId>lombok</artifactId> |
| 60 | + <optional>true</optional> |
| 61 | + </dependency> |
| 62 | + <dependency> |
| 63 | + <groupId>io.gatling.highcharts</groupId> |
| 64 | + <artifactId>gatling-charts-highcharts</artifactId> |
| 65 | + <version>${gatling.version}</version> |
| 66 | + <scope>test</scope> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.springframework.boot</groupId> |
| 70 | + <artifactId>spring-boot-testcontainers</artifactId> |
| 71 | + <scope>test</scope> |
| 72 | + </dependency> |
| 73 | + <dependency> |
| 74 | + <groupId>org.testcontainers</groupId> |
| 75 | + <artifactId>junit-jupiter</artifactId> |
| 76 | + <scope>test</scope> |
| 77 | + </dependency> |
| 78 | + <dependency> |
| 79 | + <groupId>org.testcontainers</groupId> |
| 80 | + <artifactId>postgresql</artifactId> |
| 81 | + <scope>test</scope> |
| 82 | + </dependency> |
| 83 | + </dependencies> |
| 84 | + |
| 85 | + <build> |
| 86 | + <plugins> |
| 87 | + <plugin> |
| 88 | + <groupId>org.springframework.boot</groupId> |
| 89 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 90 | + <executions> |
| 91 | + <execution> |
| 92 | + <goals> |
| 93 | + <goal>repackage</goal> |
| 94 | + </goals> |
| 95 | + </execution> |
| 96 | + <execution> |
| 97 | + <id>pre-integration-test</id> |
| 98 | + <phase>pre-integration-test</phase> |
| 99 | + <goals> |
| 100 | + <goal>start</goal> |
| 101 | + </goals> |
| 102 | + <configuration> |
| 103 | + <skip>${skipTests}</skip> |
| 104 | + <mainClass>com.introproventures.graphql.jpa.query.example.TestApplication</mainClass> |
| 105 | + <useTestClasspath>true</useTestClasspath> |
| 106 | + <classesDirectory>${project.build.testOutputDirectory}${path.separator}${project.build.outputDirectory}</classesDirectory> |
| 107 | + <jvmArguments> |
| 108 | + -Xms512m |
| 109 | + -Xmx1024m |
| 110 | + </jvmArguments> |
| 111 | + </configuration> |
| 112 | + </execution> |
| 113 | + <execution> |
| 114 | + <id>post-integration-test</id> |
| 115 | + <phase>post-integration-test</phase> |
| 116 | + <configuration> |
| 117 | + <skip>${skipTests}</skip> |
| 118 | + </configuration> |
| 119 | + <goals> |
| 120 | + <goal>stop</goal> |
| 121 | + </goals> |
| 122 | + </execution> |
| 123 | + </executions> |
| 124 | + </plugin> |
| 125 | + <plugin> |
| 126 | + <groupId>io.gatling</groupId> |
| 127 | + <artifactId>gatling-maven-plugin</artifactId> |
| 128 | + <version>${gatling-maven-plugin.version}</version> |
| 129 | + <executions> |
| 130 | + <execution> |
| 131 | + <phase>integration-test</phase> |
| 132 | + <goals> |
| 133 | + <goal>test</goal> |
| 134 | + </goals> |
| 135 | + </execution> |
| 136 | + </executions> |
| 137 | + <configuration> |
| 138 | + <skip>${skipTests}</skip> |
| 139 | + <runMultipleSimulations>true</runMultipleSimulations> |
| 140 | + <jvmArgs> |
| 141 | + <arg>-XX:ActiveProcessorCount=2</arg> |
| 142 | + <arg>-Djava.net.preferIPv6Addresses=false</arg> |
| 143 | + </jvmArgs> |
| 144 | + <overrideJvmArgs>true</overrideJvmArgs> |
| 145 | + <!-- Enterprise Cloud (https://cloud.gatling.io/) configuration reference: https://gatling.io/docs/gatling/reference/current/extensions/maven_plugin/#working-with-gatling-enterprise-cloud --> |
| 146 | + <!-- Enterprise Self-Hosted configuration reference: https://gatling.io/docs/gatling/reference/current/extensions/maven_plugin/#working-with-gatling-enterprise-self-hosted --> |
| 147 | + </configuration> |
| 148 | + </plugin> |
| 149 | + </plugins> |
| 150 | + </build> |
| 151 | + |
| 152 | + <repositories> |
| 153 | + <repository> |
| 154 | + <id>activiti-releases</id> |
| 155 | + <url>https://artifacts.alfresco.com/nexus/content/repositories/activiti-releases</url> |
| 156 | + </repository> |
| 157 | + </repositories> |
| 158 | + |
| 159 | +</project> |
0 commit comments