Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9230265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:46:56+00:00 2026-06-18T05:46:56+00:00

I have a java ee project with a existing db-schema. Now I want to

  • 0

I have a java ee project with a existing db-schema. Now I want to use liquibase for the db.

So I generated a changelog from my existing schema at the command line. Run that changelog against the existing database with mvn liquibase:changeLogSync and now I can work with liquibase without problems.

My question is: can I use the changeLogSync command within the project without executing it manuell? F.e. like I use new files with changesets:

<include file="changelogs/db.changelog1.xml"/>

Is there a similar way for changeLogSync, like this one in Ant:

<changeLogSync
        changeLogFile="${db.changelog.file}"
        driver="${database.driver}"
        url="${database.url}"
        username="${database.username}"
        password="${database.password}"
        classpathref="classpath"
        >
</changeLogSync>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T05:46:57+00:00Added an answer on June 18, 2026 at 5:46 am

    Sure. Here’s ours:

    <plugin>
      <groupId>org.liquibase</groupId>
      <artifactId>liquibase-maven-plugin</artifactId>
      <version>2.0.5</version>
      <dependencies>
         <dependency>
            <groupId>com.oracle</groupId>
            <artifactId>ojdbc6</artifactId>
            <version>${ojdbc.version}</version>
         </dependency>
      </dependencies>
      <configuration>
         <changeLogFile>${db.changelog.file}</changeLogFile>
         <driver>${database.driver}</driver>
         <url>${database.url}</url>
         <username>${database.username}</username>
         <password>${database.password}</password>
      </configuration>
      <executions>
         <execution>
            <phase>process-resources</phase>
            <goals>
               <goal>changeLogSync</goal>
            </goals>
         </execution>
      </executions>
    </plugin>
    

    Adjust of course for your own DB flavor and build phase preferences.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently upgraded an existing java project from java 1.4 to 1.6 and
I have an existing java command-line program, that takes a bazillion of arguments and
I have a Java project and I want to include a text file with
I have a java project. The working folder from someone else's Eclipse project (It
I've been working on adapting code from an existing java project into the android
We have an existing java-based heavyweight project that needed an interactive script interpreter. After
I am updating an existing project from GWT 1.5.2 to GWT 2.0.0. We use
I have an existing Java project in Netbeans that uses Swing and I would
The following line of Dart code shows true for existing files when run from
I have an Eclipse plugin that automatically loads existing Eclipse Java project to workspace,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.