2017-10-31 3 views

Antwort

0

Ich benutze IntelliJ und die Einstellungen werden in Maven definiert Profile

enter image description here

In pom.xml

... 
    <profiles> 
    <profile> 
     <id>no-liquibase</id> 
     <properties> 
      <profile.no-liquibase>,no-liquibase</profile.no-liquibase> 
     </properties> 
    </profile> 
    ... 

Frühling Profil Beispiel https://www.mkyong.com/spring/spring-profiles-example/

Maven Profil Beispiel https://www.mkyong.com/maven/how-to-create-user-defined-properties-in-maven/

Wenn ich sie in meiner IDE auswählte und das Projekt neu erstellte, wurde es für mich gelöst.

mvn clean install 
Verwandte Themen