Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Not identical behaviour of mv:liquibase:diff and exceuting diff via maven profile

$
0
0
Hi, 

when I execute command line "mvn liquibase:diff", in order to compare my JPA entity model and existing database, a get appropriate diffChangeLog.xml (with two FKs added). But, when I add custom maven "db-diff" profile in which I execute "diff" goal, I get completely different diffChangeLog  - it contains only drop tables statements of my existing database. 
Am I missing something?

Best Regards
Armin

P.S. pom is attached.

liquibase.properties:
      changeLogFile=db/changelog/db.changelog-master.xml
url=jdbc:sqlserver://10.81.1.200:1433;databaseName=psd2
username=sa
password=something
driver=com.microsoft.sqlserver.jdbc.SQLServerDriveroutputChangeLogFile=src/main/resources/liquibase-outputChangeLog.xml
referenceUrl=hibernate:spring:si.nlb.dbp.psd2.domain?dialect=org.hibernate.dialect.SQLServer2012Dialect
diffChangeLogFile=liquibase-diff-changeLog.xml



Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>