Spring IO Platform-프로젝트 유지 보수 의존

글 목록
Spring IO Platform 이 무엇 입 니까?
Spring IO Platform 을 왜 사용 하 는 지Spring IO 플랫폼 에서 어떤 의존 도 를 유지 하고 있 습 니까?
Spring IO Platform 을 어떻게 사용 하 는 지Spring IO Platform 프로젝트 가 종료 되 었 습 니 다Spring IO Platform 이란 무엇 입 니까?
홈 페이지:https://spring.io/projects/platform
Spring IO 플랫폼 소개 및 예시 참조 URL:https://www.cnblogs.com/chenliyang/p/6542867.html
Spring IO Platform 은 간단하게 유지보수 에 의존 하 는 플랫폼 이 라 고 볼 수 있 습 니 다.이 플랫폼 은 관련 의존 도 를 한데 모 아 모든 의존 에 대해 버 전 번 호 를 제공 합 니 다.
이 버 전에 대응 하 는 의존 도 는 모두 테스트 를 거 쳐 함께 정상적으로 사용 할 수 있다.
홈 페이지 설명 에 따 르 면 플랫폼 은 2019 년 4 월 9 일 까지 지원 되 는 수명 이 종 료 됩 니 다.브뤼셀 과 카이로 노선 의 유지 관리 릴 리 스 는 그 때 까지 계속 게 시 됩 니 다.플랫폼 사용 자 는 Spring Boot 의 종속 성 관리 디렉토리 를 사용 하 는 것 을 권장 합 니 다. either by using spring-boot-starter-parent as their Maven project’s parent, or by importing the spring-boot-dependencies bom.
요약:이 프로젝트 는 2019 년 4 월 9 일 에 지원 수명 의 종점 에 이 르 렀 음 을 주의 하 세 요.spring boot 를 사용 할 경우,Maven 프로젝트 의 부모 로 spring-boot-starter-parent 를 사용 하거나,spring-boot-dependencies bom 을 가 져 오 는 것 을 권장 합 니 다.
Spring IO Platform 을 왜 사용 하 세 요?
주로 의존 버 전 충돌 문 제 를 해결 하 는 것 이다.예 를 들 어 Spring 을 사용 할 때 제3자 라 이브 러 리 에 자주 사용 된다.보통 사람들 은 경험 에 따라 버 전 번 호 를 선택 하거나 최신 버 전 번 호 를 선택 하 는데 임 의성 이 비교적 크다.사실은 이것 은 문제 가 있다.완전한 테스트 를 하지 않 으 면 이 버 전의 의존 에 문제 가 없 을 것 이다.또한 후속 적 으로 다른 제3자 라 이브 러 리 를 통합 할 때 도 문제 가 발생 하지 않 을 것 이다.그렇지 않 으 면 위험 이 비교적 크 고 후속 적 인 확장 이 점점 어려워 질 것 이다.업무 복잡 도가 증가 함 에 따라 집적 된 제3자 구성 요소 가 점점 많아 지고 의존 간 의 관련 도 복잡 해 질 것 이기 때문이다.
좋 은 소식 은 Spring IO Platform 이 이러한 문 제 를 잘 해결 할 수 있다 는 것 입 니 다.우 리 는 제3자 의존 도 를 추가 할 때 버 전 번 호 를 쓰 지 않 아 도 됩 니 다.이 버 전의 의존 도 는 테스트 를 거 쳐 다른 구성 요소 와 완벽 하 게 결합 하여 사용 할 수 있 습 니 다.
Spring IO 플랫폼 에서 어떤 의존 도 를 유지 하고 있 습 니까?
http://docs.spring.io/platform/docs/current/reference/html/appendix-dependency-versions.html
Spring IO 플랫폼 을 어떻게 사용 합 니까?
	<properties>
		<java.version>1.8java.version>
		<project.build.sourceEncoding>UTF-8project.build.sourceEncoding>
		<platform-bom.version>Cairo-SR4platform-bom.version>
		<spring-boot.version>2.0.5.RELEASEspring-boot.version>
		<spring-cloud.version>Finchley.SR1spring-cloud.version>
	properties>
			
			<dependency>
				<groupId>io.spring.platformgroupId>
				<artifactId>platform-bomartifactId>
				<version>${platform-bom.version}version>
				<type>pomtype>
				<scope>importscope>
			dependency>

Spring IO Platform 프로젝트 가 종료 되 었 습 니 다.
End of Life The Platform will reach the end of its supported life on 9 April 2019. Maintenence releases of both the Brussels and Cairo lines will continue to be published up until that time. Users of the Platform are encourage to start using Spring Boot’s dependency management directory, either by using spring-boot-starter-parent as their Maven project’s parent, or by importing the spring-boot-dependencies bom.
spring-io 프로젝트 는 원래 jar 버 전의 의존 을 관리 하 는 데 사용 되 었 으 나,이 제 는 spring-boot-starter-parent 만 도입 하면 같은 효 과 를 얻 을 수 있 습 니 다.
또는 부모 프로젝트 에 상기 의존 도 를 도입 합 니 다.
    <dependencyManagement>
        <dependencies>
            
            <dependency>
                <groupId>org.springframework.bootgroupId>
                <artifactId>spring-boot-dependenciesartifactId>
                <version>${spring.boot.version}version>
                <type>pomtype>
                <scope>importscope>
            dependency>
            
            <dependency>
                <groupId>org.springframework.cloudgroupId>
                <artifactId>spring-cloud-dependenciesartifactId>
                <version>${spring.cloud.version}version>
                <type>pomtype>
                <scope>importscope>
            dependency>
        dependencies>
    dependencyManagement>

좋은 웹페이지 즐겨찾기