|
20 | 20 | <parent>
|
21 | 21 | <groupId>org.apache.logging</groupId>
|
22 | 22 | <artifactId>logging-parent</artifactId>
|
23 |
| - <version>12.0.0</version> |
| 23 | + <version>12.1.0</version> |
24 | 24 | <relativePath />
|
25 | 25 | </parent>
|
26 | 26 |
|
|
150 | 150 |
|
151 | 151 | </dependencies>
|
152 | 152 |
|
| 153 | + <repositories> |
| 154 | + <!-- |
| 155 | + ~ The repository that contains the requested Log4j version. |
| 156 | + ~ |
| 157 | + ~ By default, we use Apache Snapshots. |
| 158 | + ~ An alternative repository is defined in the `staging-repo` profile. |
| 159 | + --> |
| 160 | + <!-- The repository that contains the requested Log4j version --> |
| 161 | + <repository> |
| 162 | + <releases> |
| 163 | + <enabled>false</enabled> |
| 164 | + </releases> |
| 165 | + <id>log4j-repo</id> |
| 166 | + <name>Apache Snapshot Repository</name> |
| 167 | + <url>https://repository.apache.org/snapshots</url> |
| 168 | + </repository> |
| 169 | + </repositories> |
| 170 | + |
153 | 171 | <build>
|
154 | 172 | <plugins>
|
155 | 173 |
|
156 |
| - <plugin> |
157 |
| - <groupId>org.apache.maven.plugins</groupId> |
158 |
| - <artifactId>maven-enforcer-plugin</artifactId> |
159 |
| - <executions> |
160 |
| - <execution> |
161 |
| - <id>remove-obsolete-configuration</id> |
162 |
| - <goals> |
163 |
| - <goal>enforce</goal> |
164 |
| - </goals> |
165 |
| - <configuration> |
166 |
| - <rules> |
167 |
| - <requireProperty> |
168 |
| - <property>project.parent.version</property> |
169 |
| - <regex>12.0.0</regex> |
170 |
| - <message>Remove obsolete configurations, see `TODO` comments.</message> |
171 |
| - </requireProperty> |
172 |
| - </rules> |
173 |
| - </configuration> |
174 |
| - </execution> |
175 |
| - </executions> |
176 |
| - </plugin> |
177 |
| - |
178 |
| - <!-- TODO: Remove after `logging-parent` version `12.1.0` is out --> |
179 |
| - <plugin> |
180 |
| - <groupId>org.apache.maven.plugins</groupId> |
181 |
| - <artifactId>maven-compiler-plugin</artifactId> |
182 |
| - <configuration> |
183 |
| - <compilerArgs combine.children="append"> |
184 |
| - <!-- Workaround Error Prone breaking change --> |
185 |
| - <arg>--should-stop=ifError=FLOW</arg> |
186 |
| - </compilerArgs> |
187 |
| - </configuration> |
188 |
| - </plugin> |
189 |
| - |
190 | 174 | <!--
|
191 | 175 | ~ Step 0: we add per-profile resource.
|
192 | 176 | -->
|
|
674 | 658 | <activation>
|
675 | 659 | <property>
|
676 | 660 | <name>log4j.repository.url</name>
|
677 |
| - <value>!</value> |
678 | 661 | </property>
|
679 | 662 | </activation>
|
680 | 663 |
|
|
693 | 676 | <snapshots>
|
694 | 677 | <enabled>false</enabled>
|
695 | 678 | </snapshots>
|
696 |
| - <id>log4j-staging</id> |
| 679 | + <id>log4j-repo</id> |
697 | 680 | <name>Log4j Staging Repository</name>
|
698 | 681 | <url>${log4j.repository.url}</url>
|
699 | 682 | </repository>
|
|
0 commit comments