hibernate3-maven-plugin stuck in 3.0-SNAPSHOT

View: New views
2 Messages — Rating Filter:   Alert me  

hibernate3-maven-plugin stuck in 3.0-SNAPSHOT

by Ryan Stewart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to add the hibernate3-maven-plugin to a new project, but even though I've declared <version>2.2</version>, it keeps downloading and using 3.0-SNAPSHOT and giving me the following error. I don't know what it means, and I don't know why it insists on using 3.0-SNAPSHOT:

[INFO] One or more required plugin parameters are invalid/missing for 'hibernate3:hbm2ddl'

[0] Inside the definition for plugin 'hibernate3-maven-plugin' specify the following:

<configuration>
  ...
  <hibernatetool>VALUE</hibernatetool>
</configuration>

-OR-

on the command line, specify: '-Dhibernatetool=VALUE'

Re: hibernate3-maven-plugin stuck in 3.0-SNAPSHOT

by Ryan Stewart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ryan Stewart wrote:
I'm trying to add the hibernate3-maven-plugin to a new project, but even though I've declared <version>2.2</version>, it keeps downloading and using 3.0-SNAPSHOT
My mistake--I had the plugin defined in a profiles/build instead of in build, and that profile wasn't active. Sorry for the noise.