title: How to create script using Liquibase without providing the db details like url, user-name, password and driver?
body: <p>I created the <code>ddl</code> scripts using <code>liquibase</code> by providing the input <code>data base change log</code>.</p>
  
  <p>The code looks like this</p>
  
  <pre><code>    private void toSQL(DatabaseChangeLog d)
          throws DatabaseException, LiquibaseException, UnsupportedEncodingException, IOException {
  
      FileSystemResourceAccessor fsOpener = new FileSystemResourceAccessor();
      CommandLineResourceAccessor clOpener = new CommandLineResourceAccessor(this.getClass().getClassLoader());
      CompositeResourceAccessor fileOpener = new CompositeResourceAccessor(new ResourceAccessor[] { fsOpener, clOpener });
  
      Database database = CommandLineUtils.createDatabaseObject(fileOpener, this.url, this.username, this.password, this.driver, 
              this.defaultCatalogName, this.defaultSchemaName, Boolean.parseBoolean(this.outputDefaultCatalog),
              Boolean.parseBoolean(this.outputDefaultSchema), this.databaseClass, 
              this.driverPropertiesFile, this.propertyProviderClass, this.liquibaseCatalogName, 
              this.liquibaseSchemaName, this.databaseChangeLogTableName, this.databaseChangeLogLockTableName);
  
  
      Liquibase liquibase=new Liquibase(d, null, database);
  
      liquibase.update(new Contexts(this.contexts), new LabelExpression(this.labels), getOutputWriter());
  }
  </code></pre>
  
  <p>and my <code>liquibase.properties</code> goes like this</p>
  
  <pre><code>url=jdbc\:sqlserver\://server\:1433;databaseName\=test
  username=test
  password=test@123
  driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
  referenceUrl=hibernate:spring:br.com.company.vacation.domain?dialect=org.hibernate.dialect.SQLServer2008Dialect
  </code></pre>
  
  <p>As you can see, Liquibase is expecting a lot of <code>db</code> parameters such as <code>url</code>,<code>username</code>,<code>password</code>,<code>driver</code>, which I will not be able to provide.</p>
  
  <p>How can I achieve this without providing any of the parameters. Is it possible?</p>