File tree Expand file tree Collapse file tree
jaxrs/jaxrs-security-declarative
security-basicauth-omission Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <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" >
3- <modelVersion >4.0.0</modelVersion >
2+ <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 >
43
54 <parent >
65 <groupId >org.javaee7</groupId >
76 <artifactId >ejb</artifactId >
87 <version >1.0-SNAPSHOT</version >
9- <relativePath >../pom.xml</relativePath >
108 </parent >
9+
1110 <groupId >org.javaee7</groupId >
1211 <artifactId >ejb-stateful</artifactId >
1312 <version >1.0-SNAPSHOT</version >
13+
1414 <packaging >war</packaging >
1515 <name >Java EE 7 Sample: ejb - stateful</name >
16+
17+ <profiles >
18+ <profile >
19+ <id >payara-micro-managed</id >
20+ <build >
21+ <plugins >
22+ <plugin >
23+ <artifactId >maven-surefire-plugin</artifactId >
24+ <configuration >
25+ <systemPropertyVariables >
26+ <payara .clusterEnabled>true</payara .clusterEnabled>
27+ </systemPropertyVariables >
28+ </configuration >
29+ </plugin >
30+ </plugins >
31+ </build >
32+ </profile >
33+ </profiles >
34+
1635</project >
Original file line number Diff line number Diff line change 1111 <artifactId >ejb-timer</artifactId >
1212 <packaging >war</packaging >
1313 <name >Java EE 7 Sample: ejb - timer</name >
14+
15+ <profiles >
16+ <profile >
17+ <id >payara-micro-managed</id >
18+ <build >
19+ <plugins >
20+ <plugin >
21+ <artifactId >maven-surefire-plugin</artifactId >
22+ <configuration >
23+ <systemPropertyVariables >
24+ <payara .clusterEnabled>true</payara .clusterEnabled>
25+ </systemPropertyVariables >
26+ </configuration >
27+ </plugin >
28+ </plugins >
29+ </build >
30+ </profile >
31+ </profiles >
1432
1533</project >
Original file line number Diff line number Diff line change 1212 <packaging >war</packaging >
1313
1414 <name >Java EE 7 Sample: jaxrs - jaxrs-security-declarative</name >
15+
16+ <profiles >
17+ <profile >
18+ <id >payara-micro-managed</id >
19+ <build >
20+ <testResources >
21+ <testResource >
22+ <directory >src/test/resources</directory >
23+ <filtering >true</filtering >
24+ </testResource >
25+ </testResources >
26+ <plugins >
27+ <plugin >
28+ <artifactId >maven-surefire-plugin</artifactId >
29+ <configuration >
30+ <systemProperties >
31+ <payara .extraMicroOptions>--postdeploycommandfile ${project.build.directory} /test-classes/addUsersPayara.txt</payara .extraMicroOptions>
32+ </systemProperties >
33+ </configuration >
34+ </plugin >
35+ </plugins >
36+ </build >
37+ </profile >
38+ </profiles >
1539</project >
Original file line number Diff line number Diff line change 1+ create-file-user --groups g1 --passwordfile ${project.build.directory}/test-classes/password.txt u1
Original file line number Diff line number Diff line change 476476 <plugin >
477477 <artifactId >maven-surefire-plugin</artifactId >
478478 <configuration >
479- <environmentVariables >
480- <MICRO_JAR >${session.executionRootDirectory} /target/payara-micro-${payara.micro.version} .jar</MICRO_JAR >
481- </environmentVariables >
479+ <systemProperties >
480+ <payara .microJar >${session.executionRootDirectory} /target/payara-micro-${payara.micro.version} .jar</payara .microJar >
481+ </systemProperties >
482482 </configuration >
483483 </plugin >
484484 </plugins >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <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" >
3- <modelVersion >4.0.0</modelVersion >
2+ <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 >
43
54 <parent >
65 <groupId >org.javaee7</groupId >
1211 <packaging >war</packaging >
1312
1413 <name >Java EE 7 Sample: servlet - security-annotated</name >
14+
15+ <profiles >
16+ <profile >
17+ <id >payara-micro-managed</id >
18+ <build >
19+ <testResources >
20+ <testResource >
21+ <directory >src/test/resources</directory >
22+ <filtering >true</filtering >
23+ </testResource >
24+ </testResources >
25+ <plugins >
26+ <plugin >
27+ <artifactId >maven-surefire-plugin</artifactId >
28+ <configuration >
29+ <systemProperties >
30+ <payara .extraMicroOptions>--postdeploycommandfile ${project.build.directory} /test-classes/addUsersPayara.txt</payara .extraMicroOptions>
31+ </systemProperties >
32+ </configuration >
33+ </plugin >
34+ </plugins >
35+ </build >
36+ </profile >
37+ </profiles >
1538</project >
Original file line number Diff line number Diff line change 1+ create-file-user --groups g1 --passwordfile ${project.build.directory}/test-classes/password.txt u1
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <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" >
3- <modelVersion >4.0.0</modelVersion >
2+ <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 >
43
54 <parent >
65 <groupId >org.javaee7</groupId >
76 <artifactId >servlet</artifactId >
87 <version >1.0-SNAPSHOT</version >
9- <relativePath >../pom.xml</relativePath >
108 </parent >
9+
1110 <artifactId >servlet-security-basicauth-omission</artifactId >
1211 <packaging >war</packaging >
1312 <name >Java EE 7 Sample: servlet - security-basicauth-omission</name >
13+
14+ <profiles >
15+ <profile >
16+ <id >payara-micro-managed</id >
17+ <build >
18+ <testResources >
19+ <testResource >
20+ <directory >src/test/resources</directory >
21+ <filtering >true</filtering >
22+ </testResource >
23+ </testResources >
24+ <plugins >
25+ <plugin >
26+ <artifactId >maven-surefire-plugin</artifactId >
27+ <configuration >
28+ <systemProperties >
29+ <payara .extraMicroOptions>--postdeploycommandfile ${project.build.directory} /test-classes/addUsersPayara.txt</payara .extraMicroOptions>
30+ </systemProperties >
31+ </configuration >
32+ </plugin >
33+ </plugins >
34+ </build >
35+ </profile >
36+ </profiles >
37+
1438</project >
Original file line number Diff line number Diff line change 1+ create-file-user --groups g1 --passwordfile ${project.build.directory}/test-classes/password.txt u1
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <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" >
3- <modelVersion >4.0.0</modelVersion >
2+ <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 >
43
54 <parent >
65 <groupId >org.javaee7</groupId >
1211 <packaging >war</packaging >
1312
1413 <name >Java EE 7 Sample: servlet - security-basicauth</name >
14+
15+ <profiles >
16+ <profile >
17+ <id >payara-micro-managed</id >
18+ <build >
19+ <testResources >
20+ <testResource >
21+ <directory >src/test/resources</directory >
22+ <filtering >true</filtering >
23+ </testResource >
24+ </testResources >
25+ <plugins >
26+ <plugin >
27+ <artifactId >maven-surefire-plugin</artifactId >
28+ <configuration >
29+ <systemProperties >
30+ <payara .extraMicroOptions>--postdeploycommandfile ${project.build.directory} /test-classes/addUsersPayara.txt</payara .extraMicroOptions>
31+ </systemProperties >
32+ </configuration >
33+ </plugin >
34+ </plugins >
35+ </build >
36+ </profile >
37+ </profiles >
1538</project >
You can’t perform that action at this time.
0 commit comments