File tree Expand file tree Collapse file tree 2 files changed +53
-1
lines changed
test-utils/src/main/java/org/javaee7 Expand file tree Collapse file tree 2 files changed +53
-1
lines changed Original file line number Diff line number Diff line change 358358
359359
360360 <profiles >
361+
362+ <!-- ### PIRANHA ### -->
363+
364+ <profile >
365+ <id >piranha-embedded</id >
366+
367+ <properties >
368+ <skipEJB >true</skipEJB >
369+ <skipCDI >true</skipCDI >
370+ <skipJSF >true</skipJSF >
371+ <skipJACC >true</skipJACC >
372+ <!-- Client-cert needs complicated cert setup, which hasn't been done -->
373+ <skipServletClientCertificate >true</skipServletClientCertificate >
374+ </properties >
375+
376+ <dependencies >
377+ <!-- Java EE based client dependencies to contact a server via WebSocket or REST -->
378+ <dependency >
379+ <groupId >fish.payara.arquillian</groupId >
380+ <artifactId >payara-client-ee7</artifactId >
381+ </dependency >
382+
383+ <dependency >
384+ <groupId >cloud.piranha.arquillian</groupId >
385+ <artifactId >piranha-arquillian-server</artifactId >
386+ <version >20.1.0-SNAPSHOT</version >
387+ </dependency >
388+ </dependencies >
389+
390+ <build >
391+ <plugins >
392+ <plugin >
393+ <groupId >org.apache.maven.plugins</groupId >
394+ <artifactId >maven-surefire-plugin</artifactId >
395+ <configuration >
396+ <systemPropertyVariables >
397+ <javaEEServer >piranha-embedded</javaEEServer >
398+ <piranha .version>19.12.0</piranha .version>
399+ <piranha .repositories>https://dl.bintray.com/piranhacloud/maven</piranha .repositories>
400+ </systemPropertyVariables >
401+ </configuration >
402+ </plugin >
403+ </plugins >
404+ </build >
405+
406+ </profile >
407+
408+
361409
362410 <!-- ### PAYARA ### -->
363411
Original file line number Diff line number Diff line change @@ -56,7 +56,11 @@ public static void addUsersToContainerIdentityStore() {
5656 cmd .add ("u1" );
5757
5858 CliCommands .payaraGlassFish (cmd );
59- } else {
59+ } else if ("piranha-embedded" .equals (javaEEServer )) {
60+ System .out .println ("Adding user for piranha-embedded" );
61+ System .setProperty ("io.piranha.identitystore.callers" , "<u><caller callername=\" u1\" password=\" p1\" groups=\" g1\" /></u>" );
62+ }
63+ else {
6064 if (javaEEServer == null ) {
6165 System .out .println ("javaEEServer not specified" );
6266 } else {
You can’t perform that action at this time.
0 commit comments