I figured out the snapshot repository but still ran into problems below...with 
"annotationconfiguration"




[INFO] Building xyz-sysinit
[INFO]    task-segment: [hibernate3:hbm2ddl]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing hibernate3:hbm2ddl
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] Attempting to build MavenProject instance for Artifact 
(org.codehaus.mojo:hibernate3-maven-plugin:2.2-20080523
..180803-2) of type: maven-plugin; constructing POM artifact instead.
[INFO] [hibernate3:hbm2ddl]
[INFO] No hibernate configuration file loaded.
14:39:17,290  INFO org.hibernate.cfg.annotations.Version - Hibernate 
Annotations 3.3.0.GA
14:39:17,306  INFO org.hibernate.cfg.Environment - Hibernate 3.2.5
14:39:17,306  INFO org.hibernate.cfg.Environment - hibernate.properties not 
found
14:39:17,306  INFO org.hibernate.cfg.Environment - Bytecode provider name : 
cglib
14:39:17,321  INFO org.hibernate.cfg.Environment - using JDK 1.4 
java.sql.Timestamp handling
[FATAL ERROR] 
org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo#execute() caused a 
linkage error (java.lang.NoCl
assDefFoundError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = 
app0.child-container[org.codehaus.mojo:hibernate3-maven-plugin]
urls[0] = file:/C:/Documents and 
Settings/userx/.m2/repository/org/codehaus/mojo/hibernate3-maven-plugin/2.2-SNAPSHOT/h
ibernate3-maven-plugin-2.2-SNAPSHOT.jar
urls[1] = file:/C:/Documents and 
Settings/userx/.m2/repository/mysql/mysql-connector-java/5.1.6/mysql-connector-java-5.
1.6.jar
urls[2] = file:/C:/Documents and 
Settings/userx/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar
urls[3] = file:/C:/Documents and 
Settings/userx/.m2/repository/org/codehaus/mojo/hibernate3/maven-hibernate3-api/2.2-SN
APSHOT/maven-hibernate3-api-2.2-SNAPSHOT.jar
urls[4] = file:/C:/Documents and 

[...snipped...]

[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/C:/Program 
Files/apache-maven-2.0.9/bin/../lib/maven-2.0.9-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: 
EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
        at org.jboss.util.file.ArchiveBrowser.<clinit>(ArchiveBrowser.java:52)
        at 
org.codehaus.mojo.hibernate3.configuration.AnnotationComponentConfiguration.scanForClasses(AnnotationComponen
tConfiguration.java:105)
        at 
org.codehaus.mojo.hibernate3.configuration.AnnotationComponentConfiguration.createConfiguration(AnnotationCom
ponentConfiguration.java:54)
        at 
org.codehaus.mojo.hibernate3.configuration.AbstractComponentConfiguration.getConfiguration(AbstractComponentC
onfiguration.java:51)
        at 
org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:87)
        at 
org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:149)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:330)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)



--- On Fri, 10/10/08, Coder One <[EMAIL PROTECTED]> wrote:

> From: Coder One <[EMAIL PROTECTED]>
> Subject: RE: [mojo-user] hibernate3-maven-plugin & Jar Scanning
> To: [email protected]
> Date: Friday, October 10, 2008, 2:34 PM
> Newbiew question:  Plugging in 2.2-SNAPSHOT does not work as
> now maven cannot find that version.  Which repository do I
> need?
> 
> Thanks,
> 
> 
> 
> --- On Fri, 10/10/08, Johann Reyes
> <[EMAIL PROTECTED]> wrote:
> 
> > From: Johann Reyes <[EMAIL PROTECTED]>
> > Subject: RE: [mojo-user] hibernate3-maven-plugin &
> Jar Scanning
> > To: [email protected]
> > Date: Friday, October 10, 2008, 9:37 AM
> > Hello Coder One
> > 
> > I would try 2.2-SNAPSHOT and putting back the
> > annotationconfiguration
> > setting. At the moment I don't know a way to allow
> > multiple persistence
> > units work, if you know a way to do it in the ant
> version
> > of the plugin,
> > then I would be able to make it work for the maven
> too.
> > 
> > Regards
> > 
> > Johann Reyes
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > 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


      


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to