On 4/17/07, Derek Broughton <[EMAIL PROTECTED]> wrote:
I'm new to all of appfuse, maven and eclipse. Matt, you rock!

It's not me - it's the community. This project wouldn't exist without
the users and all the other developers.


Google hasn't been able to help me.

I'm using Appfuse 2.0-m4, Maven 2.0.5 and Eclipse 3.2.1, on Linux (Ubuntu
06.10)

When I run:
 mvn hibernate3:hbm2ddl
from a terminal, my project compiles and generates the DDL.

When I do it from inside eclipse, I get the following error (Full logs are
in http://io.acad.athabascau.ca/~derek/mvn_terminal.txt and
http://io.acad.athabascau.ca/~derek/mvn_eclipse.txt for the working and
failing logs, respectively).

That's a new error.  You might want to try a couple things:

1. Posting a question to the Mojo Users mailing list. You should be
able to use the same message - your error messages really help to
understand the problem. The problem could be the m2 plugin too (I'm
assuming that's how you're running it from Eclipse)? I'd use Nabble to
post your message. http://www.nabble.com/codehaus---mojo-f11979.html

2. Try Candy for AppFuse: http://candy4appfuse.sf.net. This is an
Eclipse Plugin that has explicitly supports AppFuse and bundles the
latest version of the Eclipse plugin.

Hope this helps,

Matt



[DEBUG] Configuring
mojo 'org.codehaus.mojo:hibernate3-maven-plugin:2.0-alpha-1:hbm2ddl' -->
[DEBUG]   (f) componentProperties = {drop=true, jdk5=true,
propertyfile=target/classes/jdbc.properties, skip=null}
[ERROR] project-execute : ca.pointerstop.Comp495:Comp495:war:1.0-SNAPSHOT (
task-segment: [hibernate3:hbm2ddl] )
Diagnosis: Error configuring: org.codehaus.mojo:hibernate3-maven-plugin.
Reason: Unable to parse the created DOM for plugin configuration
FATAL ERROR: Error executing Maven for a project
[ERROR] reactor-execute : /home/derek/Comp495
Diagnosis: Error configuring: org.codehaus.mojo:hibernate3-maven-plugin.
Reason: Unable to parse the created DOM for plugin configuration
FATAL ERROR: Error executing Maven for a project
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to configure plugin parameters for:
org.codehaus.mojo:hibernate3-maven-plugin:2.0-alpha-1


The terminal version begins with:

[DEBUG] Building Maven user-level plugin registry
from: '/home/derek/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry
from: '/usr/local/maven-2.0.5/conf/plugin-registry.xml'

and the eclipse version has two identical lines:
[DEBUG] Building Maven user-level plugin registry
from: '/home/derek/.m2/plugin-registry.xml'

Since there was no .m2/plugin-registry.xml, I tried linking it directly to
the /usr/local version, but that didn't make a difference.
--
derek

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to