Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
kozmer
GitHub Repository: kozmer/log4j-shell-poc
Path: blob/main/vulnerable-application/pom.xml
126 views
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0"
3
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
5
<modelVersion>4.0.0</modelVersion>
6
7
<groupId>com.example</groupId>
8
<artifactId>log4shell</artifactId>
9
<version>1.0-SNAPSHOT</version>
10
<name>log4shell</name>
11
<packaging>war</packaging>
12
13
<properties>
14
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
<maven.compiler.target>1.8</maven.compiler.target>
16
<maven.compiler.source>1.8</maven.compiler.source>
17
<junit.version>5.7.1</junit.version>
18
</properties>
19
20
<dependencies>
21
<dependency>
22
<groupId>javax.servlet</groupId>
23
<artifactId>javax.servlet-api</artifactId>
24
<version>4.0.1</version>
25
<scope>provided</scope>
26
</dependency>
27
<dependency>
28
<groupId>org.junit.jupiter</groupId>
29
<artifactId>junit-jupiter-api</artifactId>
30
<version>${junit.version}</version>
31
<scope>test</scope>
32
</dependency>
33
<dependency>
34
<groupId>org.junit.jupiter</groupId>
35
<artifactId>junit-jupiter-engine</artifactId>
36
<version>${junit.version}</version>
37
<scope>test</scope>
38
</dependency>
39
40
41
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
42
<dependency>
43
<groupId>org.apache.logging.log4j</groupId>
44
<artifactId>log4j-core</artifactId>
45
<version>2.14.1</version>
46
</dependency>
47
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api -->
48
<dependency>
49
<groupId>org.apache.logging.log4j</groupId>
50
<artifactId>log4j-api</artifactId>
51
<version>2.14.1</version>
52
</dependency>
53
</dependencies>
54
55
<build>
56
<plugins>
57
<plugin>
58
<groupId>org.apache.maven.plugins</groupId>
59
<artifactId>maven-war-plugin</artifactId>
60
<version>3.3.1</version>
61
</plugin>
62
</plugins>
63
</build>
64
65
66
</project>
67