Skip to content
Open Source Stack Release Train - dependency management across a wide range of Open Source Stack projects.
Shell
Branch: develop
Clone or download
Pull request Compare This branch is 23 commits ahead of Yirendai:develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
oss-release-spring-boot-1.4.1.RELEASE
oss-release-spring-boot-1.4.2.RELEASE
oss-release-spring-boot-1.5.4.RELEASE
oss-release-spring-boot-1.5.6.RELEASE
src
.editorconfig
.gitconfig
.gitignore
.gitlab-ci.yml
.travis.yml
LICENSE
README.md
ci.sh
codesigning.asc.enc
pom.xml

README.md


如果你正在通过git服务查看此文档,请移步项目网站或gitbook查看文档,因为git服务生成的文档链接有问题。


oss-release依赖管理平台

oss-release整合了oss-common-dependenciesoss-lib.

oss-common-dependencies定义技术栈的外部软件依赖. oss-lib提供易于使用的库, 直接使用oss-common-dependencies进行依赖管理. 除oss-lib项目直接使用oss-common-dependencies外, 其它项目应该通过oss-release间接地使用oss-common-dependencies并引入oss-lib.

取决于你使用的spring-boot版本, oss-lib无法针对所有spring-boot版本提供全部软件包, 如需使用全部功能, 需使用最新的spring-boot版本.

使用方法

你的项目可以使用oss-release作为parent, 这样间接地以oss-build为ancestor.

<parent>
    <groupId>cn.home1</groupId>
    <artifactId>oss-release-spring-boot-${spring-boot.version}</artifactId>
    <version>${oss-release.version}</version>
</parent>

或者在dependencyManagement中import它.

<!-- 以oss-build为parent是可选的 -->
<parent>
    <groupId>cn.home1</groupId>
    <artifactId>oss-build</artifactId>
    <version>${oss-build.version}</version>
</parent>
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>cn.home1</groupId>
            <artifactId>oss-release-spring-boot-${spring-boot.version}</artifactId>
            <version>${oss-release.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
You can’t perform that action at this time.