I must've had the wrong SVN URL - the 2nd one below works fine. I did have to use maven.test.skip=true to get it to build.
Thanks, Matt On 12/3/06, Johann Reyes <[EMAIL PROTECTED]> wrote:
Hello Matt One question, did you check out https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/maven-hibernate3/hiber nate3-maven-plugin ??? Because the correct folder to check out would be https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/maven-hibernate3 That's because you also need to build the plugin components, and that would explain why you are getting those compilation errors. Regards Johann Reyes -----Original Message----- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Saturday, December 02, 2006 10:58 AM To: [email protected] Subject: Re: [mojo-dev] [hibernate3-maven-plugin] Testers needed I'm on OS X and I tried JDK 5 as well as JDK 1.4. Still no dice. mraible$ svn up At revision 2710. It's weird that it works on your machine and not mine. Can anyone else build this? I tried it on Linux (Suse 10) and get the same error. Matt On 12/2/06, Johann Reyes <[EMAIL PROTECTED]> wrote: > Hello Matt > > Hmm, I tried installing again the plugin from SVN,but I don't get an error. > Can you please try the following command: > > mvn clean install > > Regards > > Johann Reyes > > -----Original Message----- > From: Matt Raible [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 02, 2006 2:10 AM > To: [email protected] > Subject: Re: [mojo-dev] [hibernate3-maven-plugin] Testers needed > > The code in SVN seems to be broken. > > [INFO] [compiler:compile] > Compiling 8 source files to > /Users/mraible/Work/hibernate3-maven-plugin/target/classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/HibernateExporterMojo.java:[23,50] > cannot find symbol > symbol : class ConfigurationTask > location: package org.codehaus.mojo.hibernate3.configuration > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/HibernateExporterMojo.java:[150,14] > cannot find symbol > symbol : class ConfigurationTask > location: class org.codehaus.mojo.hibernate3.HibernateExporterMojo > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/HibernateExporterMojo.java:[210,19] > getGoal() in org.codehaus.mojo.hibernate3.HibernateExporterMojo cannot > implement getGoal() in org.codehaus.mojo.hibernate3.ExporterMojo; > attempting to assign weaker access privileges; was public > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/HibernateExporterMojo.java:[133,22] > cannot find symbol > symbol : method getName() > location: class org.codehaus.mojo.hibernate3.HibernateExporterMojo > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/HibernateExporterMojo.java:[143,8] > cannot find symbol > symbol : class ConfigurationTask > location: class org.codehaus.mojo.hibernate3.HibernateExporterMojo > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/HibernateExporterMojo.java:[155,12] > cannot find symbol > symbol : class ConfigurationTask > location: class org.codehaus.mojo.hibernate3.HibernateExporterMojo > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/HibernateExporterMojo.java:[155,51] > cannot find symbol > symbol : class ConfigurationTask > location: class org.codehaus.mojo.hibernate3.HibernateExporterMojo > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/HibernateExporterMojo.java:[212,66] > cannot find symbol > symbol : method getJavaVersion() > location: class org.codehaus.mojo.hibernate3.HibernateUtils > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/HibernateExporterMojo.java:[218,21] > cannot find symbol > symbol : method getName() > location: class org.codehaus.mojo.hibernate3.HibernateExporterMojo > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/exporter/GenericExporterMojo.java:[14,7] > org.codehaus.mojo.hibernate3.exporter.GenericExporterMojo is not > abstract and does not override abstract method getGoal() in > org.codehaus.mojo.hibernate3.ExporterMojo > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/exporter/Hbm2HbmXmlExporterMojo.java:[31,7] > org.codehaus.mojo.hibernate3.exporter.Hbm2HbmXmlExporterMojo is not > abstract and does not override abstract method getGoal() in > org.codehaus.mojo.hibernate3.ExporterMojo > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/exporter/Hbm2DocExporterMojo.java:[30,7] > org.codehaus.mojo.hibernate3.exporter.Hbm2DocExporterMojo is not > abstract and does not override abstract method getGoal() in > org.codehaus.mojo.hibernate3.ExporterMojo > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/exporter/Hbm2CfgXmlExporterMojo.java:[32,7] > org.codehaus.mojo.hibernate3.exporter.Hbm2CfgXmlExporterMojo is not > abstract and does not override abstract method getGoal() in > org.codehaus.mojo.hibernate3.ExporterMojo > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/exporter/Hbm2DDLExporterMojo.java:[38,7] > org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo is not > abstract and does not override abstract method getGoal() in > org.codehaus.mojo.hibernate3.ExporterMojo > > /Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/ > hibernate3/exporter/Hbm2JavaGeneratorMojo.java:[35,7] > org.codehaus.mojo.hibernate3.exporter.Hbm2JavaGeneratorMojo is not > abstract and does not override abstract method getGoal() in > org.codehaus.mojo.hibernate3.ExporterMojo > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 11 seconds > [INFO] Finished at: Sat Dec 02 00:08:46 MST 2006 > [INFO] Final Memory: 11M/508M > [INFO] > ------------------------------------------------------------------------ > alotta:~/dev/hibernate3-maven-plugin mraible$ > > Matt > > On 11/20/06, Johann Reyes <[EMAIL PROTECTED]> wrote: > > Hello Matt > > > > Yes, you should check out from svn and build the plugin from there. > > > > Regards > > > > Johann Reyes > > > > -----Original Message----- > > From: Matt Raible [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 20, 2006 12:01 PM > > To: [email protected] > > Subject: Re: [mojo-dev] [hibernate3-maven-plugin] Testers needed > > > > I'd be happy to test - should I just check it out from SVN to do so? > > > > Matt > > > > On 11/20/06, Johann Reyes <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > Hello everyone > > > > > > > > > > > > Basically almost finished with the new revision for the > > > hibernate3-maven-plugin. But before deploying a new snapshot, I would > like > > > to see if some users would volunteer to test out the new plugin, as it > has > > > changed how it gets configured, as you'll see next and understand why. > > > > > > > > > > > > - There is no more <outputDirectory><goal> this has changed > more > > to > > > <goals/>. Through goals you can specify the following: > > > > > > > > > > > > <goals> > > > > > > <goal> > > > > > > <name>hbm2dll</name> <!-Goal name (required) > > > > > > <outputDirectory>somewhere</outputDirectory> <!-Goal > > > output directory (optional) > > > > > > <implementation>configuration</implementation> <!-Goal > > > configuration implementation (configuration, annotationconfiguration, > > > jpaconfiguration, jdbcconfiguration) > > > > > > </goal> > > > > > > </goals> > > > > > > > > > > > > - There is no more <hibernate/> element. This has been changed > to > > > <configurationTaskProperties/>. This element is used to pass > configuration > > > variables to the different configuration implementations like > > > configurationfile, namingstrategy, etc. A reference can be found here: > > > http://www.hibernate.org/hib_docs/tools/reference/en/html_single/#d0e756 > > > > > > > > > > > > <configurationTaskProperties> > > > > > > > > > > > > <configurationfile>src/test/resources/hbm2doc/hibernate.cfg.xml</configurati > > onfile> > > > > > > </configurationTaskProperties> > > > > > > > > > > > > At this moment those would be the changes for the plugins. At this > moment > > > I'm writing some tests for the plugin, but so far so good. A requirement > > for > > > the testers would be that they would need to build the plugin from svn. > > > > > > > > > > > > Regards > > > > > > > > > > > > Johann Reyes > > > > > > > > > > > > -- > > http://raibledesigns.com > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
