@@ -193,76 +193,6 @@ void shouldUpdateToLatestReleasedWithIncrementalsEnabled() {
193193 """ ));
194194 }
195195
196- @ Test
197- void shouldUpdateToLatestIncrementalsWithoutMavenConfig () {
198- rewriteRun (
199- spec -> spec .recipe (new UpdateBom ()),
200- // language=xml
201- pomXml (
202- """
203- <?xml version="1.0" encoding="UTF-8"?>
204- <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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
205- <modelVersion>4.0.0</modelVersion>
206- <groupId>io.jenkins.plugins</groupId>
207- <artifactId>empty</artifactId>
208- <version>1.0.0-SNAPSHOT</version>
209- <packaging>hpi</packaging>
210- <name>Empty Plugin</name>
211- <properties>
212- <jenkins.version>2.479.3</jenkins.version>
213- </properties>
214- <dependencyManagement>
215- <dependencies>
216- <dependency>
217- <groupId>io.jenkins.tools.bom</groupId>
218- <artifactId>bom-2.479.x</artifactId>
219- <version>4880.v9a_6a_df0217f5</version>
220- <type>pom</type>
221- <scope>import</scope>
222- </dependency>
223- </dependencies>
224- </dependencyManagement>
225- <repositories>
226- <repository>
227- <id>repo.jenkins-ci.org</id>
228- <url>https://repo.jenkins-ci.org/incrementals/</url>
229- </repository>
230- </repositories>
231- </project>
232- """ ,
233- """
234- <?xml version="1.0" encoding="UTF-8"?>
235- <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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
236- <modelVersion>4.0.0</modelVersion>
237- <groupId>io.jenkins.plugins</groupId>
238- <artifactId>empty</artifactId>
239- <version>1.0.0-SNAPSHOT</version>
240- <packaging>hpi</packaging>
241- <name>Empty Plugin</name>
242- <properties>
243- <jenkins.version>2.479.3</jenkins.version>
244- </properties>
245- <dependencyManagement>
246- <dependencies>
247- <dependency>
248- <groupId>io.jenkins.tools.bom</groupId>
249- <artifactId>bom-2.479.x</artifactId>
250- <version>4891.vc3a_1d6ca_fe4a_</version>
251- <type>pom</type>
252- <scope>import</scope>
253- </dependency>
254- </dependencies>
255- </dependencyManagement>
256- <repositories>
257- <repository>
258- <id>repo.jenkins-ci.org</id>
259- <url>https://repo.jenkins-ci.org/incrementals/</url>
260- </repository>
261- </repositories>
262- </project>
263- """ ));
264- }
265-
266196 @ Test
267197 void shouldSkipIfOnParentBom () {
268198 rewriteRun (
0 commit comments