|
418 | 418 | </build> |
419 | 419 | </profile> |
420 | 420 |
|
421 | | - <profile> |
422 | | - <id>payara-micro-managed</id> |
423 | | - <dependencies> |
424 | | - <!-- The Arquillian connector --> |
425 | | - <dependency> |
426 | | - <groupId>fish.payara.arquillian</groupId> |
427 | | - <artifactId>arquillian-payara-micro-4-managed</artifactId> |
428 | | - <version>1.0.Beta2</version> |
429 | | - <scope>test</scope> |
430 | | - </dependency> |
431 | | - </dependencies> |
432 | | - <build> |
433 | | - <plugins> |
434 | | - <!-- Download Payara Micro and copy to target directory --> |
435 | | - <plugin> |
436 | | - <groupId>org.apache.maven.plugins</groupId> |
437 | | - <artifactId>maven-dependency-plugin</artifactId> |
438 | | - <executions> |
439 | | - <execution> |
440 | | - <phase>process-test-classes</phase> |
441 | | - <goals> |
442 | | - <goal>copy</goal> |
443 | | - </goals> |
444 | | - <configuration> |
445 | | - <artifactItems> |
446 | | - <artifactItem> |
447 | | - <groupId>fish.payara.extras</groupId> |
448 | | - <artifactId>payara-micro</artifactId> |
449 | | - <version>${payara.version}</version> |
450 | | - <overWrite>false</overWrite> |
451 | | - <outputDirectory>${session.executionRootDirectory}/target/</outputDirectory> |
452 | | - <destFileName>payara-micro-${payara.version}.jar</destFileName> |
453 | | - </artifactItem> |
454 | | - </artifactItems> |
455 | | - </configuration> |
456 | | - </execution> |
457 | | - </executions> |
458 | | - </plugin> |
459 | | - <!-- Configure Payara Micro Runtime --> |
460 | | - <plugin> |
461 | | - <artifactId>maven-surefire-plugin</artifactId> |
462 | | - <configuration> |
463 | | - <environmentVariables> |
464 | | - <MICRO_JAR>${session.executionRootDirectory}/target/payara-micro-${payara.version}.jar</MICRO_JAR> |
465 | | - </environmentVariables> |
466 | | - </configuration> |
467 | | - </plugin> |
468 | | - </plugins> |
469 | | - </build> |
470 | | - </profile> |
471 | | - |
472 | 421 | <profile> |
473 | 422 | <id>payara-embedded</id> |
474 | 423 | <dependencies> |
|
0 commit comments