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

Re : Liquibase maven plugin with JDK11 failing

$
0
0
Thanks. I also answered and post the answer here as well, to avoid other people to make the same mistake as me .

I was adding the dependencies in the wrong place. I was adding them as 'regular' dependencies in the pom. I didn't know that I had to add them in the plugin as follows:

       <plugin>
          <groupId>org.liquibase</groupId>
          <artifactId>liquibase-maven-plugin</artifactId>
          <version>${liquibase.version}</version>
          <configuration>
             <changeLogFile>resources\changelog2.yml</changeLogFile>
             <driver>oracle.jdbc.OracleDriver</driver>
             <url>url</url>
             <username>user</username>
             <password>password</password>
             <verbose>true</verbose>
          </configuration>
           <dependencies>
            <dependency>
                <groupId>jakarta.xml.bind</groupId>
                <artifactId>jakarta.xml.bind-api</artifactId>
                <version>2.3.2</version>
            </dependency>
          </dependencies>
       </plugin>        

Viewing all articles
Browse latest Browse all 1169

Trending Articles



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