|
61 | 61 | <dependency> |
62 | 62 | <groupId>org.apache.logging.log4j</groupId> |
63 | 63 | <artifactId>log4j</artifactId> |
64 | | - <version>2.13.3</version> |
| 64 | + <version>${log4j.version}</version> |
65 | 65 | <type>pom</type> |
66 | 66 | </dependency> |
67 | 67 | <dependency> |
68 | 68 | <groupId>org.apache.logging.log4j</groupId> |
69 | 69 | <artifactId>log4j-jcl</artifactId> |
70 | | - <version>2.13.3</version> |
| 70 | + <version>${log4j.version}</version> |
71 | 71 | </dependency> |
72 | 72 | <dependency> |
73 | 73 | <groupId>org.apache.logging.log4j</groupId> |
74 | 74 | <artifactId>log4j-api</artifactId> |
75 | | - <version>2.13.3</version> |
| 75 | + <version>${log4j.version}</version> |
76 | 76 | </dependency> |
77 | 77 | <dependency> |
78 | 78 | <groupId>org.apache.logging.log4j</groupId> |
79 | 79 | <artifactId>log4j-core</artifactId> |
80 | | - <version>2.13.3</version> |
| 80 | + <version>${log4j.version}</version> |
81 | 81 | </dependency> |
82 | 82 | <dependency> |
83 | 83 | <groupId>org.apache.logging.log4j</groupId> |
84 | 84 | <artifactId>log4j-1.2-api</artifactId> |
85 | | - <version>2.13.3</version> |
| 85 | + <version>${log4j.version}</version> |
86 | 86 | </dependency> |
87 | 87 | <!-- Log4j Dependencies --> |
88 | 88 | <dependency> |
|
117 | 117 | <maven.compile.target>1.5</maven.compile.target> |
118 | 118 | <maven.compile.optimize>true</maven.compile.optimize> |
119 | 119 | <maven.compile.deprecation>true</maven.compile.deprecation> |
| 120 | + <log4j.version>2.15.0</log4j.version> |
120 | 121 | </properties> |
121 | 122 | <build> |
122 | 123 | <plugins> |
|
173 | 174 | </execution> |
174 | 175 | </executions> |
175 | 176 | </plugin> |
| 177 | + <plugin> |
| 178 | + <artifactId>maven-dependency-plugin</artifactId> |
| 179 | + <executions> |
| 180 | + <execution> |
| 181 | + <phase>package</phase> |
| 182 | + <goals> |
| 183 | + <goal>copy-dependencies</goal> |
| 184 | + </goals> |
| 185 | + <configuration> |
| 186 | + <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| 187 | + </configuration> |
| 188 | + </execution> |
| 189 | + </executions> |
| 190 | + </plugin> |
176 | 191 | </plugins> |
177 | 192 | <resources> |
178 | 193 | <resource> |
|
0 commit comments