|
16 | 16 | ~ limitations under the License.
|
17 | 17 | -->
|
18 | 18 | <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/maven-v4_0_0.xsd">
|
| 19 | + |
19 | 20 | <modelVersion>4.0.0</modelVersion>
|
| 21 | + |
20 | 22 | <parent>
|
21 | 23 | <groupId>org.apache.logging.log4j</groupId>
|
22 | 24 | <artifactId>log4j</artifactId>
|
|
28 | 30 | <packaging>jar</packaging>
|
29 | 31 | <name>Apache Log4j Core Tests</name>
|
30 | 32 | <description>The Apache Log4j Implementation Tests</description>
|
| 33 | + |
31 | 34 | <properties>
|
32 | 35 | <!-- Ignore less important (high rank) bugs for test artifacts -->
|
33 | 36 | <spotbugs.maxRank>9</spotbugs.maxRank>
|
|
58 | 61 | spring.test;substitute="spring-test"
|
59 | 62 | </bnd-extra-module-options>
|
60 | 63 | </properties>
|
| 64 | + |
61 | 65 | <dependencies>
|
62 | 66 | <!-- Used for OSGi bundle support -->
|
63 | 67 | <dependency>
|
|
288 | 292 | <scope>test</scope>
|
289 | 293 | </dependency>
|
290 | 294 | </dependencies>
|
| 295 | + |
291 | 296 | <build>
|
292 | 297 | <plugins>
|
293 | 298 |
|
294 |
| - <!-- Enable Log4j plugin processing --> |
295 |
| - <plugin> |
296 |
| - <groupId>org.apache.maven.plugins</groupId> |
297 |
| - <artifactId>maven-compiler-plugin</artifactId> |
298 |
| - <configuration> |
299 |
| - <annotationProcessorPaths combine.children="append"> |
300 |
| - <path> |
301 |
| - <groupId>org.apache.logging.log4j</groupId> |
302 |
| - <artifactId>log4j-plugin-processor</artifactId> |
303 |
| - <version>${project.version}</version> |
304 |
| - </path> |
305 |
| - </annotationProcessorPaths> |
306 |
| - </configuration> |
307 |
| - <executions> |
308 |
| - <execution> |
309 |
| - <id>default-testCompile</id> |
310 |
| - <configuration> |
311 |
| - <compilerArgs combine.children="append"> |
312 |
| - <!-- Disable automatic package discovery, which overwrites `log4j-core` plugins. --> |
313 |
| - <arg>-ApluginPackage=org.apache.logging.log4j.core.test2</arg> |
314 |
| - </compilerArgs> |
315 |
| - </configuration> |
316 |
| - </execution> |
317 |
| - </executions> |
318 |
| - </plugin> |
319 |
| - |
320 | 299 | <plugin>
|
321 | 300 | <groupId>org.apache.maven.plugins</groupId>
|
322 | 301 | <artifactId>maven-failsafe-plugin</artifactId>
|
|
344 | 323 |
|
345 | 324 | </plugins>
|
346 | 325 | </build>
|
| 326 | + |
347 | 327 | <profiles>
|
348 | 328 | <profile>
|
349 | 329 | <id>fast-test</id>
|
|
359 | 339 | </build>
|
360 | 340 | </profile>
|
361 | 341 | </profiles>
|
| 342 | + |
362 | 343 | </project>
|
0 commit comments