|
22 | 22 | <skipCDI>${skipTests}</skipCDI>
|
23 | 23 | <skipJSF>${skipTests}</skipJSF>
|
24 | 24 | <skipJACC>${skipTests}</skipJACC>
|
| 25 | + <skipJMS>${skipTests}</skipJMS> |
25 | 26 |
|
26 | 27 | <!--
|
27 | 28 | Application Server versions
|
28 | 29 | (these are downloaded and installed in these versions by Maven for the CI profiles)
|
29 | 30 | -->
|
30 | 31 | <payara.version>4.1.2.173</payara.version>
|
| 32 | + <payara.micro.version>5.Beta1</payara.micro.version> |
31 | 33 | <glassfish.version>4.1.1</glassfish.version>
|
32 | 34 | <liberty.version>16.0.0.3</liberty.version>
|
33 | 35 | <wildfly.version>10.1.0.Final</wildfly.version>
|
|
421 | 423 | </plugins>
|
422 | 424 | </build>
|
423 | 425 | </profile>
|
| 426 | + |
| 427 | + <profile> |
| 428 | + <id>payara-micro-managed</id> |
| 429 | + |
| 430 | + <properties> |
| 431 | + <skipJMS>true</skipJMS> |
| 432 | + </properties> |
| 433 | + |
| 434 | + <dependencies> |
| 435 | + <!-- The Arquillian connector --> |
| 436 | + <dependency> |
| 437 | + <groupId>fish.payara.arquillian</groupId> |
| 438 | + <artifactId>arquillian-payara-micro-4-managed</artifactId> |
| 439 | + <version>1.0.Beta2</version> |
| 440 | + <scope>test</scope> |
| 441 | + </dependency> |
| 442 | + </dependencies> |
| 443 | + |
| 444 | + <build> |
| 445 | + <plugins> |
| 446 | + <!-- Download Payara Micro and copy to target directory --> |
| 447 | + <plugin> |
| 448 | + <groupId>org.apache.maven.plugins</groupId> |
| 449 | + <artifactId>maven-dependency-plugin</artifactId> |
| 450 | + <executions> |
| 451 | + <execution> |
| 452 | + <phase>process-test-classes</phase> |
| 453 | + <goals> |
| 454 | + <goal>copy</goal> |
| 455 | + </goals> |
| 456 | + <configuration> |
| 457 | + <artifactItems> |
| 458 | + <artifactItem> |
| 459 | + <groupId>fish.payara.extras</groupId> |
| 460 | + <artifactId>payara-micro</artifactId> |
| 461 | + <version>${payara.micro.version}</version> |
| 462 | + <overWrite>false</overWrite> |
| 463 | + <outputDirectory>${session.executionRootDirectory}/target/</outputDirectory> |
| 464 | + <destFileName>payara-micro-${payara.micro.version}.jar</destFileName> |
| 465 | + </artifactItem> |
| 466 | + </artifactItems> |
| 467 | + </configuration> |
| 468 | + </execution> |
| 469 | + </executions> |
| 470 | + </plugin> |
| 471 | + <!-- Configure Payara Micro Runtime --> |
| 472 | + <plugin> |
| 473 | + <artifactId>maven-surefire-plugin</artifactId> |
| 474 | + <configuration> |
| 475 | + <environmentVariables> |
| 476 | + <MICRO_JAR>${session.executionRootDirectory}/target/payara-micro-${payara.micro.version}.jar</MICRO_JAR> |
| 477 | + </environmentVariables> |
| 478 | + </configuration> |
| 479 | + </plugin> |
| 480 | + </plugins> |
| 481 | + </build> |
| 482 | + </profile> |
424 | 483 |
|
425 | 484 | <profile>
|
426 | 485 | <id>payara-embedded</id>
|
|
0 commit comments