|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
|
3 | 3 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
4 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
5 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 | | - <modelVersion>4.0.0</modelVersion> |
| 4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 6 | + <modelVersion>4.0.0</modelVersion> |
7 | 7 |
|
8 | | - <groupId>de.codeshield.log4shell</groupId> |
9 | | - <artifactId>Log4JDetector</artifactId> |
10 | | - <version>0.4</version> |
| 8 | + <groupId>de.codeshield.log4shell</groupId> |
| 9 | + <artifactId>Log4JDetector</artifactId> |
| 10 | + <version>0.4</version> |
11 | 11 |
|
12 | | - <name>cve-2021-44228-detector</name> |
13 | | - <url>https://codeshield.io</url> |
| 12 | + <name>cve-2021-44228-detector</name> |
| 13 | + <url>https://codeshield.io</url> |
14 | 14 |
|
15 | | - <properties> |
16 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
17 | | - <maven.compiler.source>1.7</maven.compiler.source> |
18 | | - <maven.compiler.target>1.7</maven.compiler.target> |
19 | | - </properties> |
| 15 | + <properties> |
| 16 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 17 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 18 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 19 | + </properties> |
20 | 20 |
|
21 | | - <dependencies> |
22 | | - <dependency> |
23 | | - <groupId>junit</groupId> |
24 | | - <artifactId>junit</artifactId> |
25 | | - <version>4.13.1</version> |
26 | | - <scope>test</scope> |
27 | | - </dependency> |
28 | | - <dependency> |
29 | | - <groupId>org.apache.maven</groupId> |
30 | | - <artifactId>maven-model</artifactId> |
31 | | - <version>3.8.4</version> |
32 | | - </dependency> |
33 | | - <dependency> |
34 | | - <groupId>commons-io</groupId> |
35 | | - <artifactId>commons-io</artifactId> |
36 | | - <version>2.11.0</version> |
37 | | - </dependency> |
38 | | - <!-- https://mvnrepository.com/artifact/org.apache.maven/maven-project --> |
39 | | - <dependency> |
40 | | - <groupId>org.apache.maven</groupId> |
41 | | - <artifactId>maven-project</artifactId> |
42 | | - <version>2.2.1</version> |
43 | | - </dependency> |
44 | | - <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec --> |
45 | | - <dependency> |
46 | | - <groupId>commons-codec</groupId> |
47 | | - <artifactId>commons-codec</artifactId> |
48 | | - <version>1.15</version> |
49 | | - </dependency> |
| 21 | + <dependencies> |
| 22 | + <dependency> |
| 23 | + <groupId>junit</groupId> |
| 24 | + <artifactId>junit</artifactId> |
| 25 | + <version>4.13.1</version> |
| 26 | + <scope>test</scope> |
| 27 | + </dependency> |
| 28 | + <dependency> |
| 29 | + <groupId>org.apache.maven</groupId> |
| 30 | + <artifactId>maven-model</artifactId> |
| 31 | + <version>3.8.4</version> |
| 32 | + </dependency> |
| 33 | + <dependency> |
| 34 | + <groupId>commons-io</groupId> |
| 35 | + <artifactId>commons-io</artifactId> |
| 36 | + <version>2.11.0</version> |
| 37 | + </dependency> |
| 38 | + <!-- https://mvnrepository.com/artifact/org.apache.maven/maven-project --> |
| 39 | + <dependency> |
| 40 | + <groupId>org.apache.maven</groupId> |
| 41 | + <artifactId>maven-project</artifactId> |
| 42 | + <version>2.2.1</version> |
| 43 | + </dependency> |
| 44 | + <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec --> |
| 45 | + <dependency> |
| 46 | + <groupId>commons-codec</groupId> |
| 47 | + <artifactId>commons-codec</artifactId> |
| 48 | + <version>1.15</version> |
| 49 | + </dependency> |
50 | 50 |
|
51 | | - <dependency> |
52 | | - <groupId>com.opencsv</groupId> |
53 | | - <artifactId>opencsv</artifactId> |
54 | | - <version>5.5.2</version> |
55 | | - </dependency> |
56 | | - </dependencies> |
| 51 | + <dependency> |
| 52 | + <groupId>com.opencsv</groupId> |
| 53 | + <artifactId>opencsv</artifactId> |
| 54 | + <version>5.5.2</version> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>commons-lang</groupId> |
| 58 | + <artifactId>commons-lang</artifactId> |
| 59 | + <version>2.6</version> |
| 60 | + <scope>compile</scope> |
| 61 | + </dependency> |
| 62 | + </dependencies> |
57 | 63 |
|
58 | | - <build> |
59 | | - <plugins> |
60 | | - <plugin> |
61 | | - <artifactId>maven-assembly-plugin</artifactId> |
62 | | - <configuration> |
63 | | - <archive> |
64 | | - <manifest> |
65 | | - <mainClass>de.codeshield.log4jshell.Log4JDetector</mainClass> |
66 | | - </manifest> |
67 | | - </archive> |
68 | | - <descriptorRefs> |
69 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
70 | | - </descriptorRefs> |
71 | | - </configuration> |
72 | | - </plugin> |
73 | | - <plugin> |
74 | | - <groupId>org.apache.maven.plugins</groupId> |
75 | | - <artifactId>maven-compiler-plugin</artifactId> |
76 | | - <configuration> |
77 | | - <source>8</source> |
78 | | - <target>8</target> |
79 | | - </configuration> |
80 | | - </plugin> |
81 | | - </plugins> |
82 | | - <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> |
83 | | - <plugins> |
84 | | - <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> |
85 | | - <plugin> |
86 | | - <artifactId>maven-clean-plugin</artifactId> |
87 | | - <version>3.1.0</version> |
88 | | - </plugin> |
89 | | - <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
90 | | - <plugin> |
91 | | - <artifactId>maven-resources-plugin</artifactId> |
92 | | - <version>3.0.2</version> |
93 | | - </plugin> |
94 | | - <plugin> |
95 | | - <artifactId>maven-compiler-plugin</artifactId> |
96 | | - <version>3.8.0</version> |
97 | | - </plugin> |
98 | | - <plugin> |
99 | | - <artifactId>maven-surefire-plugin</artifactId> |
100 | | - <version>2.22.1</version> |
101 | | - </plugin> |
102 | | - <plugin> |
103 | | - <artifactId>maven-jar-plugin</artifactId> |
104 | | - <version>3.0.2</version> |
105 | | - </plugin> |
106 | | - <plugin> |
107 | | - <artifactId>maven-install-plugin</artifactId> |
108 | | - <version>2.5.2</version> |
109 | | - </plugin> |
110 | | - <plugin> |
111 | | - <artifactId>maven-deploy-plugin</artifactId> |
112 | | - <version>2.8.2</version> |
113 | | - </plugin> |
114 | | - <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> |
115 | | - <plugin> |
116 | | - <artifactId>maven-site-plugin</artifactId> |
117 | | - <version>3.7.1</version> |
118 | | - </plugin> |
119 | | - <plugin> |
120 | | - <artifactId>maven-project-info-reports-plugin</artifactId> |
121 | | - <version>3.0.0</version> |
122 | | - </plugin> |
123 | | - </plugins> |
124 | | - </pluginManagement> |
125 | | - </build> |
| 64 | + <build> |
| 65 | + <plugins> |
| 66 | + <plugin> |
| 67 | + <artifactId>maven-assembly-plugin</artifactId> |
| 68 | + <configuration> |
| 69 | + <archive> |
| 70 | + <manifest> |
| 71 | + <mainClass>de.codeshield.log4jshell.Log4JDetector</mainClass> |
| 72 | + </manifest> |
| 73 | + </archive> |
| 74 | + <descriptorRefs> |
| 75 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 76 | + </descriptorRefs> |
| 77 | + </configuration> |
| 78 | + </plugin> |
| 79 | + <plugin> |
| 80 | + <groupId>org.apache.maven.plugins</groupId> |
| 81 | + <artifactId>maven-compiler-plugin</artifactId> |
| 82 | + <configuration> |
| 83 | + <source>8</source> |
| 84 | + <target>8</target> |
| 85 | + </configuration> |
| 86 | + </plugin> |
| 87 | + </plugins> |
| 88 | + <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> |
| 89 | + <plugins> |
| 90 | + <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> |
| 91 | + <plugin> |
| 92 | + <artifactId>maven-clean-plugin</artifactId> |
| 93 | + <version>3.1.0</version> |
| 94 | + </plugin> |
| 95 | + <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
| 96 | + <plugin> |
| 97 | + <artifactId>maven-resources-plugin</artifactId> |
| 98 | + <version>3.0.2</version> |
| 99 | + </plugin> |
| 100 | + <plugin> |
| 101 | + <artifactId>maven-compiler-plugin</artifactId> |
| 102 | + <version>3.8.0</version> |
| 103 | + </plugin> |
| 104 | + <plugin> |
| 105 | + <artifactId>maven-surefire-plugin</artifactId> |
| 106 | + <version>2.22.1</version> |
| 107 | + </plugin> |
| 108 | + <plugin> |
| 109 | + <artifactId>maven-jar-plugin</artifactId> |
| 110 | + <version>3.0.2</version> |
| 111 | + </plugin> |
| 112 | + <plugin> |
| 113 | + <artifactId>maven-install-plugin</artifactId> |
| 114 | + <version>2.5.2</version> |
| 115 | + </plugin> |
| 116 | + <plugin> |
| 117 | + <artifactId>maven-deploy-plugin</artifactId> |
| 118 | + <version>2.8.2</version> |
| 119 | + </plugin> |
| 120 | + <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> |
| 121 | + <plugin> |
| 122 | + <artifactId>maven-site-plugin</artifactId> |
| 123 | + <version>3.7.1</version> |
| 124 | + </plugin> |
| 125 | + <plugin> |
| 126 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 127 | + <version>3.0.0</version> |
| 128 | + </plugin> |
| 129 | + </plugins> |
| 130 | + </pluginManagement> |
| 131 | + </build> |
126 | 132 | </project> |
0 commit comments