|
27 | 27 | </parent> |
28 | 28 |
|
29 | 29 | <artifactId>log4j-layout-template-json-test</artifactId> |
30 | | - <name>Apache Log4j Layout for JSON template Tests</name> |
31 | | - <description>Apache Log4j Layout for JSON template test.</description> |
| 30 | + <name>Apache Log4j JSON Template Layout tests</name> |
32 | 31 |
|
33 | 32 | <properties> |
| 33 | + |
34 | 34 | <docLabel>Log4j Layout for JSON Template Documentation</docLabel> |
35 | 35 | <projectDir>/log4j-layout-template-json</projectDir> |
| 36 | + <maven.deploy.skip>true</maven.deploy.skip> |
36 | 37 |
|
37 | 38 | <!-- |
38 | 39 | ~ OSGi and JPMS options |
39 | 40 | --> |
40 | 41 | <bnd-module-name>org.apache.logging.log4j.layout.template.json.test</bnd-module-name> |
41 | 42 | <Fragment-Host>org.apache.logging.log4j.core</Fragment-Host> |
| 43 | + |
42 | 44 | </properties> |
43 | 45 |
|
44 | 46 | <dependencies> |
45 | | - <dependency> |
46 | | - <groupId>org.apache.logging.log4j</groupId> |
47 | | - <artifactId>log4j-core</artifactId> |
48 | | - </dependency> |
| 47 | + |
49 | 48 | <dependency> |
50 | 49 | <groupId>org.apache.logging.log4j</groupId> |
51 | 50 | <artifactId>log4j-layout-template-json</artifactId> |
52 | 51 | </dependency> |
| 52 | + |
53 | 53 | <dependency> |
54 | 54 | <groupId>org.jctools</groupId> |
55 | 55 | <artifactId>jctools-core</artifactId> |
56 | | - <optional>true</optional> |
| 56 | + <scope>test</scope> |
57 | 57 | </dependency> |
| 58 | + |
58 | 59 | <dependency> |
59 | 60 | <groupId>org.apache.logging.log4j</groupId> |
60 | 61 | <artifactId>log4j-1.2-api</artifactId> |
61 | 62 | <scope>test</scope> |
62 | 63 | </dependency> |
| 64 | + |
63 | 65 | <dependency> |
64 | 66 | <groupId>org.apache.logging.log4j</groupId> |
65 | 67 | <artifactId>log4j-core-test</artifactId> |
66 | 68 | <scope>test</scope> |
67 | 69 | </dependency> |
| 70 | + |
68 | 71 | <dependency> |
69 | 72 | <groupId>org.assertj</groupId> |
70 | 73 | <artifactId>assertj-core</artifactId> |
71 | 74 | <scope>test</scope> |
72 | 75 | </dependency> |
| 76 | + |
73 | 77 | <dependency> |
74 | 78 | <groupId>org.awaitility</groupId> |
75 | 79 | <artifactId>awaitility</artifactId> |
76 | 80 | <scope>test</scope> |
77 | 81 | </dependency> |
| 82 | + |
78 | 83 | <dependency> |
79 | 84 | <groupId>org.elasticsearch.client</groupId> |
80 | 85 | <artifactId>elasticsearch-rest-high-level-client</artifactId> |
81 | 86 | <scope>test</scope> |
82 | 87 | </dependency> |
| 88 | + |
83 | 89 | <dependency> |
84 | 90 | <groupId>com.fasterxml.jackson.core</groupId> |
85 | 91 | <artifactId>jackson-databind</artifactId> |
86 | 92 | <scope>test</scope> |
87 | 93 | </dependency> |
| 94 | + |
88 | 95 | <dependency> |
89 | 96 | <groupId>com.google.code.java-allocation-instrumenter</groupId> |
90 | 97 | <artifactId>java-allocation-instrumenter</artifactId> |
91 | 98 | <scope>test</scope> |
92 | 99 | </dependency> |
| 100 | + |
93 | 101 | <dependency> |
94 | 102 | <groupId>org.junit.jupiter</groupId> |
95 | 103 | <artifactId>junit-jupiter-engine</artifactId> |
96 | 104 | <scope>test</scope> |
97 | 105 | </dependency> |
| 106 | + |
98 | 107 | <dependency> |
99 | 108 | <groupId>org.junit.jupiter</groupId> |
100 | 109 | <artifactId>junit-jupiter-params</artifactId> |
101 | 110 | <scope>test</scope> |
102 | 111 | </dependency> |
| 112 | + |
103 | 113 | <dependency> |
104 | 114 | <groupId>co.elastic.logging</groupId> |
105 | 115 | <artifactId>log4j2-ecs-layout</artifactId> |
106 | 116 | <scope>test</scope> |
107 | 117 | </dependency> |
| 118 | + |
108 | 119 | </dependencies> |
109 | 120 |
|
110 | 121 | <build> |
111 | 122 | <plugins> |
| 123 | + |
| 124 | + <!-- Modules that contain `log4j-core` plugins, must be compiled with: `org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor` --> |
112 | 125 | <plugin> |
113 | 126 | <groupId>org.apache.maven.plugins</groupId> |
114 | 127 | <artifactId>maven-compiler-plugin</artifactId> |
115 | 128 | <configuration> |
116 | | - <!-- |
117 | | - ~ Modules that contain `log4j-core` plugins, must be compiled with: |
118 | | - ~ |
119 | | - ~ org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor |
120 | | - --> |
121 | 129 | <annotationProcessorPaths combine.children="append"> |
122 | 130 | <path> |
123 | 131 | <groupId>org.apache.logging.log4j</groupId> |
|
127 | 135 | </annotationProcessorPaths> |
128 | 136 | </configuration> |
129 | 137 | </plugin> |
| 138 | + |
130 | 139 | <!-- Disable ITs, which are Docker-dependent, by default. --> |
131 | 140 | <plugin> |
132 | 141 | <groupId>org.apache.maven.plugins</groupId> |
|
143 | 152 | </execution> |
144 | 153 | </executions> |
145 | 154 | </plugin> |
| 155 | + |
146 | 156 | <plugin> |
147 | 157 | <groupId>org.apache.maven.plugins</groupId> |
148 | 158 | <artifactId>maven-surefire-plugin</artifactId> |
|
158 | 168 | </systemPropertyVariables> |
159 | 169 | </configuration> |
160 | 170 | </plugin> |
| 171 | + |
161 | 172 | </plugins> |
162 | 173 | </build> |
163 | 174 |
|
164 | 175 | <profiles> |
165 | 176 | <profile> |
| 177 | + |
166 | 178 | <id>docker</id> |
| 179 | + |
167 | 180 | <activation> |
168 | 181 | <activeByDefault>false</activeByDefault> |
169 | 182 | </activation> |
| 183 | + |
170 | 184 | <build> |
171 | 185 | <plugins> |
| 186 | + |
172 | 187 | <plugin> |
173 | 188 | <groupId>io.fabric8</groupId> |
174 | 189 | <artifactId>docker-maven-plugin</artifactId> |
|
299 | 314 | </execution> |
300 | 315 | </executions> |
301 | 316 | </plugin> |
| 317 | + |
302 | 318 | <plugin> |
303 | 319 | <groupId>org.apache.maven.plugins</groupId> |
304 | 320 | <artifactId>maven-failsafe-plugin</artifactId> |
|
316 | 332 | </execution> |
317 | 333 | </executions> |
318 | 334 | </plugin> |
| 335 | + |
319 | 336 | </plugins> |
320 | 337 | </build> |
| 338 | + |
321 | 339 | </profile> |
322 | 340 | </profiles> |
| 341 | + |
323 | 342 | </project> |
0 commit comments