Here is the output -- I added a System.out.println call to print the
dialect value in MigrateMojo and it looks like it is not being set (I
tried this for the driver and url as well in a previous run, and they
were both null as well). I'm pretty new to Maven, so it could be a
config issue on my side. I did find an error in the docs for the
Bering Maven plugin -- the nested dependency should be wrapped in a
'dependencies' element in the plugin element.
I will be happy to contribute a MySQL dialect if I can get it working.
[DEBUG] Building Maven user-level plugin registry from: '/Users/
jgoldstrom/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: '/usr/local/
apache-maven-2.0.8/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] SegMgtSystem
[INFO] SegMgtSystem-ejb
[INFO] SegMgtSystem-war
[INFO] SegMgtSystem-ear
[INFO] Searching repository for plugin with prefix: 'bering'.
[DEBUG] Loading plugin prefixes from group:
edu.northwestern.bioinformatics
[DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
[DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
[DEBUG] bering-maven-plugin: resolved to version 0.7-SNAPSHOTJMG from
local repository
[DEBUG] Retrieving parent-POM: edu.northwestern.bioinformatics:bering-
all::0.7-SNAPSHOTJMG for project: null:bering-maven-plugin:maven-
plugin:null from the repository.
[INFO]
------------------------------------------------------------------------
[INFO] Building SegMgtSystem
[INFO] task-segment: [bering:migrate]
[INFO]
------------------------------------------------------------------------
[DEBUG] edu.northwestern.bioinformatics:bering-maven-plugin:maven-
plugin:0.7-SNAPSHOTJMG:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for
project: null:plexus-utils:jar:1.1 from the repository.
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected
for runtime)
[DEBUG] edu.northwestern.bioinformatics:bering:jar:0.7-
SNAPSHOTJMG:runtime (selected for runtime)
[DEBUG] commons-logging:commons-logging:jar:1.1:runtime (selected
for runtime)
[DEBUG] log4j:log4j:jar:1.2.12:runtime (selected for runtime)
[DEBUG] logkit:logkit:jar:1.0.1:runtime (selected for runtime)
[DEBUG] avalon-framework:avalon-framework:jar:4.1.3:runtime
(selected for runtime)
[DEBUG] javax.servlet:servlet-api:jar:2.3:runtime (selected for
runtime)
[DEBUG] commons-lang:commons-lang:jar:2.1:runtime (selected for
runtime)
[DEBUG] commons-io:commons-io:jar:1.3.1:runtime (selected for
runtime)
[DEBUG] org.springframework:spring:jar:2.0.3:runtime (selected for
runtime)
[DEBUG] groovy:groovy:jar:1.0-jsr-06:runtime (selected for
runtime)
[DEBUG] antlr:antlr:jar:2.7.5:runtime (selected for runtime)
[DEBUG] asm:asm:jar:2.2:runtime (selected for runtime)
[DEBUG] org.hibernate:hibernate:jar:3.2.1.ga:runtime (selected for
runtime)
[DEBUG] net.sf.ehcache:ehcache:jar:1.2.3:runtime (selected for
runtime)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[DEBUG] commons-collections:commons-collections:jar:
2.1:runtime (selected for runtime)
[DEBUG] javax.transaction:jta:jar:1.0.1B:runtime (selected for
runtime)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[DEBUG] dom4j:dom4j:jar:1.6.1:runtime (selected for runtime)
[DEBUG] antlr:antlr:jar:2.7.6:runtime (removed - nearer found:
2.7.5)
[DEBUG] commons-collections:commons-collections:jar:2.1:runtime
(removed - nearer found: 2.1.1)
[DEBUG] commons-collections:commons-collections:jar:
2.1.1:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.5 for
project: null:maven-plugin-api:jar:2.0.5 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for
project: null:maven:pom:2.0.5 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.maven:maven-parent:pom:5 from the repository.
[DEBUG] Adding managed dependencies for unknown:maven-plugin-api
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
[DEBUG] org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2
[DEBUG] easymock:easymock:jar:1.2_Java1.3:test
[DEBUG] classworlds:classworlds:jar:1.1
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.5:runtime
(selected for runtime)
[DEBUG] hsqldb:hsqldb:jar:1.8.0.7:runtime (selected for runtime)
[DEBUG] org.springframework:spring-beans:jar:2.0.3:runtime (selected
for runtime)
[DEBUG] org.springframework:spring-core:jar:2.0.3:runtime
(selected for runtime)
[DEBUG] commons-io:commons-io:jar:1.3.1:runtime (selected for
runtime)
[DEBUG] Configuring mojo 'edu.northwestern.bioinformatics:bering-maven-
plugin:0.7-SNAPSHOTJMG:migrate' -->
[DEBUG] (s) basedir = /Users/jgoldstrom/Documents/Work/
SmallEnergyGroup/workspace/managementsystem
[DEBUG] (s) migrationsDir = /Users/jgoldstrom/Documents/Work/
SmallEnergyGroup/workspace/managementsystem/src/main/db/migrate
[DEBUG] (s) project = MavenProject: com.seg:SegMgtSystem:1.5-
SNAPSHOT @ /Users/jgoldstrom/Documents/Work/SmallEnergyGroup/workspace/
managementsystem/pom.xml
[DEBUG] -- end configuration --
[INFO] [bering:migrate]
Dialect: null