<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Heck's  Blog]]></title> 
<link>https://www.heckjj.com/index.php</link> 
<description><![CDATA[一瞬间的决定，往往可以改变很多，事实上，让自己成功的往往不是知识，是精神！ 如果你总是为自己找借口，那只好让成功推迟。执行力，今天！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[Heck's  Blog]]></copyright>
<item>
<link>https://www.heckjj.com/post//</link>
<title><![CDATA[如何排除spring-boot-starter-parent中特定依赖项]]></title> 
<author>Heck &lt;@hecks.tk&gt;</author>
<category><![CDATA[Web开发]]></category>
<pubDate>Thu, 16 May 2024 14:21:17 +0000</pubDate> 
<guid>https://www.heckjj.com/post//</guid> 
<description>
<![CDATA[ 
	我正在使用旧版Spring应用程序，并且想要迁移到Spring Boot。我的意图是使用spring-boot-starter-data- jpa。因此，我在pom.xml（管理所有spring-boot-dependencies）中添加了以下部分：<br/><br/>&lt;parent&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;version&gt;2.1.3.RELEASE&lt;/version&gt;<br/>&lt;/parent&gt;<br/>但这搞砸了我暂时需要保留的某些依赖项。我目前正在使用Selenium依赖项（版本2.53.0；从另一个项目中过渡添加），但是spring-<br/>boot正在获取的依赖项3.9.1。<br/><br/>我想排除3.9.1依赖关系，但exclusion过滤器无法按预期工作。<br/><br/>不能乱&lt;excludes&gt;然后尝试弄清楚您需要再次包含什么（在弄清楚要排除的内容之后）。只需覆盖《Spring<br/>Boot参考指南》中此处解释的版本即可。<br/><br/>假设您将spring-boot-starter- parent用作父项，则只需将a添加&lt;selenium.version&gt;到您的&lt;properties&gt;部分中即可指定所需的版本。<br/><br/>&lt;properties&gt;<br/>&nbsp;&nbsp;&lt;selenium.version&gt;2.53.0&lt;/selenium.version&gt;<br/>&lt;/properties&gt;<br/>这将使Spring Boot使用所需的版本。
]]>
</description>
</item><item>
<link>https://www.heckjj.com/post//#blogcomment</link>
<title><![CDATA[[评论] 如何排除spring-boot-starter-parent中特定依赖项]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://www.heckjj.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>