|
24 | 24 | <parent>
|
25 | 25 | <groupId>org.apache.logging</groupId>
|
26 | 26 | <artifactId>logging-parent</artifactId>
|
27 |
| - <version>11.0.0</version> |
| 27 | + <version>12.1.0</version> |
28 | 28 | </parent>
|
29 | 29 |
|
30 | 30 | <packaging>pom</packaging>
|
|
65 | 65 | </ciManagement>
|
66 | 66 |
|
67 | 67 | <properties>
|
68 |
| - |
69 | 68 | <!-- project version -->
|
70 |
| - <revision>0.10.0-SNAPSHOT</revision> |
71 |
| - |
72 |
| - <!-- `project.build.outputTimestamp` is required to be present for reproducible builds. |
73 |
| - We actually inherit one from the `org.apache:apache` through our parent `org.apache.logging:logging-parent`. |
74 |
| - Though inheriting this property has two undesired consequences: |
75 |
| - 1. `artifact:compare` dumps an `ERROR` log stating that this `property should not be inherited but defined` (apache/logging-parent#50) |
76 |
| - 2. This value is employed in various places while creating the distribution |
77 |
| - To mitigate these, we define a *dummy* value here and let the CI replace it during a release. |
78 |
| - Hence, *DO NOT MANUALLY EDIT THIS VALUE*! --> |
79 |
| - <project.build.outputTimestamp>2024-05-09T11:40:45Z</project.build.outputTimestamp> |
80 |
| - |
81 |
| - <!-- disable `maven-site-plugin`--> |
82 |
| - <maven.site.skip>true</maven.site.skip> |
83 |
| - <maven.site.deploy.skip>true</maven.site.deploy.skip> |
84 |
| - <spotbugs.skip>true</spotbugs.skip> |
| 69 | + <revision>3.1.0-SNAPSHOT</revision> |
85 | 70 | </properties>
|
86 | 71 |
|
87 |
| - <!-- `dependencyManagement` must only contain `log4j-tools` modules and nothing else! |
88 |
| - Modules here must have a corresponding entry in `modules` block above! --> |
89 |
| - <dependencyManagement> |
90 |
| - <dependencies> |
91 |
| - |
92 |
| - <dependency> |
93 |
| - <groupId>org.apache.logging.log4j</groupId> |
94 |
| - <artifactId>log4j-changelog</artifactId> |
95 |
| - <version>${project.version}</version> |
96 |
| - </dependency> |
97 |
| - |
98 |
| - <dependency> |
99 |
| - <groupId>org.apache.logging.log4j</groupId> |
100 |
| - <artifactId>log4j-docgen</artifactId> |
101 |
| - <version>${project.version}</version> |
102 |
| - </dependency> |
103 |
| - |
104 |
| - <dependency> |
105 |
| - <groupId>org.apache.logging.log4j</groupId> |
106 |
| - <artifactId>log4j-docgen-asciidoctor-extension</artifactId> |
107 |
| - <version>${project.version}</version> |
108 |
| - </dependency> |
109 |
| - |
110 |
| - </dependencies> |
111 |
| - </dependencyManagement> |
112 |
| - |
113 | 72 | <build>
|
114 | 73 | <plugins>
|
115 |
| - |
116 |
| - <!-- Enable BOM flattening --> |
117 |
| - <plugin> |
118 |
| - <groupId>org.codehaus.mojo</groupId> |
119 |
| - <artifactId>flatten-maven-plugin</artifactId> |
120 |
| - <version>${flatten-maven-plugin.version}</version> |
121 |
| - <executions> |
122 |
| - <execution> |
123 |
| - <id>flatten-bom</id> |
124 |
| - <goals> |
125 |
| - <goal>flatten</goal> |
126 |
| - </goals> |
127 |
| - <phase>process-resources</phase> |
128 |
| - <inherited>false</inherited> |
129 |
| - </execution> |
130 |
| - </executions> |
131 |
| - </plugin> |
132 |
| - |
133 |
| - <!-- *Temporarily* override the changelog entry file validation inherited from `logging-parent`. |
134 |
| -
|
135 |
| - Inherited `validate-changelog` execution explicitly fixes the `log4j-changelog` namespace and schema location. |
136 |
| - This makes it impossible to upgrade changelog entry file schemas to a newer version than the one expected by `logging-parent`. |
137 |
| -
|
138 |
| - TODO: This will probably be fixed in `logging-parent` version `11.0.0` release. |
139 |
| - Hence, from then on, this `xml-maven-plugin` override can be removed. --> |
140 |
| - <plugin> |
141 |
| - <groupId>org.codehaus.mojo</groupId> |
142 |
| - <artifactId>xml-maven-plugin</artifactId> |
143 |
| - <executions> |
144 |
| - <execution> |
145 |
| - <id>validate-changelog</id> |
146 |
| - <configuration combine.self="override"> |
147 |
| - <validationSets> |
148 |
| - <validationSet> |
149 |
| - <dir>src/changelog</dir> |
150 |
| - <includes> |
151 |
| - <include>**/*.xml</include> |
152 |
| - </includes> |
153 |
| - <validating>true</validating> |
154 |
| - </validationSet> |
155 |
| - </validationSets> |
156 |
| - </configuration> |
157 |
| - </execution> |
158 |
| - </executions> |
159 |
| - </plugin> |
160 |
| - |
161 |
| - <plugin> |
162 |
| - <groupId>com.diffplug.spotless</groupId> |
163 |
| - <artifactId>spotless-maven-plugin</artifactId> |
164 |
| - <configuration> |
165 |
| - <formats> |
166 |
| - <format> |
167 |
| - <excludes> |
168 |
| - <exclude>**/.idea/*</exclude> |
169 |
| - <exclude>src/changelog/**/*.xml</exclude> |
170 |
| - <exclude>**/bin/**/*.xml</exclude> |
171 |
| - <exclude>**/*.y*ml</exclude> |
172 |
| - </excludes> |
173 |
| - </format> |
174 |
| - </formats> |
175 |
| - </configuration> |
176 |
| - </plugin> |
177 |
| - |
178 | 74 | <plugin>
|
179 | 75 | <groupId>org.apache.rat</groupId>
|
180 | 76 | <artifactId>apache-rat-plugin</artifactId>
|
|
0 commit comments