Hi Anders, Thanks for your reply.
1) Originally, there was no dependency on the plugin just on the driver. I added it because I had found some examples on the web suggesting maybe it should be there. Indeed, then the plugin showed up as part of the class realm plugin (see * below): [DEBUG] Created new class realm plugin>org.liquibase:liquibase-maven-plugin:2.0.3 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>org.liquibase:liquibase-maven-plugin:2.0.3 [DEBUG] Included: org.liquibase:liquibase-maven-plugin:jar:2.0.3 *[DEBUG] Included: postgresql:postgresql:jar:9.0-801.jdbc4 2) Yes it is a real dependency. 3) I haven't tried that yet, but will try it and report back. 4) I've already posted to liquibase forums, but posted here because I wasn't getting an answer right away, there is more traffic here, and it seemed a generic enough Maven issue (maybe it isn't) John Kramer email: [email protected] mobile: 314.435.2370 skype: kramer.mojiva 0xCAFEBABE00000032 On 7/25/12 4:37 PM, "Anders Hammar" <[email protected]> wrote: >Based on the information on [1], you shouldn't declare a dependency to >the driver on the plugin itself, but just on the project. Try removing >that. > >Also, not seeing the complete POM, is the projects dependency to the >driver really a declared dependency? Or is it just in >dependencyManagement? > >I would also upgrade to the latest version of the plugin just to >ensure it's not a bug in 2.0.3. (The latest seems to be v2.0.5). Just >for the heck of it if it still doesn't work I would try some other >versions as well. > >Lastly, I would try the Liquibase's forum. If it's something specific >to this plugin they would know. > >/Anders > >[1] http://www.liquibase.org/manual/maven > >On Wed, Jul 25, 2012 at 9:31 PM, John Kramer <[email protected]> wrote: >> 3.0.3 >> >> John Kramer >> email: [email protected] >> mobile: 314.435.2370 >> skype: kramer.mojiva >> 0xCAFEBABE00000032 >> >> >> >> >> >> >> >> On 7/25/12 3:28 PM, "Wayne Fay" <[email protected]> wrote: >> >>>> If I manually inspect the specified postgres jar, it does contain the >>>>class >>>> org.postgresql.Driver. >>>> >>>> And if I run maven with debugging output turned on, it looks like the >>>> plugin's classpath contains that jar: >>> >>>Is this Maven 2.x or 3.0.4 or something else? >>> >>>Wayne >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: [email protected] >>>For additional commands, e-mail: [email protected] >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
