領先一步
VMware 提供培訓和認證,以加速您的進程。
了解更多Spring 4.0 RC2 已經發布,現在可以從 SpringSource 儲存庫 取得。
這將是 GA 之前的最終候選版本,所以請試用並 告訴我們 如果您發現任何問題。
如果您是 Maven 使用者,您可能會對我們在此版本中發布的新的 "bill of materials" POM 感興趣。 您可以在您的 dependency management 區段中導入 spring-framework-bom
專案,以確保您獲得一致的 Spring Framework 相依性。 當您使用可能具有早期 Spring 版本之傳遞相依性的其他專案時,這特別有用。
要使用 BOM,請將以下內容添加到您的 <dependencyManagement>
區段
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>4.0.0.RC2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
然後,您可以簡單地宣告您常用的 Spring Framework 相依性,而無需指定 <version>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
Spring 4.0 GA 預計於 12 月 12 日發布,所以這真的是您提供意見的最後機會!