Hibernate liquibase diffchangelog not working

Team,


I would like to know if my understanding correct regarding hibernate liquibase mapping 


Initial state

Target database : test (with zero tables)

Reference database : Hibernate (All mapping file exists)


Following action performed

  1.  To generate initial change set log

java -jar liquibase.jar   diffChangeLog  --referenceUrl=hibernate:hibernate.cfg.xml


output => test.xml


  1. Update the database so that hibernate and target datasource in sync

java -jar liquibase.jar   update  


Now whenever I add or remove field from hibernate mapping file for example contact.hbm.xml   I removed following field


and when I again run diffChangeLog using following command


java -jar liquibase.jar   diffChangeLog  --referenceUrl=hibernate:hibernate.cfg.xml


My Expectation 


Following change set will get appended to the test.xml  


Actual Result


No change happening in test.xml



Mayank


#liquibase.properties-

driver:com.mysql.jdbc.Driver 

url: jdbc:mysql://localhost:3306/test

#url:hibernate:hibernate.cfg.xml 

username:root

password:


changeLogFile:test.xml

classpath:lib/mysql-connector-java-5.1.23-bin.jar:/home/mayank/dev/ads/services/impl/src/main/resources/hibernate/:lib/hibernate-annotations-3.5.1-Final.jar:lib/hibernate-core-3.5.1-Final.jar:lib/hibernate-commons-annotations-3.2.0.Final.jar:lib/hibernate-jpa-2.0-api-1.0.0.Final.jar:lib/dom4j-1.6.1.jar:lib/liquibase-hibernate-2.0.0.jar:lib/h2-1.2.137.jar:lib/slf4j-api-1.6.0.jar



Mayank

Correction in my question 


Expectation should be