-
Notifications
You must be signed in to change notification settings - Fork 18
/
pom.xml
214 lines (177 loc) · 8.05 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to you under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" child.project.url.inherit.append.path="false" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!-- ██ ██ █████ ██████ ███ ██ ██ ███ ██ ██████ ██
██ ██ ██ ██ ██ ██ ████ ██ ██ ████ ██ ██ ██
██ █ ██ ███████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ███ ██
██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
███ ███ ██ ██ ██ ██ ██ ████ ██ ██ ████ ██████ ██
`log4j-tools` project modules should use `log4j-tools-parent` as their parents, not this POM!
This POM constitutes the BOM to be imported by applications using `log4j-tools` project modules. -->
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.logging</groupId>
<artifactId>logging-parent</artifactId>
<version>11.0.0</version>
</parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-tools-bom</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<url>https://logging.apache.org/log4j/tools</url>
<inceptionYear>2022</inceptionYear>
<developers>
<developer>
<id>pkarwasz</id>
<name>Piotr P. Karwasz</name>
<email>[email protected]</email>
<roles>
<role>PMC Member</role>
</roles>
<timezone>Europe/Warsaw</timezone>
</developer>
<developer>
<id>rgoers</id>
<name>Ralph Goers</name>
<email>[email protected]</email>
<organization>Nextiva</organization>
<roles>
<role>PMC Member</role>
</roles>
<timezone>America/Phoenix</timezone>
</developer>
<developer>
<id>vy</id>
<name>Volkan Yazıcı</name>
<email>[email protected]</email>
<roles>
<role>PMC Member</role>
</roles>
<timezone>Europe/Amsterdam</timezone>
</developer>
</developers>
<modules>
<!-- the parent POM must come first: -->
<module>log4j-tools-parent</module>
<!-- Modules (which are not Maven plugins!) here must have a corresponding entry in either `dependencyManagement > dependencies` block below!
Maven plugins are an exception to this, since they are not used as a `dependency`. -->
<module>log4j-changelog</module>
<module>log4j-changelog-maven-plugin</module>
<module>log4j-docgen</module>
<module>log4j-docgen-asciidoctor-extension</module>
<module>log4j-docgen-maven-plugin</module>
</modules>
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
<connection>scm:git:[email protected]:apache/logging-log4j-tools.git</connection>
<developerConnection>scm:git:[email protected]:apache/logging-log4j-tools.git</developerConnection>
<tag>HEAD</tag>
<url>https://github.com/apache/logging-log4j-tools</url>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/apache/logging-log4j-tools/issues</url>
</issueManagement>
<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/apache/logging-log4j-tools/actions</url>
</ciManagement>
<distributionManagement>
<downloadUrl>https://logging.apache.org/log4j/tools</downloadUrl>
</distributionManagement>
<properties>
<!-- project version -->
<revision>0.10.0-SNAPSHOT</revision>
<!-- `project.build.outputTimestamp` is required to be present for reproducible builds.
We actually inherit one from the `org.apache:apache` through our parent `org.apache.logging:logging-parent`.
Though inheriting this property has two undesired consequences:
1. `artifact:compare` dumps an `ERROR` log stating that this `property should not be inherited but defined` (apache/logging-parent#50)
2. This value is employed in various places while creating the distribution
To mitigate these, we define a *dummy* value here and let the CI replace it during a release.
Hence, *DO NOT MANUALLY EDIT THIS VALUE*! -->
<project.build.outputTimestamp>2024-05-09T11:40:45Z</project.build.outputTimestamp>
<!-- disable `maven-site-plugin`-->
<maven.site.skip>true</maven.site.skip>
<maven.site.deploy.skip>true</maven.site.deploy.skip>
</properties>
<!-- `dependencyManagement` must only contain `log4j-tools` modules and nothing else!
Modules here must have a corresponding entry in `modules` block above! -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-changelog</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-docgen</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-docgen-asciidoctor-extension</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<!-- Enable BOM flattening -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
<executions>
<execution>
<id>flatten-bom</id>
<goals>
<goal>flatten</goal>
</goals>
<phase>process-resources</phase>
<inherited>false</inherited>
</execution>
</executions>
</plugin>
<!-- *Temporarily* override the changelog entry file validation inherited from `logging-parent`.
Inherited `validate-changelog` execution explicitly fixes the `log4j-changelog` namespace and schema location.
This makes it impossible to upgrade changelog entry file schemas to a newer version than the one expected by `logging-parent`.
TODO: This will probably be fixed in `logging-parent` version `11.0.0` release.
Hence, from then on, this `xml-maven-plugin` override can be removed. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<executions>
<execution>
<id>validate-changelog</id>
<configuration combine.self="override">
<validationSets>
<validationSet>
<dir>src/changelog</dir>
<includes>
<include>**/*.xml</include>
</includes>
<validating>true</validating>
</validationSet>
</validationSets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>