Skip to content

Commit 6d0758f

Browse files
Add Jakarta support #176
* documentation update
1 parent cd2aa78 commit 6d0758f

File tree

2 files changed

+25
-12
lines changed

2 files changed

+25
-12
lines changed

info.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,36 @@ The CSRFGuard project is run by [Azzeddine RAMRAMI](mailto:azzeddine.ramrami@owa
2323

2424
## License
2525

26-
OWASP CSRFGuard 4.0.0 is offered under the [BSD license](http://www.opensource.org/licenses/bsd-license.php).
26+
OWASP CSRFGuard 4.x is offered under the [BSD license](http://www.opensource.org/licenses/bsd-license.php).
2727

2828
## Using with Maven
29-
OWASP CSRFGuard 4.0.0 will be available on the Maven Central Repository. Add the following dependency to your Maven POM file to use the library:
29+
OWASP CSRFGuard 4.x is available on the Maven Central Repository. Add the following dependency to your Maven POM file to use the library:
3030

31-
```maven
31+
```xml
3232
<dependency>
3333
<groupId>org.owasp</groupId>
3434
<artifactId>csrfguard</artifactId>
35-
<version>4.0.0</version>
35+
<version>4.2.1.</version>
36+
</dependency>
37+
38+
<!-- Stateful web application support -->
39+
<dependency>
40+
<groupId>org.owasp</groupId>
41+
<artifactId>csrfguard-extension-session</artifactId>
42+
<version>4.2.1</version>
43+
</dependency>
44+
45+
<!-- JSP TAG support -->
46+
<dependency>
47+
<groupId>org.owasp</groupId>
48+
<artifactId>csrfguard-jsp-tags</artifactId>
49+
<version>4.2.1</version>
3650
</dependency>
3751
```
3852

3953
## Building the code
4054

41-
1. Make sure you have [Apache Maven](http://maven.apache.org/) 3.0.4+ and JDK 1.8+ installed
55+
1. Make sure you have [Apache Maven](http://maven.apache.org/) 3.0.4+ and JDK 11+ installed
4256
2. Clone this repository locally
4357
3. Build the project by running ```mvn clean install``` in the project root directory
4458
4. Build and run the test JSP web application by running ```mvn pre-integration-test -Pdeploy-jsp-webapp -pl csrfguard-test/csrfguard-test-jsp``` or ```mvn -Pdeploy-jsp-webapp -pl csrfguard-test/csrfguard-test-jsp tomcat7:run```
@@ -88,7 +102,5 @@ If you have questions, would like to share or discuss ideas, please use the offi
88102
* Documentation update and typo fixes.
89103
* Copyright update and unification.
90104

91-
The 4.0.0 release candidate can be downloaded from the [releases](https://github.com/OWASP/www-project-csrfguard/releases) section.
92-
93105

94106

readme.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,33 +28,34 @@ The CSRFGuard project is run by [Azzeddine RAMRAMI](mailto:azzeddine.ramrami@owa
2828

2929
## Using with Maven
3030

31-
Add the following dependency to your Maven POM file to use the library:
31+
Add the following dependencies to your Maven POM file to use the library:
32+
**Note**: for the [Jakarta](https://github.com/OWASP/www-project-csrfguard/tree/jakarta) releases use the `-jakarta` suffix in the `artifactId`s.
3233

3334
```xml
3435
<dependency>
3536
<groupId>org.owasp</groupId>
3637
<artifactId>csrfguard</artifactId>
37-
<version>4.1.3</version>
38+
<version>4.2.1</version>
3839
</dependency>
3940

4041
<!-- Stateful web application support -->
4142
<dependency>
4243
<groupId>org.owasp</groupId>
4344
<artifactId>csrfguard-extension-session</artifactId>
44-
<version>4.1.3</version>
45+
<version>4.2.1</version>
4546
</dependency>
4647

4748
<!-- JSP TAG support -->
4849
<dependency>
4950
<groupId>org.owasp</groupId>
5051
<artifactId>csrfguard-jsp-tags</artifactId>
51-
<version>4.1.3</version>
52+
<version>4.2.1</version>
5253
</dependency>
5354
```
5455

5556
## Building the code
5657

57-
1. Make sure you have [Apache Maven](https://maven.apache.org/) 3.0.4+ and JDK 1.8+ installed
58+
1. Make sure you have [Apache Maven](https://maven.apache.org/) 3.0.4+, JDK 1.8+ and respectively JDK 11+ for Jakarta installed
5859
2. Clone this repository locally
5960
3. Build the project by running ```mvn clean install``` in the project root directory
6061
4. Build and run the test JSP web application by running one of the following commands:

0 commit comments

Comments
 (0)