1
IntelliJ에서 pom.xml의 설정이 빨간색입니까?왜 profile.no-liquibase 및 profile.no-swagger에 대해 IntelliJ pom.xml이 빨간색입니까?
는 는내가 그것을 어떻게
을 를 해결할 수?
IntelliJ에서 pom.xml의 설정이 빨간색입니까?왜 profile.no-liquibase 및 profile.no-swagger에 대해 IntelliJ pom.xml이 빨간색입니까?
는 는내가 그것을 어떻게
을 를 해결할 수?
I이 인 IntelliJ을 사용하여 설정을 받는다는에 정의는 pom.xml 파일
프로필
...
<profiles>
<profile>
<id>no-liquibase</id>
<properties>
<profile.no-liquibase>,no-liquibase</profile.no-liquibase>
</properties>
</profile>
...
스프링 프로파일 예 https://www.mkyong.com/spring/spring-profiles-example/
메이븐 프로파일 예 https://www.mkyong.com/maven/how-to-create-user-defined-properties-in-maven/
IDE에서 프로젝트를 선택하고 프로젝트를 재구성하면 해결되었습니다.
mvn clean install
빨간색 설정은 어디에 정의되어 있습니까? – vikingsteve
미안 나는 바보 같은 질문을했다. 이제 속성에 정의됩니다 :-) – powder366
속성은 무엇입니까? 시스템 속성? 정의 방법을 보여주십시오. – vikingsteve