于 2010-12-9 9:13, Matt Raible 写道:
What version of Maven are you using? What version of AppFuse. I need to know 
what you're doing so I can try and reproduce.

On Dec 8, 2010, at 5:16 PM, dan wrote:

I meet a problem that when i use mvn site to generate the report,the log
in console below

[INFO] [dbunit:operation {execution: test}]
[INFO] Preparing surefire-report:report-only
[INFO] No goals needed for project - skipping
[INFO] [site:site {execution: default-site}]
[ERROR] No URL set in Issue Management. No JIRA Report will be generated.
[ERROR] No URL set in Issue Management. No Trac Report will be generated.
[INFO] Skipped "Test JavaDocs" report, file "testapidocs/index.html"
already exi
sts for the English version.
[INFO] Skipped "JavaDocs" report, file "apidocs/index.html" already
exists for t
he English version.
[INFO] Skipped "Surefire Report" report, file "surefire-report.html"
already exi
sts for the English version.
[INFO] Generating "Issue Tracking" report.
[INFO] Generating "Project Team" report.
[INFO] Generating "Surefire Report" report.
[INFO] Generating "Dependencies" report.

then, it will elapse about 10 min,i don't know what's the maven doing
the final result is Build Success

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

when i execute "mvn site" in 2.1.0-M2

[INFO] [hibernate3:hbm2ddl {execution: default}]
[INFO] Configuration XML file loaded: file:/D:/workspace/Bals/src/main/resources
/hibernate.cfg.xml
[INFO] Configuration XML file loaded: file:/D:/workspace/Bals/src/main/resources
/hibernate.cfg.xml
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------ [INFO] Unable to load class declared as <mapping class="org.bals.model.User"/> i
n the configuration:
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.hibernate.MappingException: Unable to load class declared as <mapping class=
"org.bals.model.User"/> in the configuration:
at org.hibernate.cfg.AnnotationConfiguration.parseMappingElement(Annotat
ionConfiguration.java:602)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.jav
a:1555)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1534)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1508)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1443)


but when i execute "mvn hibernate3:hbm2ddl"
[INFO] [hibernate3:hbm2ddl {execution: default-cli}]
....
finally,it is successful.
so my question is what's the difference between [default] and [default-cli] during the hibernate3:hbm2ddl


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to