17 files changed +233
-22
lines changed Original file line number Diff line number Diff line change 1
1
<?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 >
4
3
5
4
<parent >
6
5
<groupId >org.javaee7</groupId >
7
6
<artifactId >ejb</artifactId >
8
7
<version >1.0-SNAPSHOT</version >
9
- <relativePath >../pom.xml</relativePath >
10
8
</parent >
9
+
11
10
<groupId >org.javaee7</groupId >
12
11
<artifactId >ejb-stateful</artifactId >
13
12
<version >1.0-SNAPSHOT</version >
13
+
14
14
<packaging >war</packaging >
15
15
<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
+
16
35
</project >
Original file line number Diff line number Diff line change 11
11
<artifactId >ejb-timer</artifactId >
12
12
<packaging >war</packaging >
13
13
<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 >
14
32
15
33
</project >
Original file line number Diff line number Diff line change 12
12
<packaging >war</packaging >
13
13
14
14
<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 >
15
39
</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 476
476
<plugin >
477
477
<artifactId >maven-surefire-plugin</artifactId >
478
478
<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 >
482
482
</configuration >
483
483
</plugin >
484
484
</plugins >
Original file line number Diff line number Diff line change 1
1
<?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 >
4
3
5
4
<parent >
6
5
<groupId >org.javaee7</groupId >
12
11
<packaging >war</packaging >
13
12
14
13
<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 >
15
38
</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 1
1
<?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 >
4
3
5
4
<parent >
6
5
<groupId >org.javaee7</groupId >
7
6
<artifactId >servlet</artifactId >
8
7
<version >1.0-SNAPSHOT</version >
9
- <relativePath >../pom.xml</relativePath >
10
8
</parent >
9
+
11
10
<artifactId >servlet-security-basicauth-omission</artifactId >
12
11
<packaging >war</packaging >
13
12
<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
+
14
38
</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 1
1
<?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 >
4
3
5
4
<parent >
6
5
<groupId >org.javaee7</groupId >
12
11
<packaging >war</packaging >
13
12
14
13
<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 >
15
38
</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 1
1
<?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 >
4
3
5
4
<parent >
6
5
<groupId >org.javaee7</groupId >
7
6
<artifactId >servlet</artifactId >
8
7
<version >1.0-SNAPSHOT</version >
9
- <relativePath >../pom.xml</relativePath >
10
8
</parent >
9
+
11
10
<artifactId >servlet-security-deny-uncovered</artifactId >
12
11
<packaging >war</packaging >
12
+
13
13
<name >Java EE 7 Sample: servlet - security-deny-uncovered</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 >
38
+
39
+
14
40
</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 1
1
<?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 >
4
3
5
4
<parent >
6
5
<groupId >org.javaee7</groupId >
7
6
<artifactId >servlet</artifactId >
8
7
<version >1.0-SNAPSHOT</version >
9
- <relativePath >../pom.xml</relativePath >
10
8
</parent >
11
- < groupId >org.javaee7</ groupId >
9
+
12
10
<artifactId >servlet-security-form-based</artifactId >
13
- <version >1.0-SNAPSHOT</version >
14
11
<packaging >war</packaging >
15
12
<name >Java EE 7 Sample: servlet - security-form-based</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 >
16
37
</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 6
6
<groupId >org.javaee7</groupId >
7
7
<artifactId >servlet</artifactId >
8
8
<version >1.0-SNAPSHOT</version >
9
- <relativePath >../pom.xml</relativePath >
10
9
</parent >
10
+
11
11
<artifactId >servlet-security-programmatic</artifactId >
12
12
<packaging >war</packaging >
13
+
13
14
<name >Java EE 7 Sample: servlet - security-programmatic</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 >
39
+
14
40
</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
0 commit comments